-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
download error: peer closed connection without sending the complete message body #146
Comments
I‘m thinking about how to implement a resume function in Python. In the meantime you can try to use
aax files are downloaded from another Amazon server (in another country?). So this can result in a slow download speed. |
thank you for the quick response. i will try to use i wish you all the best with your project. the library is also really great and i am looking forward to using it in my application. thanks for putting your time into this. |
I have this issue as well. I use --timeout 0 but it still takes many attempts to download a file. The command issues: error: peer closed connection without sending complete message body (received 4626768 bytes, expected 1205266010) However, it exits with exit code 0. I figure it's just amazon being a pain with third party downloads, terminating abnormally, but it'd be nice if when that happened the command set the exit code to something other than 0, then at least you could script the retries if there was an error. |
Occur this error by downloading aax files, aaxc files or both? |
aax files (since I'm later converting to mfb files with ffmpeg and that seems easier than aaxc) |
I would prefer you to download Here you can find a decrypt plugin which helps you decrypting aaxc files. |
Oh fair enough. I'll give that plugin a go. It should streamline the workflow somewhat :) |
Is there a way to invoke that through the command line of audible-cli?
I had the same problem as the OP, using --timeout 0:
I realize you aren't going to fix this for aax, so I will switch to downloading aaxc, which I was avoiding bcoz I don't know how to decrypt aaxc. |
Ah, I found the README in the plugin directory. Hopefully I can figure it out from that. |
If you run an audible-cli command with debug messages turned on (e.g. |
The directory it gives as my plugin directory doesn't even exist. It's where the plugin directory was when I installed audible-cli version 0. I thought I recompiled everything when I did "pip install .[pyi]". How can I wipe the registry and everything, and do a fresh install of audible-cli? |
Yeah, this directory is not be automatically created. You have to do it.
I'm not familiar with Cygwin. So I need some more information. Do you use a Python virtual environment (e.g. venv)? But theoretically run |
pip uninstall audible-cli didn't clear the setting of AUDIBLE_CONFIG_DIR.
I changed it manually, and the new release (0.3.2b1) is running now, and
doing fine so far.
… Message ID: ***@***.***>
|
If found this information about environment variables and Cygwin. So you have to unset the |
a lot of the longer file downloads are failing with this same error message. is there a way for the application to try and resume the download?
the download is also only slow for
aax
files ar about 600Kbps.aaxc
downloads are faster at around 20MbpsThe text was updated successfully, but these errors were encountered: