rmcrackan / Libation

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

System.Net.Http.HttpRequestException: The requested address is not valid in its context. (api.amazon.co.uk:443) #829

Open CalAlaera opened 9 months ago

CalAlaera commented 9 months ago

Describe the bug I get the above exception when logging into my account.

I have tried logging into my account via Libation's login prompt, and via audible-cli (which logs me in with no issues) and then importing my login JSON file.

Possibly relevant information: https://api.amazon.co.uk/ is currently down. However, audible-cli was able to log me in and perform actions on my library with zero issues, so I'm pretty sure that isn't the root cause of the problem.

To Reproduce Steps to reproduce the behavior:

via Libation login prompt

  1. Launch Libation
  2. Click Settings
  3. Click Accounts
  4. Enter your email
  5. Select "uk" as the locale
  6. Click Save
  7. Input password as prompted
  8. See error.

via audible-cli import

  1. Launch Libation
  2. Click Settings
  3. Click Accounts
  4. Click "Import from audible-cli"
  5. Select audible-cli JSON file
  6. See error.

Expected behavior I expected my account to be logged in, and Libation to continue with downloading my library.

Platform Windows 11 Libation Chardonnay v11.3.2.1

Log Files _Log202401.zip Log shows three login attempts, first via import, then via Libation's dialog boxes

rmcrackan commented 9 months ago

Thanks for all of this. Please let me know if this is still a problem after the main site returns, just in case that's the root cause.

CalAlaera commented 8 months ago

For info: This is still occurring, I've been using the api in other programs without issue.

rmcrackan commented 8 months ago

Ooh, that could be a good lead for seeing the differences in how we handle this part. What other programs are working for you?

CalAlaera commented 8 months ago

https://github.com/mkb79/audible-cli is working (version 0.2.6, latest stable)

However, notably, https://github.com/audiamus/BookLibConnect/ (version 0.13.1, latest stable) is not.

I'm happy to send some more logs your way, however they look exactly the same as the ones I already sent you.

rmcrackan commented 8 months ago

@Mbucari If you were ever looking for an interesting challenge, this might be it