Comments (5)
Sorry for the delay in getting back with you. I haven't forgotten you. I just released version 4 which focuses on some changes in login. Please try it. If it still doesn't work, let's take a look at the new log.
from libation.
Thanks for getting back to me and thanks for the new release. Unfortunately it still wont let me get past the capcha.
2020-08-31 21:04:53.641 -07:00 [INF] (at LibationLauncher.Program.logStartupState()) Begin Libation. {"Version":"4.0.0.5","LibationFiles":"C:\Users\Mike\Downloads\LibationFiles_v4.0.0\publish\LibationFiles","BooksDirectory":"C:\Users\Mike\Downloads\LibationFiles_v4.0.0\publish\LibationFiles","DownloadsInProgressEnum":"WinTemp","DownloadsInProgressDir":"C:\Users\Mike\AppData\Local\Temp\Libation\DownloadsInProgress","DownloadsInProgressFiles":1,"DownloadsFinal":"C:\Users\Mike\Downloads\LibationFiles_v4.0.0\publish\LibationFiles\DownloadsFinal","DownloadsFinalFiles":0,"DecryptInProgressEnum":"WinTemp","DecryptInProgressDir":"C:\Users\Mike\AppData\Local\Temp\Libation\DecryptInProgress","DecryptInProgressFiles":0}
2020-08-31 21:04:54.987 -07:00 [INF] (at LibationWinForms.Form1.setBookBackupCounts(System.Collections.Generic.IEnumerable1[[DataLayer.Book, DataLayer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]])) Book counts. {"fullyBackedUp":0,"downloadedOnly":0,"noProgress":0,"pending":0,"statusStripText":"No books. Begin by importing your library","menuItemText":"All books have been liberated"} 2020-08-31 21:04:55.010 -07:00 [INF] (at LibationWinForms.Form1.setPdfBackupCounts(System.Collections.Generic.IEnumerable
1[[DataLayer.Book, DataLayer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]])) PDF counts. {"downloaded":0,"notDownloaded":0,"statusStripText":"","menuItemText":"All PDFs have been downloaded"}
2020-08-31 21:06:10.054 -07:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+d__1.MoveNext()) Redirecting to https://www.amazon.com/ap/challenge?ie=UTF8&arb=a7f19312-38a1-4550-bf14-1ac7543e837c
2020-08-31 21:06:10.655 -07:00 [ERR] (at ApplicationServices.LibraryCommands+d__0.MoveNext()) Error importing library
System.InvalidOperationException: This operation is not supported for a relative URI.
at System.Uri.get_Query()
at AudibleApi.Authentication.ResultFactory.LoginCompleteFactory.getAccessToken(HttpResponseMessage response)
at AudibleApi.Authentication.ResultFactory.LoginCompleteFactory.IsMatchAsync(HttpResponseMessage response)
at AudibleApi.Authentication.LoginResultRunner.makeRequestAsync(IHttpClient client, Locale locale, HttpMethod method, Uri uri, HttpContent content)
at AudibleApi.Authentication.LoginResultRunner.makeRequestAsync(IHttpClient client, Locale locale, HttpMethod method, Uri uri, HttpContent content)
at AudibleApi.Authentication.LoginResultRunner.GetResultsPageAsync(IHttpClient client, ISystemDateTime systemDateTime, Locale locale, Dictionary2 inputs) at AudibleApi.Authentication.CaptchaPage.SubmitAsync(String guess) at AudibleApi.EzApiCreator.loginAsync(Locale locale, ILoginCallback responder) at AudibleApi.EzApiCreator.GetApiAsync(Locale locale, String identityFilePath, String jsonPath, ILoginCallback loginCallback) at ApplicationServices.LibraryCommands.scanAccountsAsync(Func
2 loginCallbackFactoryFunc, Account[] accounts)
at ApplicationServices.LibraryCommands.ImportAccountAsync(Func2 loginCallbackFactoryFunc, Account[] accounts) 2020-08-31 21:06:10.695 -07:00 [ERR] (at LibationWinForms.Dialogs.IndexLibraryDialog+<IndexLibraryDialog_Shown>d__12.MoveNext()) Error importing library. Please try again. If this still happens after 2 or 3 tries, stop and contact administrator System.InvalidOperationException: This operation is not supported for a relative URI. at System.Uri.get_Query() at AudibleApi.Authentication.ResultFactory.LoginCompleteFactory.getAccessToken(HttpResponseMessage response) at AudibleApi.Authentication.ResultFactory.LoginCompleteFactory.IsMatchAsync(HttpResponseMessage response) at AudibleApi.Authentication.LoginResultRunner.makeRequestAsync(IHttpClient client, Locale locale, HttpMethod method, Uri uri, HttpContent content) at AudibleApi.Authentication.LoginResultRunner.makeRequestAsync(IHttpClient client, Locale locale, HttpMethod method, Uri uri, HttpContent content) at AudibleApi.Authentication.LoginResultRunner.GetResultsPageAsync(IHttpClient client, ISystemDateTime systemDateTime, Locale locale, Dictionary
2 inputs)
at AudibleApi.Authentication.CaptchaPage.SubmitAsync(String guess)
at AudibleApi.EzApiCreator.loginAsync(Locale locale, ILoginCallback responder)
at AudibleApi.EzApiCreator.GetApiAsync(Locale locale, String identityFilePath, String jsonPath, ILoginCallback loginCallback)
at ApplicationServices.LibraryCommands.scanAccountsAsync(Func2 loginCallbackFactoryFunc, Account[] accounts) at ApplicationServices.LibraryCommands.ImportAccountAsync(Func
2 loginCallbackFactoryFunc, Account[] accounts)
at LibationWinForms.Dialogs.IndexLibraryDialog.IndexLibraryDialog_Shown(Object sender, EventArgs e)
from libation.
Thanks for the logs. I can't tell what's going wrong but I can spot where it's happening. I made my best guess at a fix and also added some better logs in that area just in case. These are available in v4.0.1. See if this latest release resolves the issue.
https://github.com/rmcrackan/Libation/releases/latest
If it's still giving you trouble, let's take a look at the new logs. Hopefully either the new code or the better logging will be illuminating.
Let me know how it goes
from libation.
So I discovered that if you have your 2 step verification off it resets you to the captcha every time you try to sign in. I didn't know mine was turned off so when when I went to sign in (this version only) I got an odd notification sent to my phone. After I turned my 2 step back on it seemed to log me in but it did not grab by library.
2020-09-01 12:51:56.815 -07:00 [INF] (at LibationLauncher.Program.logStartupState()) Begin Libation. {"Version":"4.0.1.2","LibationFiles":"C:\Users\Mike\Downloads\LibationFiles_v4.0.1\publish\LibationFiles","BooksDirectory":"C:\Users\Mike\Downloads\LibationFiles_v4.0.1\publish\LibationFiles","DownloadsInProgressEnum":"WinTemp","DownloadsInProgressDir":"C:\Users\Mike\AppData\Local\Temp\Libation\DownloadsInProgress","DownloadsInProgressFiles":1,"DownloadsFinal":"C:\Users\Mike\Downloads\LibationFiles_v4.0.1\publish\LibationFiles\DownloadsFinal","DownloadsFinalFiles":0,"DecryptInProgressEnum":"WinTemp","DecryptInProgressDir":"C:\Users\Mike\AppData\Local\Temp\Libation\DecryptInProgress","DecryptInProgressFiles":0}
2020-09-01 12:51:58.203 -07:00 [INF] (at LibationWinForms.Form1.setBookBackupCounts(System.Collections.Generic.IEnumerable1[[DataLayer.Book, DataLayer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]])) Book counts. {"fullyBackedUp":0,"downloadedOnly":0,"noProgress":0,"pending":0,"statusStripText":"No books. Begin by importing your library","menuItemText":"All books have been liberated"} 2020-09-01 12:51:58.224 -07:00 [INF] (at LibationWinForms.Form1.setPdfBackupCounts(System.Collections.Generic.IEnumerable
1[[DataLayer.Book, DataLayer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]])) PDF counts. {"downloaded":0,"notDownloaded":0,"statusStripText":"","menuItemText":"All PDFs have been downloaded"}
2020-09-01 12:54:05.669 -07:00 [INF] (at InternalUtilities.AudibleApiActions.GetApiAsync(AudibleApi.ILoginCallback, InternalUtilities.Account)) GetApiAsync. {"AccountId":"[email protected]","LocaleName":"us"}
2020-09-01 12:54:05.740 -07:00 [INF] (at ApplicationServices.LibraryCommands+d__2.MoveNext()) ImportLibraryAsync. {"AccountName":"[email protected] - us","AccountId":"[email protected]","LocaleName":"us"}
2020-09-01 12:54:24.534 -07:00 [INF] (at AudibleApi.Api+d__37.MoveNext()) Page 1: 1000 results
2020-09-01 12:54:49.503 -07:00 [INF] (at AudibleApi.Api+d__37.MoveNext()) Page 2: 1000 results
2020-09-01 12:55:35.250 -07:00 [ERR] (at ApplicationServices.LibraryCommands+d__0.MoveNext()) Error importing library
System.Net.Http.HttpRequestException: No such host is known.
---> System.Net.Sockets.SocketException (11001): No such host is known.
at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)
at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts) at AudibleApi.Api.AdHocAuthenticatedGetAsync(HttpRequestMessage request, ISealedHttpClient client) at AudibleApi.Api.AdHocAuthenticatedGetAsync(String requestUri, ISealedHttpClient client) at AudibleApi.Api.getLibraryAsync(String parameters) at AudibleApi.Api.GetLibraryAsync(LibraryOptions libraryOptions) at AudibleApi.Api.GetAllLibraryItemsAsync() at InternalUtilities.AudibleApiActions.getItemsAsync(Api api) at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func
3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates1 shouldRetryResultPredicates, Func
5 onRetryAsync, Int32 permittedRetryCount, IEnumerable1 sleepDurationsEnumerable, Func
4 sleepDurationProvider, Boolean continueOnCapturedContext)
at Polly.AsyncPolicy.ExecuteAsync[TResult](Func3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext) at ApplicationServices.LibraryCommands.scanAccountAsync(Api api, Account account) at ApplicationServices.LibraryCommands.scanAccountsAsync(Func
2 loginCallbackFactoryFunc, Account[] accounts)
at ApplicationServices.LibraryCommands.ImportAccountAsync(Func2 loginCallbackFactoryFunc, Account[] accounts) 2020-09-01 12:55:35.333 -07:00 [ERR] (at LibationWinForms.Dialogs.IndexLibraryDialog+<IndexLibraryDialog_Shown>d__12.MoveNext()) Error importing library. Please try again. If this still happens after 2 or 3 tries, stop and contact administrator System.Net.Http.HttpRequestException: No such host is known. ---> System.Net.Sockets.SocketException (11001): No such host is known. at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.ConnectAsync(String host, Int32 port, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean allowHttp2, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task
1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)
at AudibleApi.Api.AdHocAuthenticatedGetAsync(HttpRequestMessage request, ISealedHttpClient client)
at AudibleApi.Api.AdHocAuthenticatedGetAsync(String requestUri, ISealedHttpClient client)
at AudibleApi.Api.getLibraryAsync(String parameters)
at AudibleApi.Api.GetLibraryAsync(LibraryOptions libraryOptions)
at AudibleApi.Api.GetAllLibraryItemsAsync()
at InternalUtilities.AudibleApiActions.getItemsAsync(Api api)
at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates
1 shouldRetryResultPredicates, Func5 onRetryAsync, Int32 permittedRetryCount, IEnumerable
1 sleepDurationsEnumerable, Func4 sleepDurationProvider, Boolean continueOnCapturedContext) at Polly.AsyncPolicy.ExecuteAsync[TResult](Func
3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
at ApplicationServices.LibraryCommands.scanAccountAsync(Api api, Account account)
at ApplicationServices.LibraryCommands.scanAccountsAsync(Func2 loginCallbackFactoryFunc, Account[] accounts) at ApplicationServices.LibraryCommands.ImportAccountAsync(Func
2 loginCallbackFactoryFunc, Account[] accounts)
at LibationWinForms.Dialogs.IndexLibraryDialog.IndexLibraryDialog_Shown(Object sender, EventArgs e)
from libation.
from libation.
Related Issues (20)
- Decrypt Failed - every book imported HOT 5
- Certain AAX files processed by Libation and m4b-mp3-chapters-from-cuesheets show incorrect run times in iTunes for Windows HOT 1
- Error Importing Library HOT 15
- Error Downloading/Processing Books HOT 4
- Can not log in to Audible account (edit: while on VPN) HOT 5
- Some titles unavailable HOT 1
- Windows 11 - Can't get passed Windows Defender HOT 6
- Custom Books Location path ending in Books not possible HOT 6
- Error importing library HOT 3
- Import .aax files
- CUDA HOT 1
- Not sure if a bug or request, but use the User Interface Scale in Display setting for the display HOT 4
- Moved Libation to external storage, no longer opens HOT 2
- Redownload book using only docker client. HOT 4
- error importing library HOT 3
- Decrypt Fail HOT 1
- Error importing library HOT 7
- [MacOS] Libation crashes when the TMP and Download directories are stored on a SMB share
- Libation downloads the book, green light shows, and then before it finishes that book to move on to the next, Libation crashes HOT 1
- Libation has notified to me that "License Denied" with a couple of books HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libation.