-
Notifications
You must be signed in to change notification settings - Fork 171
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
crash in proxy_request (using nsapa proxy) #865
Comments
@nsapa - Do you have time (and interest) in looking into this? |
@JimmXinu I am taking this. @mcepl Did chrome_content.py log any exception? A ValueError here mean that the header is missing the content size. I currently do not see where the proxy could fail sending a size... |
Well, it is true, that the proxy run was rather wild as well. Multiple crashes, sometimes even multiple ones on one page. |
At this point, Selenium is totally broken and I don't have a recovery path in the main Exception handler (because I didn't think this could happen). Anyway, I will send a PR to make nsapa_proxy.py handle a broken proxy response (some sanity check that raise exceptions.FailedToDownload("nsapa_proxy: invalid header")). |
@nsapa Just that I have collected a lovely log when trying to update https://www.fanfiction.net/s/14001550/1/Harry-Potter-and-the-Expectations-of-the-Future |
@nsapa - I don't think I got a PR for this? |
Fix JimmXinu#865 by validating proxy response. Signed-off-by: Nicolas SAPA <nico@ByMe.at>
Fix JimmXinu#865 by validating proxy response. Signed-off-by: Nicolas SAPA <nico@ByMe.at>
This should make fanficfare detect proxy issue. |
Fix #865 by validating proxy response. Signed-off-by: Nicolas SAPA <nico@ByMe.at>
Great, thanks! |
The text was updated successfully, but these errors were encountered: