rmcrackan / Libation

Libation: Liberate your Library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error importing library

dlfarney opened this issue · comments

Describe the bug
Error importing library

To Reproduce
Steps to reproduce the behavior:

  1. Go to a book to download
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

image.

Platform

[e.g. Windows 10, Windows 11, Mac, Linux (State distribution)]

Log Files
_Log202404_001.zip

Sorry about this error. Much thanks for the log file. Do you get this error on a different network? Friends house, coffee shop, tethered phone (if you have a large data plan), etc.

Now I get this error "ERROR: No such host is known. (dze5l2jxnquy5.cloudfront.net:443)"

Are you able to try Libation on a different network? I'd like to see if this error occurs for you on all networks.

Same problem here. I'm on Ubuntu with nothing special going on with my network. I was able to download using OpenAudible and from audible.com directly.

_Log202404.zip

I don't have access to another network.

I was able to solve it after a good nights sleep. I turned off ipv6 for my network and it worked! I think the DNS is timing out trying to use ipv6. I've seen this problem crop up with NodeJS and Python. So it is probably not to do with your code.

Can you both tell me more about your ipv6? Heaven knows I don't want my users to have to mess with their friggin routers or local network settings to get my app to work. Hopefully I can take your knowledge and turn it into code.

I guess my last comment was just for @payne8 . The email chains made it look like @dlfarney said the same thing and it took me a moment to sort it out -- oops

I have a new vanilla Ubuntu desktop install. I'm hard wired to my router. I had to go into my network settings and disable ipv6 then toggle my network off then back on.

I have only seen this on Ubuntu but there are bug reports or issues all over the internet that it affects many Debian distributions and some MacOS.

I am not positive what actually causes the issue but my impression is that DNS is caching a v6 address that has since changed and the old one is unavailable.

Okay so I disabled IPV6 on my PC and was getting libation to work MOST of time.
I still get - ERROR: No such host is known. (dze5l2jxnquy5.cloudfront.net:443)
on some books.
and ERROR: Exception of type 'AudibleApi.ApiErrorException' was thrown.
So...I think it may be a timeout issue. Is there a way to increase the timeout value when calling the audible API?

I attempted to disable ipv6 in Libation for this pre-release version -- https://github.com/rmcrackan/Libation/releases/tag/v11.3.8

Can you see if this bypasses the ipv6 issue?