Skip to content

Empty Response when the file is too large (~40 MB) on Tampermonkey with Chrome MV3 serialized request patch enabled #343

@ccloli

Description

@ccloli

Keep getting Empty Response on Tampermonkey, even though the request on Tampermonkey Service Worker is probably done.

userscript.html?name=E-Hentai-Downloader.user.js&id=a2cc16c3-59e7-4e96-8495-0e379591fa48:12345 [EHD] Request removing all files in File System.
13:56:50.819 userscript.html?name=E-Hentai-Downloader.user.js&id=a2cc16c3-59e7-4e96-8495-0e379591fa48:12071 Fetch mode does not support onprogress in the background.
GM_xmlhttpRequestWrapper @ userscript.html?name=E-Hentai-Downloader.user.js&id=a2cc16c3-59e7-4e96-8495-0e379591fa48:12071
13:57:03.198 userscript.html?name=E-Hentai-Downloader.user.js&id=a2cc16c3-59e7-4e96-8495-0e379591fa48:15057 [EHD] Request Image Limits From e-hentai.org
13:57:03.583 userscript.html?name=E-Hentai-Downloader.user.js&id=a2cc16c3-59e7-4e96-8495-0e379591fa48:13496 [EHD] #1: Empty Response (See: https://github.com/ccloli/E-Hentai-Downloader/issues/16 )
13:57:03.583 userscript.html?name=E-Hentai-Downloader.user.js&id=a2cc16c3-59e7-4e96-8495-0e379591fa48:13497 [EHD] #1: RealIndex > 51  | ReadyState > 4  | Status > 200  | StatusText > OK
Request URL > ****** 
Final URL > ****** 
ResposeHeaders >cache-control:public, max-age=31536000
connection:Keep-Alive
content-disposition:inline; filename=250326_Ruby_Gloom_2_4.png
content-length:41979036
content-transfer-encoding:binary
content-type:image/png
date:Sat, 09 Aug 2025 05:56:54 GMT
expires:Sun, 09 Aug 2026 05:56:54 GMT
keep-alive:timeout=3
server:Apache
13:57:03.583 userscript.html?name=E-Hentai-Downloader.user.js&id=a2cc16c3-59e7-4e96-8495-0e379591fa48:13201 [EHD] Index > 1  | RealIndex > 51  | Name > 250326_Ruby_Gloom_2_4.png  | RetryCount > 0  | DownloadedCount > 0  | FetchCount > 1  | FailedCount > 0
failedFetching @ userscript.html?name=E-Hentai-Downloader.user.js&id=a2cc16c3-59e7-4e96-8495-0e379591fa48:13201
13:57:03.584 userscript.html?name=E-Hentai-Downloader.user.js&id=a2cc16c3-59e7-4e96-8495-0e379591fa48:12071 Fetch mode does not support onprogress in the background.
GM_xmlhttpRequestWrapper @ userscript.html?name=E-Hentai-Downloader.user.js&id=a2cc16c3-59e7-4e96-8495-0e379591fa48:12071
13:57:04.103 userscript.html?name=E-Hentai-Downloader.user.js&id=a2cc16c3-59e7-4e96-8495-0e379591fa48:15085 [EHD] Image Limits > {"timestamp":1754719024103,"cur":11656,"total":50000,"donatorPower":0}
Image Image

Probably old Chrome is not happy with that?

Tampermonkey BETA 5.4.6228
Google Chrome 128.0.6613.139 (stable) (64-bit) (cohort: Stable Installs & Version Pins)

Not sure if it's because the RAM is about 85%, but at least C: drive has around 1TB free.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions