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
[Bug Report] Mango gets stuck while downloading from mangadex #108
Comments
It just got stuck on page 10. |
Yeah I've seen this a few times as well. I haven't got the time to investigate, but I guess it's because the mangadex @home server encountered some error and left the connection open. I will try to add a timeout value (say 1 minute?) to the request and see how it works. |
I think 5-10 seconds should be enough timeout to download an image. If 3 re-tries fail I'd throw an error. |
The read timeout has been added in v0.14.0. By default it's 30 seconds, and it can be configured using |
Describe the bug
When a large amount of chapters are being retrieved from Mangadex, the downloader sometimes "stalls". The UI is showing the current chapter as "Downloading" but the pages downloaded don't progress
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Environment (please complete the following information):
Docker (if you are running Mango in a Docker container)
Additional context
A restart usually starts it back up again. The chapter in question starts to download from 0 again. I've had this happen a couple times to me today, but my log level was too low to catch it so I'm waiting for this to manifest again.
Some logs:
The text was updated successfully, but these errors were encountered: