Open Dongw1126 opened 3 years ago
Hi @Dongw1126 What OS/platform did this affect? Would the Edge browser be affected as well? Just curious since I have a Hackintosh system and use both Edge and Chrome.
By the way, thanks. I have files on The Internet Archive and would get disconnected. After installing your extension, it downloaded with ease in the background.
Hi @nyhtml This bug occurs when the server does not respond to the download resume request more than 5 times. I tested in Windows NT 10.0; Win64, Chrome/94.0.4606.71, but it probably affects all Chromium-based web browsers regardless of OS. Thanks.
The same issue affects the Linux version of chrome browser (tested the official version from Google), it works for a while then stops.
A hacky work-around (works on version 115.0.5790.114 (Official Build) (arm64)) is to add a pause and resume after each successful resume (ie. at https://github.com/Dongw1126/Auto-Resume-Downloads/blob/main/src/background.js#L115). The pause causes a reset of the auto_resume_count on the subsequent resume: see https://source.chromium.org/chromium/chromium/src/+/main:components/download/internal/common/download_item_impl.cc;l=640
Any update with this? I'm not quite sure how to add the modifications above. Could someone help?
I gave up and used a download manager extension, this one is working really well for me. It's a lot better than the built in version, so even if the problem gets fixed I'll never go back anyway. https://github.com/persepolisdm/persepolis
There are other download managers to choose from, so if it doesn't work out you can always try another one.
A hacky work-around (works on version 115.0.5790.114 (Official Build) (arm64)) is to add a pause and resume after each successful resume (ie. at https://github.com/Dongw1126/Auto-Resume-Downloads/blob/main/src/background.js#L115). The pause causes a reset of the auto_resume_count on the subsequent resume: see https://source.chromium.org/chromium/chromium/src/+/main:components/download/internal/common/download_item_impl.cc;l=640
@andrewcupper
Thanks for your advice.
I will try to use it in resolving the issue.
I'll let you know when it's done.
I hope this will be resolved soon. I'd prefer using the internal downloader of Chrome to an external program.
I'm downloading a 41GB file from google drive and it keeps crashing. That's why I installed this plugin. Unfortunately, I have the same problem with the limit and have to reset it manually.
Any word on this being resolved? This would be perfect for me if you could set it to retry infinitely until it grabs again. Seems a little bizarre that we're limited to 5 retries then we absolutely must retry manually from there.
There's been several updates of Chrome, but I've not tried it in a while because my solution to use a download manager, has been working well for me. It's not perfect, but even without the failed downloads, it's still a lot better than Chrome's built in system, and it can be used with any browser which is another bonus as I use FF sometimes.
Currently, the maximum value of Chrome's automatic restart attempts is set to 5 times, so if the restart fails more than 5 times, the operation of the downloaded item will stop.
chromium source code
Since the number of attempts is initialized after a user gesture occurs, API or code to solve this programmatically is needed.