[MRG+1] Added: Retrying scrapy.core.downloader.handlers.http11.TunnelError #1974
Conversation
hi @starrify , what kind of error triggered |
Hi @redapple , here is the error message:
For details, please check https://staging.scrapinghub.com/p/6327/job/9/17618/#/log?filterAndHigher&filterType=error (private access only). From the job stats we know there's no retrying on such failures. Here's another sample job after applying the same fix in this PR: https://staging.scrapinghub.com/p/6327/job/9/17622/#details (private access only) where the same error has almost disapeared. Also the job stats suggest that there are many retries. |
@starrify , could this be configured via a new downloader setting? |
I'm afraid not, since this However I think it might be a good idea to make it configurable through settings. :) |
@starrify , I'm not sure I understand your comment. |
Current coverage is 83.27%
|
Hi, seems I'm the one who misunderstood. :( I thought you asked could this be configured now via a downloader setting? I have updated this PR by introducing a new setting But personally I still think |
@starrify , after some thought, I think your initial commit (adding |
np :) I guess making |
Thanks @starrify |
[backport][1.1] Retrying scrapy.core.downloader.handlers.http11.TunnelError (PR #1974)
It's a small change. Please just check the diff.