Skip to content
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 speed is down to 0KB/s but the file is already done on Chrome #171

Closed
ccloli opened this issue Aug 21, 2020 · 4 comments
Closed
Labels

Comments

@ccloli
Copy link
Owner

ccloli commented Aug 21, 2020

Not sure why this happens, but it may be a bug of Tampermonkey?

image

From the background page of Tampermonkey, it's sure that 003.png, 017.png and 020.png is done (the timeline detail doesn't say the request is not finished). However the onload callback of GM_xmlhttpRequest is never called, I added some breakpoints and debugger statement, but none of them are called.

At this time, I only found https://exhentai.org/g/1713713/ccbaeb3112/ can reproduce the bug, it'll break on these 3 images. When I try downloading another gallery, the debugger is called.

Relaunch Tampermonkey and open a new tab cannot fix the bug.

The bug can be reproduced with Tampermonkey 4.10 and Tampermonkey BETA 4.11.6118 on Chrome.

ViolentMonkey v2.12.7 on Chrome , and Tampermonkey 4.11.6117 on Firefox are fine, both of them can download the file and not stuck at 0KB/s.

Maybe an upstream bug of Tampermonkey or Chrome?

@ccloli ccloli added the bug label Aug 21, 2020
@ccloli ccloli changed the title Download speed is down to 0KB/s but the file is already done Download speed is down to 0KB/s but the file is already done on Tampermonkey + Chrome Aug 21, 2020
@ccloli
Copy link
Owner Author

ccloli commented Aug 21, 2020

Relaunching Chrome cannot fix the bug, with Chrome 84.0.4147.135 (64-bit).

I'm out at this time, I almost used up my image limits, these images are too large lol

image
(Though they're not that large if you enabled compression, 12MB → ≤2MB)

@ccloli
Copy link
Owner Author

ccloli commented Aug 21, 2020

image
Well... It's stranged that ViolentMonkey v2.12.7 on Chrome seems work fine, however the image downloaded by ViolentMonkey is empty at 0KB. Both Blob storage and FileSystem are the same.

At this time, it seems that it's not a bug of extension, but Chrome?

@ccloli ccloli pinned this issue Aug 21, 2020
@ccloli ccloli changed the title Download speed is down to 0KB/s but the file is already done on Tampermonkey + Chrome Download speed is down to 0KB/s but the file is already done on Chrome Aug 21, 2020
@ccloli
Copy link
Owner Author

ccloli commented Dec 31, 2020

This bug should be fixed in Tampermonkey BETA v4.12.6124 and ViolentMonkey v2.12.8.

@ccloli
Copy link
Owner Author

ccloli commented Mar 19, 2021

Tampermonkey has released v4.12 to stable channel, this issue should be fixed for most users soon.

@ccloli ccloli closed this as completed Mar 19, 2021
@ccloli ccloli unpinned this issue Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant