Open andreygursky opened 4 years ago
@andreygursky Open 'More' pane and set assetFetchTimeout
to 60
or some bigger value, that should help.
Please try the dev build of uMatrix, it's better equipped to deal with slow connection as it takes into account progress events when downloading assets in order to determinate whether there is a time out condition.
@uBlock-user, thanks, I've tried this but my changes were ignored. Then I've figured out the option is too new for uMatrix 1.4.0.
@gorhill, updated. Now it is better, thanks!
as it takes into account progress events when downloading assets in order to determinate whether there is a time out condition.
Indeed, the issue is actually not that no data is transmitted for 30 seconds but only rather slow. From what iftop shows, once a first timeout hits, Firefox seems to continue downloading, but since uMatrix 1.4.0 receives the timeout event, it starts the same download from a mirror, then I see 2 concurrent downloads in iftop, which makes it even worse.
Prerequisites
Description
Since a couple of months uMatrix is not able to update the default "Malware domains" [1] list on a 64 kbit/s connection. The reason is a timeout. I'm not sure whether the size of that file has grown rapidly or the server stopped to deliver this text file in a compressed format.
The default 30 seconds timeout is hardcoded here [2]
It looks like it was previously adjustable [3]:
and this functionality has been restored recently [4]:
Thus I'd like kindly to ask to make at least this only change available (or if not possible, then raise the hardcoded default timeout temporary) in the next release.
Thanks.
A specific URL where the issue occurs
Steps to Reproduce
Ruleset
Supporting evidence
More than 74 seconds are needed to download this file at 64 kbit/s.
Your environment
[1] https://mirror.cedia.org.ec/malwaredomains/justdomains [2] https://github.com/gorhill/uMatrix/blob/1.4.0/src/js/assets.js#L116 [3] https://github.com/gorhill/uMatrix/commit/c2d7096500c11b72888b4d901b64185f9cc7b9d1 [4] https://github.com/gorhill/uMatrix/commit/9b292304d33a44465922200efa5f8b378d0f9604