rmcrackan / Libation

Libation: Liberate your Library
GNU General Public License v3.0
2.77k stars 152 forks source link

Cannot login due to Amazon Security Alert #16

Closed favioitaliano closed 3 years ago

favioitaliano commented 4 years ago

Each login attempt through Libation sends my e-mail address a security alert that requires me to approve or deny the login request. By the time I am able to approve the request, Libation has timed out and thrown an error stating to try again, but then to contact admin.

I have attached an example of the security alert from Amazon.

Alert

Thank you!

VeWilson commented 4 years ago

hi have the same issue, i iverfy the account in my phone app, but i cannot sin up

rmcrackan commented 4 years ago

The amazon alert thing is all amazon's doing. It's triggered for some people and not others and only they know the reason.

What do you mean by "Libation has timed out and thrown an error stating to try again" ? I'm not aware of any such timeout and I need to fix this if there is one. Can you put your log on pastebin and post the link to it here? Note: the log contains your login name/email which I recommend removing before you post your log. I'm going to fix this very soon but for now you'll need to do this manually.

favioitaliano commented 4 years ago

Here is the log:

2020-10-02 09:54:17.087 -06:00 [INF] (at LibationLauncher.Program.logStartupState()) Begin Libation. {"Version":"4.0.9.3","LibationFiles":"D:\Libation","BooksDirectory":"D:\Libation","DownloadsInProgressEnum":"LibationFiles","DownloadsInProgressDir":"D:\Libation\DownloadsInProgress","DownloadsInProgressFiles":0,"DownloadsFinal":"D:\Libation\DownloadsFinal","DownloadsFinalFiles":0,"DecryptInProgressEnum":"LibationFiles","DecryptInProgressDir":"D:\Libation\DecryptInProgress","DecryptInProgressFiles":0} 2020-10-02 09:54:18.357 -06: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":2,"downloadedOnly":0,"noProgress":80,"pending":80,"statusStripText":"BACKUPS: No progress: 80 Encrypted: 0 Fully backed up: 2","menuItemText":"80 remaining"} 2020-10-02 09:54:18.367 -06:00 [INF] (at LibationWinForms.Form1.setPdfBackupCounts(System.Collections.Generic.IEnumerable1[[DataLayer.Book, DataLayer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]])) PDF counts. {"downloaded":0,"notDownloaded":5,"statusStripText":"| PDFs: NOT d/l'ed: 5 Downloaded: 0","menuItemText":"5 remaining"} 2020-10-02 09:54:18.419 -06: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":2,"downloadedOnly":0,"noProgress":80,"pending":80,"statusStripText":"BACKUPS: No progress: 80 Encrypted: 0 Fully backed up: 2","menuItemText":"80 remaining"} 2020-10-02 09:54:18.421 -06:00 [INF] (at LibationWinForms.Form1.setPdfBackupCounts(System.Collections.Generic.IEnumerable1[[DataLayer.Book, DataLayer, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]])) PDF counts. {"downloaded":0,"notDownloaded":5,"statusStripText":"| PDFs: NOT d/l'ed: 5 Downloaded: 0","menuItemText":"5 remaining"} 2020-10-02 09:54:50.528 -06:00 [INF] (at InternalUtilities.AudibleApiActions.GetApiAsync(AudibleApi.ILoginCallback, InternalUtilities.Account)) GetApiAsync. {"AccountId":"","LocaleName":"us"} 2020-10-02 09:55:08.684 -06:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+d1.MoveNext()) Redirecting to https://www.amazon.com/ap/challenge?ie=UTF8&arb=624d50a0-7849-46d9-8e69-3ba538fbd0f0 2020-10-02 09:55:09.061 -06:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+d1.MoveNext()) Redirecting to https://www.amazon.com/ap/cvf/approval?arb=4aa1b321-2aa7-446b-af30-edfc449fd7b3&openid.assoc_handle=amzn_audible_ios_us&pageId=amzn_audible_ios&openid.return_to=https%3A%2F%2Fwww.amazon.com%2Fap%2Fsignin%3Fie%3DUTF8%26clientContext%3D130-3264738-6076149%26openid.pape.max_auth_age%3D0%26use_global_authentication%3Dfalse%26forceMobileLayout%3Dtrue%26accountStatusPolicy%3DP1%26openid.identity%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0%252Fidentifier_select%26use_audio_captcha%3Dfalse%26marketPlaceId%3DAF2M0KC94RCEA%26language%3Den-US%26pageId%3Damzn_audible_ios%26arb%3D76584d6e-2d25-4f55-9239-dadfd5ae793b%26openid.return_to%3Dhttps%253A%252F%252Fwww.amazon.com%252Fap%252Fmaplanding%26openid.assoc_handle%3Damzn_audible_ios_us%26openid.oa2.response_type%3Dtoken%26openid.mode%3Dcheckid_setup%26openid.ns.pape%3Dhttp%253A%252F%252Fspecs.openid.net%252Fextensions%252Fpape%252F1.0%26openid.ns.oa2%3Dhttp%253A%252F%252Fwww.amazon.com%252Fap%252Fext%252Foauth%252F2%26openid.oa2.scope%3Ddevice_auth_access%26openid.claimed_id%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0%252Fidentifier_select%26openid.oa2.client_id%3Ddevice%253A6a52316c62706d53427a5735505a76477a45375959566674327959465a6374424a53497069546d45234132435a4a5a474c4b324a4a564d%26openid.ns%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0 2020-10-02 09:55:09.359 -06:00 [ERR] (at ApplicationServices.LibraryCommands+d0.MoveNext()) Error importing library AudibleApi.Authentication.LoginFailedException: Exception of type 'AudibleApi.Authentication.LoginFailedException' was thrown. at AudibleApi.Authentication.LoginResultRunner.GetResultsPageAsync(IHttpClient client, ISystemDateTime systemDateTime, Locale locale, Dictionary2 inputs) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\LoginResultRunner.cs:line 23 at AudibleApi.Authentication.CaptchaPage.SubmitAsync(String guess) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\CaptchaPage.cs:line 42 at AudibleApi.EzApiCreator.loginAsync(Locale locale, ILoginCallback responder) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 80 at AudibleApi.EzApiCreator.GetApiAsync(Locale locale, String identityFilePath, String jsonPath, ILoginCallback loginCallback) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 47 at ApplicationServices.LibraryCommands.scanAccountsAsync(Func2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 50 at ApplicationServices.LibraryCommands.ImportAccountAsync(Func`2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 22 2020-10-02 09:55:09.375 -06:00 [ERR] (at LibationWinForms.Dialogs.IndexLibraryDialog+d12.MoveNext()) Error importing library. Please try again. If this still happens after 2 or 3 tries, stop and contact administrator AudibleApi.Authentication.LoginFailedException: Exception of type 'AudibleApi.Authentication.LoginFailedException' was thrown. at AudibleApi.Authentication.LoginResultRunner.GetResultsPageAsync(IHttpClient client, ISystemDateTime systemDateTime, Locale locale, Dictionary2 inputs) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\LoginResultRunner.cs:line 23 at AudibleApi.Authentication.CaptchaPage.SubmitAsync(String guess) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\CaptchaPage.cs:line 42 at AudibleApi.EzApiCreator.loginAsync(Locale locale, ILoginCallback responder) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 80 at AudibleApi.EzApiCreator.GetApiAsync(Locale locale, String identityFilePath, String jsonPath, ILoginCallback loginCallback) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 47 at ApplicationServices.LibraryCommands.scanAccountsAsync(Func2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 50 at ApplicationServices.LibraryCommands.ImportAccountAsync(Func`2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 22 at LibationWinForms.Dialogs.IndexLibraryDialog.IndexLibraryDialog_Shown(Object sender, EventArgs e) in C:\Dropbox\DinahsFolder\coding_NET\Visual Studio 2019\Libation\LibationWinForms\UNTESTED\Dialogs\IndexLibraryDialog.cs:line 34

By time out, I just meant that the process abandons the login attempt before I am able to approve the security alert. Here is the error message (also in the log above).

image

rmcrackan commented 4 years ago

Thanks for the log. Is this correct: you log into Libation with with email + pw and hit submit. Then it gives you the captcha which you also submit. Then it give you that "Error importing library" around the same time that amazon emails you the sign in attempt?

favioitaliano commented 4 years ago

That's exactly right.

Bioanalytica commented 4 years ago

Same deal for me. Sign in through Libation with pw/captcha, receive error message in libation, receive text from amazon with link, go to link and it asks whether to approve or deny the attempted login, click approve, and the cycle continues ad infinitum.

rmcrackan commented 4 years ago

The latest version [ https://github.com/rmcrackan/Libation/releases/latest ] has some extra logging for this error. Please run this and post your new log

favioitaliano commented 4 years ago

I downloaded and ran the new version. Here is the new log:

2020-10-07 15:57:35.787 -06:00 [INF] (at LibationLauncher.Program.logStartupState()) Begin Libation. {"Version":"4.0.11.3","LibationFiles":"C:\Users\favio\Downloads\Libation_v4.0.11\Libation_v4.0.11\LibationFiles","BooksDirectory":"C:\Users\favio\Downloads\Libation_v4.0.11\Libation_v4.0.11\LibationFiles","DownloadsInProgressEnum":"WinTemp","DownloadsInProgressDir":"C:\Users\favio\AppData\Local\Temp\Libation\DownloadsInProgress","DownloadsInProgressFiles":0,"DownloadsFinal":"C:\Users\favio\Downloads\Libation_v4.0.11\Libation_v4.0.11\LibationFiles\DownloadsFinal","DownloadsFinalFiles":0,"DecryptInProgressEnum":"WinTemp","DecryptInProgressDir":"C:\Users\favio\AppData\Local\Temp\Libation\DecryptInProgress","DecryptInProgressFiles":0} 2020-10-07 15:57:36.890 -06: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-10-07 15:57:36.899 -06:00 [INF] (at LibationWinForms.Form1.setPdfBackupCounts(System.Collections.Generic.IEnumerable1[[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-10-07 15:58:22.514 -06:00 [INF] (at InternalUtilities.AudibleApiActions.GetApiAsync(AudibleApi.ILoginCallback, InternalUtilities.Account)) GetApiAsync. {"AccountId":"j[...]o@g[...]l.c[...]m","LocaleName":"us"} 2020-10-07 15:58:34.395 -06:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+d2.MoveNext()) Redirecting to https://www.amazon.com/ap/challenge?ie=UTF8&arb=d181e4c7-8dde-4326-9133-c4f3b6287938 2020-10-07 15:58:34.738 -06:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+d2.MoveNext()) Redirecting to https://www.amazon.com/ap/cvf/approval?arb=4912c9fc-b126-416f-837b-b7c5b5f154dc&openid.assoc_handle=amzn_audible_ios_us&pageId=amzn_audible_ios&openid.return_to=https%3A%2F%2Fwww.amazon.com%2Fap%2Fsignin%3Fie%3DUTF8%26clientContext%3D133-5942721-1237816%26openid.pape.max_auth_age%3D0%26use_global_authentication%3Dfalse%26forceMobileLayout%3Dtrue%26accountStatusPolicy%3DP1%26openid.identity%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0%252Fidentifier_select%26use_audio_captcha%3Dfalse%26marketPlaceId%3DAF2M0KC94RCEA%26language%3Den-US%26pageId%3Damzn_audible_ios%26arb%3D476d3bc3-c4e5-4782-854e-359e93533bee%26openid.return_to%3Dhttps%253A%252F%252Fwww.amazon.com%252Fap%252Fmaplanding%26openid.assoc_handle%3Damzn_audible_ios_us%26openid.oa2.response_type%3Dtoken%26openid.mode%3Dcheckid_setup%26openid.ns.pape%3Dhttp%253A%252F%252Fspecs.openid.net%252Fextensions%252Fpape%252F1.0%26openid.ns.oa2%3Dhttp%253A%252F%252Fwww.amazon.com%252Fap%252Fext%252Foauth%252F2%26openid.oa2.scope%3Ddevice_auth_access%26openid.claimed_id%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0%252Fidentifier_select%26openid.oa2.client_id%3Ddevice%253A6a52316c62706d53427a5735505a76477a45375959566674327959465a6374424a53497069546d45234132435a4a5a474c4b324a4a564d%26openid.ns%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0 2020-10-07 15:58:35.099 -06:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+d0.MoveNext()) No matching result page type. {"OldInputFields":{"appActionToken":"ID3hggfPQE89sJlCHVaqdIGVX5Ej3D","appAction":"SIGNIN","ces":"ape:QUNTX1RQOUR0U1FFOHkvQjJzOWFoVEhoUFg5L2YzOEFBQUFBQUFBQUFiQ0JkdEhzcHBFT0ZqUzFWSFcyMUc3eGdHTDZKb2NYOTJ6d21Cd1RSRW1PUHg2SmZBOTRpbXZwT01kc3JCMzUxMEs5QlBzYlpIWGdWU1VLMTNLczB5UzQxUVJpLzNtZ3dCRlJ2SmZjKzJQekxTeWRmeS9NQm1NWEsrL0tZSUtxTUE3bHA4OVJ2V2ozL1M5c1IzMDhJT1ZGSGVlWGRHSktsdmpGR0ZwK2xwNHArdlFkY3BOOWZNdWlSVG13andHL3JscmRpMXU4YXlicVN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6JCMK4fMrw6Ye_LpzY2wSLpbxb0-HZun8HaUxidKeI_gm-vJ6-yBeLB3Se3FiJQ3SrG3FQvViqXrjQ-8R1fhFQ8bcxlg3K5myP3EyreQ_aibXMN-SHrEnHeriYYpYq1YcVCF8OEAenxuZ61JA1fSnb76igTJ8zT7PURflw6DqvrkkXIRgrVN9gyuOyABSV79EneqXp--zoxeaavertnFk1O45S88ksinNldUesVMsOnrzXFRMVA5Yy6ct-DXJMi1ep-WOw7HGjlrBv7trO1TmBgDCxhjNsb78gsoyKHrGkf5lCdf-uD_BxalchvoAxM3SKTox0UHCo5IqQcG6DVMbst_uYokBalcNRMndmgr5hr6yMFUu8wdq1lpCeDGtUxuYQ8GHyekPYvxQp6y-9SqXdzWxo3p0lQJErVnLatdb12wB7O_ROqeTULtMVAcE8OSy_JJLVxJ4ycYNn_kQZYRRJQ7CveKG8-XIR9O7h6d3DF4UjC9_Sdxy7U_DYz6-uUWaGPTlxn7nLfQAuiq-mDmgAQaDAoFbHerQvY9lYx3E4s8DcNJrkiAMt11yUcDpajWCQtR8GN9nRB_NCVRJoJR2dtvbBmi9dpU9D4eCNy6t2M2ek800IkEXtnw2sgiLPUQpfyS6BckWbqFuA3AlMbq4WetDv9BSAxi7n8vcOARZJRUhCDw-Jml9mBCFymH3SD7qVBLZSlJG2T25a1P8-_4ECwusJYM-37NPCXvqBmcfqkkiOH_OZutS3PMisQ.PiNkWXJmYnTHJasgT79K4g","email":"(removed)","password":"[password hidden]","showPasswordChecked":"[password hidden]","encryptedPasswordExpected":"[null]","rememberMe":"true","use_image_captcha":"true","use_audio_captcha":"false","guess":"pcgc53","ue_back":"1"},"ResponseInputFields":{"arb":"4912c9fc-b126-416f-837b-b7c5b5f154dc","openid.return_to":"https://www.amazon.com/ap/signin?ie=UTF8&amp;clientContext=133-5942721-1237816&amp;openid.pape.max_auth_age=0&amp;use_global_authentication=false&amp;forceMobileLayout=true&amp;accountStatusPolicy=P1&amp;openid.identity=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&amp;use_audio_captcha=false&amp;marketPlaceId=AF2M0KC94RCEA&amp;language=en-US&amp;pageId=amzn_audible_ios&amp;arb=476d3bc3-c4e5-4782-854e-359e93533bee&amp;openid.return_to=https%3A%2F%2Fwww.amazon.com%2Fap%2Fmaplanding&amp;openid.assoc_handle=amzn_audible_ios_us&amp;openid.oa2.response_type=token&amp;openid.mode=checkid_setup&amp;openid.ns.pape=http%3A%2F%2Fspecs.openid.net%2Fextensions%2Fpape%2F1.0&amp;openid.ns.oa2=http%3A%2F%2Fwww.amazon.com%2Fap%2Fext%2Foauth%2F2&amp;openid.oa2.scope=device_auth_access&amp;openid.claimed_id=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0%2Fidentifier_select&amp;openid.oa2.client_id=device%3A6a52316c62706d53427a5735505a76477a45375959566674327959465a6374424a53497069546d45234132435a4a5a474c4b324a4a564d&amp;openid.ns=http%3A%2F%2Fspecs.openid.net%2Fauth%2F2.0","pageId":"amzn_audible_ios","openid.assoc_handle":"amzn_audible_ios_us","csrfToken":"R6H89meZvZKC4A5QnmvepCVdj2Bysj3D"}} 2020-10-07 15:58:35.107 -06:00 [ERR] (at ApplicationServices.LibraryCommands+d0.MoveNext()) Error importing library AudibleApi.Authentication.LoginFailedException: Exception of type 'AudibleApi.Authentication.LoginFailedException' was thrown. at AudibleApi.Authentication.LoginResultRunner.GetResultsPageAsync(IHttpClient client, ISystemDateTime systemDateTime, Locale locale, Dictionary2 inputs) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\LoginResultRunner.cs:line 23 at AudibleApi.Authentication.CaptchaPage.SubmitAsync(String guess) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\CaptchaPage.cs:line 42 at AudibleApi.EzApiCreator.loginAsync(Locale locale, ILoginCallback responder) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 80 at AudibleApi.EzApiCreator.GetApiAsync(Locale locale, String identityFilePath, String jsonPath, ILoginCallback loginCallback) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 47 at ApplicationServices.LibraryCommands.scanAccountsAsync(Func2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 51 at ApplicationServices.LibraryCommands.ImportAccountAsync(Func2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 23 2020-10-07 15:58:35.123 -06: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 AudibleApi.Authentication.LoginFailedException: Exception of type 'AudibleApi.Authentication.LoginFailedException' was thrown. at AudibleApi.Authentication.LoginResultRunner.GetResultsPageAsync(IHttpClient client, ISystemDateTime systemDateTime, Locale locale, Dictionary2 inputs) in C:\Dropbox\DinahsFolder\coding_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\LoginResultRunner.cs:line 23 at AudibleApi.Authentication.CaptchaPage.SubmitAsync(String guess) in C:\Dropbox\DinahsFolder\coding_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\CaptchaPage.cs:line 42 at AudibleApi.EzApiCreator.loginAsync(Locale locale, ILoginCallback responder) in C:\Dropbox\DinahsFolder\coding_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 80 at AudibleApi.EzApiCreator.GetApiAsync(Locale locale, String identityFilePath, String jsonPath, ILoginCallback loginCallback) in C:\Dropbox\DinahsFolder\coding_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 47 at ApplicationServices.LibraryCommands.scanAccountsAsync(Func2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 51 at ApplicationServices.LibraryCommands.ImportAccountAsync(Func2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 23 at LibationWinForms.Dialogs.IndexLibraryDialog.IndexLibraryDialog_Shown(Object sender, EventArgs e) in C:\Dropbox\DinahsFolder\coding_NET\Visual Studio 2019\Libation\LibationWinForms\UNTESTED\Dialogs\IndexLibraryDialog.cs:line 34

rmcrackan commented 4 years ago

Thank you for that log. Unexpected results. This is a mystery.

v4.0.12 adds more logging and saves a new file with what page you're getting that apparently I can't see myself. At the bottom of your github comment you can attach files by dragging and dropping them in the little area just below your text. Could you attach your log file and the new LoginFailed file?

favioitaliano commented 4 years ago

Here's the log. Log202010.log

The LoginFailed file is a TMP file, it appears, so github won't allow me to upload it. Any other way I can get it to you?

mkb79 commented 4 years ago

@favioitaliano

Can you try to login to audible with my package. It‘s written with Python so you need it installed.

rmcrackan commented 4 years ago

The LoginFailed file is a TMP file, it appears, so github won't allow me to upload it. Any other way I can get it to you?

Can you zip it and attach to github? Right-click > Send to > Compressed

favioitaliano commented 4 years ago

Oh, right. Here you go! LoginFailedException_ResponseBody_637377481778852234.zip

rmcrackan commented 4 years ago

@mkb79

Can you try to login to audible with my package. It‘s written with Python so you need it installed.

If there were a way to include your project with all dependencies in my .net project, I could retire 90% of my code. It's wonderful but all of the python prerequisites means I can't package it side-by-side with mine

mkb79 commented 4 years ago

Okay. I follow this issue for a while. So I thought I can help here a little bit.

rmcrackan commented 4 years ago

Okay. I follow this issue for a while. So I thought I can help here a little bit.

Thank you! This issue has been very difficult to figure out.

rmcrackan commented 4 years ago

I think I'm getting closer. It's hard not to get discouraged. If you're up for it, let me know if v4.0.13 gets you any further.

favioitaliano commented 4 years ago

Unfortunately not any further... Logs.zip

rmcrackan commented 4 years ago

Holy crap this thing is persistent. With v4.0.14 it should at least show a different bug in the log. One can dream...

sindleigh commented 4 years ago

I have this same issue also. I will try something else. Thank you anyway.

rmcrackan commented 3 years ago

Sadly, I'm going to close this issue. Not because it's resolved but because I don't think I have the ability to resolve it. Amazon is only showing this to some people and despite months of effort I can't figure out how to beat it :(

mkb79 commented 3 years ago

Hi rmcrackan,

I had an issue request with the same problem. It seams that I could solve them.

To detect such approval alerts you have to parse the returned website and search for a div tag with an id=resend-approval-alert.

If you found an approval alert, search the website for all a tags with class=a-link-normal. The second hit contains an href url.

Then prompt the user to press enter, after he has click on the link the mail.

After that make a get request to the link from above and you are pass this check.

I hope this helps you?!

Update: If you follow the issue link above you can find a zip file which contains the html page with such an approval alert.

Best regards

Marcel

ueen commented 3 years ago

Ok this doesnt seem to get resolved, heres my easy workflow: 1) Download aax direcly from audible website (its now possible in the library) 2) Get Activation code from https://audible-tools.github.io/ 3) Convert with https://github.com/audiamus/AaxAudioConverter Its not all in one app but its really easy works reliably and fast :)

rmcrackan commented 3 years ago

heres my easy workflow

Thanks, this is very good advice. Before creating Libation, my preference was inAudible. InAudible will also crack the activation code.

For these and other alternatives see also AudiobookHub.

rmcrackan commented 3 years ago

Yes. Unfortunately your issue is related to this frustratingly elusive bug. I created a new version [ https://github.com/rmcrackan/Libation/releases/latest ] with better logging around this area. Can you run the new version? It won't fix the issue but should contain better info in the log. Can you put the resulting log on pastebin and link it here?

On Sun, Mar 14, 2021 at 6:40 PM Dmitry Molotkov @.***> wrote:

Not sure if its same issue or not. It dont scan lib at all. It ask me for captcha like 5 times or so and on six it says click approved once approved, but amazon dont send approve email. In logs i see

2021-03-15 01:32:47.211 +03:00 [ERR] (at ApplicationServices.LibraryCommands+d0.MoveNext()) Error importing library System.ArgumentException: Only 'http' and 'https' schemes are allowed. (Parameter 'value') at System.Net.Http.HttpRequestMessage.set_RequestUri(Uri value) at AudibleApi.Authentication.LoginResultRunner.makeRequestAsync(Authenticate authenticate, HttpMethod method, Uri uri, HttpContent content) in C:\Dropbox\DinahsFolder\coding_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\LoginResultRunner.cs:line 98 at AudibleApi.Authentication.LoginResultRunner.GetResultsPageAsync(Authenticate authenticate, String url) in C:\Dropbox\DinahsFolder\coding_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\LoginResultRunner.cs:line 22 at AudibleApi.EzApiCreator.loginAsync(Locale locale, ILoginCallback responder) in C:\Dropbox\DinahsFolder\coding_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 89 at AudibleApi.EzApiCreator.GetApiAsync(Locale locale, String identityFilePath, String jsonPath, ILoginCallback loginCallback) in C:\Dropbox\DinahsFolder\coding_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 47 at ApplicationServices.LibraryCommands.scanAccountsAsync(Func2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 68 at ApplicationServices.LibraryCommands.ImportAccountAsync(Func2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 23 2021-03-15 01:32:47.372 +03:00 [ERR] (at LibationWinForms.Dialogs.IndexLibraryDialog+d12.MoveNext()) Error importing library. Please try again. If this still happens after 2 or 3 tries, stop and contact administrator

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/rmcrackan/Libation/issues/16#issuecomment-798993375, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFOCS2WACLA7EFOLXQNR6Z3TDU3NLANCNFSM4SA5DJBA .

ueen commented 3 years ago

Actually it does fix the issue, its still a little rough, i had to go through captchas and approving several times for each account, but now all accounts do load, so i dont know what you did, but you did something i guess, great progress!!! :D

ueen commented 3 years ago
2021-03-15 19:02:57.410 +01:00 [INF] (at InternalUtilities.AudibleApiActions.GetApiAsync(AudibleApi.ILoginCallback, InternalUtilities.Account)) GetApiAsync. {"Account":"AccountId=u[...]i.s[...]n@o[...]e.d[...]e|AccountName=m[...]a.s[...]n@o[...]e.d[...]y|Locale=germany","LocaleName":"germany"}
2021-03-15 19:03:05.119 +01:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+<makeRequestAsync>d__4.MoveNext()) Send request {"method":{"Method":"POST","$type":"HttpMethod"},"uri":"https://www.amazon.de/ap/signin","absoluteUri":"https://www.amazon.de/ap/signin"}
2021-03-15 19:03:05.574 +01:00 [INF] (at AudibleApi.EzApiCreator+<loginAsync>d__1.MoveNext()) Login result: "AudibleApi.Authentication.CaptchaPage"
2021-03-15 19:03:13.553 +01:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+<makeRequestAsync>d__4.MoveNext()) Send request {"method":{"Method":"POST","$type":"HttpMethod"},"uri":"https://www.amazon.de/ap/signin","absoluteUri":"https://www.amazon.de/ap/signin"}
2021-03-15 19:03:13.902 +01:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+<makeRequestAsync>d__4.MoveNext()) Redirecting to https://www.amazon.de/ap/challenge?ie=UTF8&arb=84726cde-d12c-47ee-8055-1db93e82c182
2021-03-15 19:03:13.905 +01:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+<makeRequestAsync>d__4.MoveNext()) Send request {"method":{"Method":"GET","$type":"HttpMethod"},"uri":"https://www.amazon.de/ap/challenge?ie=UTF8&arb=84726cde-d12c-47ee-8055-1db93e82c182","absoluteUri":"https://www.amazon.de/ap/challenge?ie=UTF8&arb=84726cde-d12c-47ee-8055-1db93e82c182"}
2021-03-15 19:03:14.253 +01:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+<makeRequestAsync>d__4.MoveNext()) Redirecting to https://www.amazon.de/ap/cvf/approval?arb=448bd401-0e09-4882-94f2-af669a53d703&openid.assoc_handle=amzn_audible_ios_de&pageId=amzn_audible_ios&openid.return_to=https%3A%2F%2Fwww.amazon.de%2Fap%2Fsignin%3Fie%3DUTF8%26clientContext%3D257-1237279-6281235%26openid.pape.max_auth_age%3D0%26use_global_authentication%3Dfalse%26forceMobileLayout%3Dtrue%26accountStatusPolicy%3DP1%26openid.identity%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0%252Fidentifier_select%26use_audio_captcha%3Dfalse%26marketPlaceId%3DAN7V1F1VY261K%26language%3Dde-DE%26pageId%3Damzn_audible_ios%26arb%3Da27a4115-d869-4f5f-9ca9-fece8ba22e1c%26openid.return_to%3Dhttps%253A%252F%252Fwww.amazon.de%252Fap%252Fmaplanding%26openid.assoc_handle%3Damzn_audible_ios_de%26openid.oa2.response_type%3Dtoken%26openid.mode%3Dcheckid_setup%26openid.ns.pape%3Dhttp%253A%252F%252Fspecs.openid.net%252Fextensions%252Fpape%252F1.0%26openid.ns.oa2%3Dhttp%253A%252F%252Fwww.amazon.com%252Fap%252Fext%252Foauth%252F2%26openid.oa2.scope%3Ddevice_auth_access%26openid.claimed_id%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0%252Fidentifier_select%26openid.oa2.client_id%3Ddevice%253A6a52316c62706d53427a5735505a76477a45375959566674327959465a6374424a53497069546d45234132435a4a5a474c4b324a4a564d%26openid.ns%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0
2021-03-15 19:03:14.256 +01:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+<makeRequestAsync>d__4.MoveNext()) Send request {"method":{"Method":"GET","$type":"HttpMethod"},"uri":"https://www.amazon.de/ap/cvf/approval?arb=448bd401-0e09-4882-94f2-af669a53d703&openid.assoc_handle=amzn_audible_ios_de&pageId=amzn_audible_ios&openid.return_to=https%3A%2F%2Fwww.amazon.de%2Fap%2Fsignin%3Fie%3DUTF8%26clientContext%3D257-1237279-6281235%26openid.pape.max_auth_age%3D0%26use_global_authentication%3Dfalse%26forceMobileLayout%3Dtrue%26accountStatusPolicy%3DP1%26openid.identity%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0%252Fidentifier_select%26use_audio_captcha%3Dfalse%26marketPlaceId%3DAN7V1F1VY261K%26language%3Dde-DE%26pageId%3Damzn_audible_ios%26arb%3Da27a4115-d869-4f5f-9ca9-fece8ba22e1c%26openid.return_to%3Dhttps%253A%252F%252Fwww.amazon.de%252Fap%252Fmaplanding%26openid.assoc_handle%3Damzn_audible_ios_de%26openid.oa2.response_type%3Dtoken%26openid.mode%3Dcheckid_setup%26openid.ns.pape%3Dhttp%253A%252F%252Fspecs.openid.net%252Fextensions%252Fpape%252F1.0%26openid.ns.oa2%3Dhttp%253A%252F%252Fwww.amazon.com%252Fap%252Fext%252Foauth%252F2%26openid.oa2.scope%3Ddevice_auth_access%26openid.claimed_id%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0%252Fidentifier_select%26openid.oa2.client_id%3Ddevice%253A6a52316c62706d53427a5735505a76477a45375959566674327959465a6374424a53497069546d45234132435a4a5a474c4b324a4a564d%26openid.ns%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0","absoluteUri":"https://www.amazon.de/ap/cvf/approval?arb=448bd401-0e09-4882-94f2-af669a53d703&openid.assoc_handle=amzn_audible_ios_de&pageId=amzn_audible_ios&openid.return_to=https%3A%2F%2Fwww.amazon.de%2Fap%2Fsignin%3Fie%3DUTF8%26clientContext%3D257-1237279-6281235%26openid.pape.max_auth_age%3D0%26use_global_authentication%3Dfalse%26forceMobileLayout%3Dtrue%26accountStatusPolicy%3DP1%26openid.identity%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0%252Fidentifier_select%26use_audio_captcha%3Dfalse%26marketPlaceId%3DAN7V1F1VY261K%26language%3Dde-DE%26pageId%3Damzn_audible_ios%26arb%3Da27a4115-d869-4f5f-9ca9-fece8ba22e1c%26openid.return_to%3Dhttps%253A%252F%252Fwww.amazon.de%252Fap%252Fmaplanding%26openid.assoc_handle%3Damzn_audible_ios_de%26openid.oa2.response_type%3Dtoken%26openid.mode%3Dcheckid_setup%26openid.ns.pape%3Dhttp%253A%252F%252Fspecs.openid.net%252Fextensions%252Fpape%252F1.0%26openid.ns.oa2%3Dhttp%253A%252F%252Fwww.amazon.com%252Fap%252Fext%252Foauth%252F2%26openid.oa2.scope%3Ddevice_auth_access%26openid.claimed_id%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0%252Fidentifier_select%26openid.oa2.client_id%3Ddevice%253A6a52316c62706d53427a5735505a76477a45375959566674327959465a6374424a53497069546d45234132435a4a5a474c4b324a4a564d%26openid.ns%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0"}
2021-03-15 19:03:14.470 +01:00 [INF] (at AudibleApi.EzApiCreator+<loginAsync>d__1.MoveNext()) Login result: "AudibleApi.Authentication.ApprovalNeeded"
2021-03-15 19:03:27.052 +01:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+<makeRequestAsync>d__4.MoveNext()) Send request {"method":{"Method":"GET","$type":"HttpMethod"},"uri":"https://www.amazon.de/ap/signin?ie=UTF8&amp;clientContext=257-1237279-6281235&amp;openid.pape.max_auth_age=0&amp;use_global_authentication=false&amp;forceMobileLayout=true&amp;accountStatusPolicy=P1&amp;openid.identity=http://specs.openid.net/auth/2.0/identifier_select&amp;use_audio_captcha=false&amp;marketPlaceId=AN7V1F1VY261K&amp;language=de-DE&amp;pageId=amzn_audible_ios&amp;arb=a27a4115-d869-4f5f-9ca9-fece8ba22e1c&amp;openid.return_to=https://www.amazon.de/ap/maplanding&amp;openid.assoc_handle=amzn_audible_ios_de&amp;openid.oa2.response_type=token&amp;openid.mode=checkid_setup&amp;openid.ns.pape=http://specs.openid.net/extensions/pape/1.0&amp;openid.ns.oa2=http://www.amazon.com/ap/ext/oauth/2&amp;openid.oa2.scope=device_auth_access&amp;openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&amp;openid.oa2.client_id=device:6a52316c62706d53427a5735505a76477a45375959566674327959465a6374424a53497069546d45234132435a4a5a474c4b324a4a564d&amp;openid.ns=http://specs.openid.net/auth/2.0","absoluteUri":"https://www.amazon.de/ap/signin?ie=UTF8&amp;clientContext=257-1237279-6281235&amp;openid.pape.max_auth_age=0&amp;use_global_authentication=false&amp;forceMobileLayout=true&amp;accountStatusPolicy=P1&amp;openid.identity=http://specs.openid.net/auth/2.0/identifier_select&amp;use_audio_captcha=false&amp;marketPlaceId=AN7V1F1VY261K&amp;language=de-DE&amp;pageId=amzn_audible_ios&amp;arb=a27a4115-d869-4f5f-9ca9-fece8ba22e1c&amp;openid.return_to=https://www.amazon.de/ap/maplanding&amp;openid.assoc_handle=amzn_audible_ios_de&amp;openid.oa2.response_type=token&amp;openid.mode=checkid_setup&amp;openid.ns.pape=http://specs.openid.net/extensions/pape/1.0&amp;openid.ns.oa2=http://www.amazon.com/ap/ext/oauth/2&amp;openid.oa2.scope=device_auth_access&amp;openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&amp;openid.oa2.client_id=device:6a52316c62706d53427a5735505a76477a45375959566674327959465a6374424a53497069546d45234132435a4a5a474c4b324a4a564d&amp;openid.ns=http://specs.openid.net/auth/2.0"}
2021-03-15 19:03:27.289 +01:00 [ERR] (at ApplicationServices.LibraryCommands+<ImportAccountAsync>d__0.MoveNext()) Error importing library
System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at AudibleApi.Authentication.LoginResultRunner.makeRequestAsync(Authenticate authenticate, HttpMethod method, Uri uri, HttpContent content) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\LoginResultRunner.cs:line 211
   at AudibleApi.Authentication.LoginResultRunner.GetResultsPageAsync(Authenticate authenticate, String url) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\LoginResultRunner.cs:line 22
   at AudibleApi.EzApiCreator.loginAsync(Locale locale, ILoginCallback responder) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 91
   at AudibleApi.EzApiCreator.GetApiAsync(Locale locale, String identityFilePath, String jsonPath, ILoginCallback loginCallback) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 47
   at ApplicationServices.LibraryCommands.scanAccountsAsync(Func`2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 68
   at ApplicationServices.LibraryCommands.ImportAccountAsync(Func`2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 23
2021-03-15 19:03:27.299 +01: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: Response status code does not indicate success: 404 (Not Found).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at AudibleApi.Authentication.LoginResultRunner.makeRequestAsync(Authenticate authenticate, HttpMethod method, Uri uri, HttpContent content) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\LoginResultRunner.cs:line 211
   at AudibleApi.Authentication.LoginResultRunner.GetResultsPageAsync(Authenticate authenticate, String url) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\LoginResultRunner.cs:line 22
   at AudibleApi.EzApiCreator.loginAsync(Locale locale, ILoginCallback responder) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 91
   at AudibleApi.EzApiCreator.GetApiAsync(Locale locale, String identityFilePath, String jsonPath, ILoginCallback loginCallback) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 47
   at ApplicationServices.LibraryCommands.scanAccountsAsync(Func`2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 68
   at ApplicationServices.LibraryCommands.ImportAccountAsync(Func`2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 23
   at LibationWinForms.Dialogs.IndexLibraryDialog.IndexLibraryDialog_Shown(Object sender, EventArgs e) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\Libation\LibationWinForms\UNTESTED\Dialogs\IndexLibraryDialog.cs:line 34
2021-03-15 19:03:30.834 +01:00 [INF] (at InternalUtilities.AudibleApiActions.GetApiAsync(AudibleApi.ILoginCallback, InternalUtilities.Account)) GetApiAsync. {"Account":"AccountId=u[...]i.s[...]n@o[...]e.d[...]e|AccountName=m[...]a.s[...]n@o[...]e.d[...]y|Locale=germany","LocaleName":"germany"}
2021-03-15 19:03:39.438 +01:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+<makeRequestAsync>d__4.MoveNext()) Send request {"method":{"Method":"POST","$type":"HttpMethod"},"uri":"https://www.amazon.de/ap/signin","absoluteUri":"https://www.amazon.de/ap/signin"}
2021-03-15 19:03:39.884 +01:00 [INF] (at AudibleApi.EzApiCreator+<loginAsync>d__1.MoveNext()) Login result: "AudibleApi.Authentication.LoginComplete"

(pastebin is deleating my posts)

rmcrackan commented 3 years ago

https://pastebin.com/pffGg3Bz "This page is no longer available. It has either expired, been removed by its creator, or removed by one of the Pastebin staff." oh well

glad it's working now ... kinda. I see your other email. I'll be addressing it soon

On Mon, Mar 15, 2021 at 2:19 PM ueen @.***> wrote:

the pastebin is here https://pastebin.com/pffGg3Bz

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.

rmcrackan commented 3 years ago

In case anyone is following this bug: the latest version has a small fix in this area. Let me know whether or not the latest version still gives you this bug.

I'm not closing the bug because I'm not confident that I've fully addressed this and it's difficult to address at all since it doesn't happen to my account.

aldarund commented 3 years ago

For me in latest version after entering captch and than approving through email and clicking approve in app after it still error.

2021-03-16 17:45:05.726 +03:00 [INF] (at LibationLauncher.Program.logStartupState()) Begin Libation. {"Version":"4.1.9.1","LibationFiles":"D:\\tor\\audible\\Libation 4.1.8\\LibationFiles","BooksDirectory":"D:\\tor\\audible\\Libation 4.1.8","DownloadsInProgressEnum":"LibationFiles","DownloadsInProgressDir":"D:\\tor\\audible\\Libation 4.1.8\\LibationFiles\\DownloadsInProgress","DownloadsInProgressFiles":0,"DownloadsFinal":"D:\\tor\\audible\\Libation 4.1.8\\LibationFiles\\DownloadsFinal","DownloadsFinalFiles":0,"DecryptInProgressEnum":"LibationFiles","DecryptInProgressDir":"D:\\tor\\audible\\Libation 4.1.8\\LibationFiles\\DecryptInProgress","DecryptInProgressFiles":0}
2021-03-16 17:45:10.943 +03:00 [INF] (at LibationWinForms.Form1.setBookBackupCounts(System.Collections.Generic.IEnumerable`1[[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"}
2021-03-16 17:45:10.956 +03: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"}
2021-03-16 17:45:14.775 +03:00 [INF] (at InternalUtilities.AudibleApiActions.GetApiAsync(AudibleApi.ILoginCallback, InternalUtilities.Account)) GetApiAsync. {"Account":"AccountId=s[...]r.i[...]t@g[...]l.c[...]m|AccountName=s[...]r.i[...]t@g[...]l.c[...]s|Locale=us","LocaleName":"us"}
2021-03-16 17:45:35.537 +03:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+<makeRequestAsync>d__4.MoveNext()) Send request {"method":{"Method":"POST","$type":"HttpMethod"},"uri":"https://www.amazon.com/ap/signin","absoluteUri":"https://www.amazon.com/ap/signin"}
2021-03-16 17:45:36.788 +03:00 [INF] (at AudibleApi.EzApiCreator+<loginAsync>d__1.MoveNext()) Login result: "AudibleApi.Authentication.CaptchaPage"
2021-03-16 17:45:43.157 +03:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+<makeRequestAsync>d__4.MoveNext()) Send request {"method":{"Method":"POST","$type":"HttpMethod"},"uri":"https://www.amazon.com/ap/signin","absoluteUri":"https://www.amazon.com/ap/signin"}
2021-03-16 17:45:44.270 +03:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+<makeRequestAsync>d__4.MoveNext()) Redirecting to https://www.amazon.com/ap/challenge?ie=UTF8&arb=2a9ed448-1233-4b53-b5fb-20c89298dac0
2021-03-16 17:45:44.272 +03:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+<makeRequestAsync>d__4.MoveNext()) Send request {"method":{"Method":"GET","$type":"HttpMethod"},"uri":"https://www.amazon.com/ap/challenge?ie=UTF8&arb=2a9ed448-1233-4b53-b5fb-20c89298dac0","absoluteUri":"https://www.amazon.com/ap/challenge?ie=UTF8&arb=2a9ed448-1233-4b53-b5fb-20c89298dac0"}
2021-03-16 17:45:44.815 +03:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+<makeRequestAsync>d__4.MoveNext()) Redirecting to https://www.amazon.com/ap/cvf/approval?arb=e24eb633-02b1-432b-8baf-d5050024c479&openid.assoc_handle=amzn_audible_ios_us&pageId=amzn_audible_ios&openid.return_to=https%3A%2F%2Fwww.amazon.com%2Fap%2Fsignin%3Fie%3DUTF8%26clientContext%3D133-7639792-9037235%26openid.pape.max_auth_age%3D0%26use_global_authentication%3Dfalse%26forceMobileLayout%3Dtrue%26accountStatusPolicy%3DP1%26openid.identity%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0%252Fidentifier_select%26use_audio_captcha%3Dfalse%26marketPlaceId%3DAF2M0KC94RCEA%26language%3Den-US%26pageId%3Damzn_audible_ios%26arb%3D75e1c80d-457e-41c7-a734-ad5b1e84832c%26openid.return_to%3Dhttps%253A%252F%252Fwww.amazon.com%252Fap%252Fmaplanding%26openid.assoc_handle%3Damzn_audible_ios_us%26openid.oa2.response_type%3Dtoken%26openid.mode%3Dcheckid_setup%26openid.ns.pape%3Dhttp%253A%252F%252Fspecs.openid.net%252Fextensions%252Fpape%252F1.0%26openid.ns.oa2%3Dhttp%253A%252F%252Fwww.amazon.com%252Fap%252Fext%252Foauth%252F2%26openid.oa2.scope%3Ddevice_auth_access%26openid.claimed_id%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0%252Fidentifier_select%26openid.oa2.client_id%3Ddevice%253A6a52316c62706d53427a5735505a76477a45375959566674327959465a6374424a53497069546d45234132435a4a5a474c4b324a4a564d%26openid.ns%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0
2021-03-16 17:45:44.817 +03:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+<makeRequestAsync>d__4.MoveNext()) Send request {"method":{"Method":"GET","$type":"HttpMethod"},"uri":"https://www.amazon.com/ap/cvf/approval?arb=e24eb633-02b1-432b-8baf-d5050024c479&openid.assoc_handle=amzn_audible_ios_us&pageId=amzn_audible_ios&openid.return_to=https%3A%2F%2Fwww.amazon.com%2Fap%2Fsignin%3Fie%3DUTF8%26clientContext%3D133-7639792-9037235%26openid.pape.max_auth_age%3D0%26use_global_authentication%3Dfalse%26forceMobileLayout%3Dtrue%26accountStatusPolicy%3DP1%26openid.identity%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0%252Fidentifier_select%26use_audio_captcha%3Dfalse%26marketPlaceId%3DAF2M0KC94RCEA%26language%3Den-US%26pageId%3Damzn_audible_ios%26arb%3D75e1c80d-457e-41c7-a734-ad5b1e84832c%26openid.return_to%3Dhttps%253A%252F%252Fwww.amazon.com%252Fap%252Fmaplanding%26openid.assoc_handle%3Damzn_audible_ios_us%26openid.oa2.response_type%3Dtoken%26openid.mode%3Dcheckid_setup%26openid.ns.pape%3Dhttp%253A%252F%252Fspecs.openid.net%252Fextensions%252Fpape%252F1.0%26openid.ns.oa2%3Dhttp%253A%252F%252Fwww.amazon.com%252Fap%252Fext%252Foauth%252F2%26openid.oa2.scope%3Ddevice_auth_access%26openid.claimed_id%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0%252Fidentifier_select%26openid.oa2.client_id%3Ddevice%253A6a52316c62706d53427a5735505a76477a45375959566674327959465a6374424a53497069546d45234132435a4a5a474c4b324a4a564d%26openid.ns%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0","absoluteUri":"https://www.amazon.com/ap/cvf/approval?arb=e24eb633-02b1-432b-8baf-d5050024c479&openid.assoc_handle=amzn_audible_ios_us&pageId=amzn_audible_ios&openid.return_to=https%3A%2F%2Fwww.amazon.com%2Fap%2Fsignin%3Fie%3DUTF8%26clientContext%3D133-7639792-9037235%26openid.pape.max_auth_age%3D0%26use_global_authentication%3Dfalse%26forceMobileLayout%3Dtrue%26accountStatusPolicy%3DP1%26openid.identity%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0%252Fidentifier_select%26use_audio_captcha%3Dfalse%26marketPlaceId%3DAF2M0KC94RCEA%26language%3Den-US%26pageId%3Damzn_audible_ios%26arb%3D75e1c80d-457e-41c7-a734-ad5b1e84832c%26openid.return_to%3Dhttps%253A%252F%252Fwww.amazon.com%252Fap%252Fmaplanding%26openid.assoc_handle%3Damzn_audible_ios_us%26openid.oa2.response_type%3Dtoken%26openid.mode%3Dcheckid_setup%26openid.ns.pape%3Dhttp%253A%252F%252Fspecs.openid.net%252Fextensions%252Fpape%252F1.0%26openid.ns.oa2%3Dhttp%253A%252F%252Fwww.amazon.com%252Fap%252Fext%252Foauth%252F2%26openid.oa2.scope%3Ddevice_auth_access%26openid.claimed_id%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0%252Fidentifier_select%26openid.oa2.client_id%3Ddevice%253A6a52316c62706d53427a5735505a76477a45375959566674327959465a6374424a53497069546d45234132435a4a5a474c4b324a4a564d%26openid.ns%3Dhttp%253A%252F%252Fspecs.openid.net%252Fauth%252F2.0"}
2021-03-16 17:45:45.387 +03:00 [INF] (at AudibleApi.EzApiCreator+<loginAsync>d__1.MoveNext()) Login result: "AudibleApi.Authentication.ApprovalNeeded"
2021-03-16 17:46:07.665 +03:00 [INF] (at AudibleApi.Authentication.LoginResultRunner+<makeRequestAsync>d__4.MoveNext()) Send request {"method":{"Method":"GET","$type":"HttpMethod"},"uri":"https://www.amazon.com/ap/signin?ie=UTF8&amp;clientContext=133-7639792-9037235&amp;openid.pape.max_auth_age=0&amp;use_global_authentication=false&amp;forceMobileLayout=true&amp;accountStatusPolicy=P1&amp;openid.identity=http://specs.openid.net/auth/2.0/identifier_select&amp;use_audio_captcha=false&amp;marketPlaceId=AF2M0KC94RCEA&amp;language=en-US&amp;pageId=amzn_audible_ios&amp;arb=75e1c80d-457e-41c7-a734-ad5b1e84832c&amp;openid.return_to=https://www.amazon.com/ap/maplanding&amp;openid.assoc_handle=amzn_audible_ios_us&amp;openid.oa2.response_type=token&amp;openid.mode=checkid_setup&amp;openid.ns.pape=http://specs.openid.net/extensions/pape/1.0&amp;openid.ns.oa2=http://www.amazon.com/ap/ext/oauth/2&amp;openid.oa2.scope=device_auth_access&amp;openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&amp;openid.oa2.client_id=device:6a52316c62706d53427a5735505a76477a45375959566674327959465a6374424a53497069546d45234132435a4a5a474c4b324a4a564d&amp;openid.ns=http://specs.openid.net/auth/2.0","absoluteUri":"https://www.amazon.com/ap/signin?ie=UTF8&amp;clientContext=133-7639792-9037235&amp;openid.pape.max_auth_age=0&amp;use_global_authentication=false&amp;forceMobileLayout=true&amp;accountStatusPolicy=P1&amp;openid.identity=http://specs.openid.net/auth/2.0/identifier_select&amp;use_audio_captcha=false&amp;marketPlaceId=AF2M0KC94RCEA&amp;language=en-US&amp;pageId=amzn_audible_ios&amp;arb=75e1c80d-457e-41c7-a734-ad5b1e84832c&amp;openid.return_to=https://www.amazon.com/ap/maplanding&amp;openid.assoc_handle=amzn_audible_ios_us&amp;openid.oa2.response_type=token&amp;openid.mode=checkid_setup&amp;openid.ns.pape=http://specs.openid.net/extensions/pape/1.0&amp;openid.ns.oa2=http://www.amazon.com/ap/ext/oauth/2&amp;openid.oa2.scope=device_auth_access&amp;openid.claimed_id=http://specs.openid.net/auth/2.0/identifier_select&amp;openid.oa2.client_id=device:6a52316c62706d53427a5735505a76477a45375959566674327959465a6374424a53497069546d45234132435a4a5a474c4b324a4a564d&amp;openid.ns=http://specs.openid.net/auth/2.0"}
2021-03-16 17:46:08.339 +03:00 [ERR] (at ApplicationServices.LibraryCommands+<ImportAccountAsync>d__0.MoveNext()) Error importing library
System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at AudibleApi.Authentication.LoginResultRunner.makeRequestAsync(Authenticate authenticate, HttpMethod method, Uri uri, HttpContent content) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\LoginResultRunner.cs:line 199
   at AudibleApi.Authentication.LoginResultRunner.GetResultsPageAsync(Authenticate authenticate, String url) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\LoginResultRunner.cs:line 22
   at AudibleApi.EzApiCreator.loginAsync(Locale locale, ILoginCallback responder) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 91
   at AudibleApi.EzApiCreator.GetApiAsync(Locale locale, String identityFilePath, String jsonPath, ILoginCallback loginCallback) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 47
   at ApplicationServices.LibraryCommands.scanAccountsAsync(Func`2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 68
   at ApplicationServices.LibraryCommands.ImportAccountAsync(Func`2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 23
2021-03-16 17:46:08.455 +03: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: Response status code does not indicate success: 404 (Not Found).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at AudibleApi.Authentication.LoginResultRunner.makeRequestAsync(Authenticate authenticate, HttpMethod method, Uri uri, HttpContent content) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\LoginResultRunner.cs:line 199
   at AudibleApi.Authentication.LoginResultRunner.GetResultsPageAsync(Authenticate authenticate, String url) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\Authentication\LoginResultRunner.cs:line 22
   at AudibleApi.EzApiCreator.loginAsync(Locale locale, ILoginCallback responder) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 91
   at AudibleApi.EzApiCreator.GetApiAsync(Locale locale, String identityFilePath, String jsonPath, ILoginCallback loginCallback) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\audible api\AudibleApi\AudibleApi\EzApiCreator\EzApiCreator.cs:line 47
   at ApplicationServices.LibraryCommands.scanAccountsAsync(Func`2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 68
   at ApplicationServices.LibraryCommands.ImportAccountAsync(Func`2 loginCallbackFactoryFunc, Account[] accounts) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\Libation\ApplicationServices\UNTESTED\LibraryCommands.cs:line 23
   at LibationWinForms.Dialogs.IndexLibraryDialog.IndexLibraryDialog_Shown(Object sender, EventArgs e) in C:\Dropbox\DinahsFolder\coding\_NET\Visual Studio 2019\Libation\LibationWinForms\UNTESTED\Dialogs\IndexLibraryDialog.cs:line 34
aldarund commented 3 years ago

I'm not closing the bug because I'm not confident that I've fully addressed this and it's difficult to address at all since it doesn't happen to my account.

You could try with VPN, it might trigger it

rmcrackan commented 3 years ago

Can you provide a link to the full log?

aldarund commented 3 years ago

https://www.dropbox.com/s/hfm77z6wl1b1vcr/Log202103.log?dl=0

aldarund commented 3 years ago

Only last entry from latest version. Initial log errors at start was when i was entering invalid email.

piogirl commented 3 years ago

In case anyone is following this bug: the latest version has a small fix in this area. Let me know whether or not the latest version still gives you this bug.

Hi, after updating I'm having this issue when trying to add an australia locale account. i get the notification from amazon, approve and then get the error in libation

attached is part of my log in case you need it log.txt

mkb79 commented 3 years ago

The Australia marketplace have some extra protection. The device serial from login must match the device serial at registration. As far as I know these package uses a fix serial (client-if) on login and creates a custom one for registration. Because of this, registration fails.

Here you can read more!

piogirl commented 3 years ago

i am using the same device i used for registration (litterally registered 10 mins before scanning it on libation), thanks for the link though i'll read it through!

rmcrackan commented 3 years ago

This HOPEFULLY works now. If it still doesn't work for you, please reply here