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

retry middleware add EOFError #3506

Open
baby5 opened this issue Nov 26, 2018 · 2 comments
Open

retry middleware add EOFError #3506

baby5 opened this issue Nov 26, 2018 · 2 comments

Comments

@baby5
Copy link

baby5 commented Nov 26, 2018

[Failure instance: Traceback: <class 'EOFError'>: Compressed file ended before the end-of-stream marker was reached

i got this log from scrapy, i deal with it by adding EOFError to retry middleware EXCEPTIONS_TO_RETRY
manually

in deep, provide a setting for user to custom retry error maybe better

@Gallaecio
Copy link
Member

The list became configurable in 2.10.

However, I think it would make sense to add EOFError to the list by default, mentioning it could happen due to partial compressed responses.

@baby5 baby5 closed this as completed Feb 16, 2024
@Gallaecio
Copy link
Member

Let’s keep this open to add EOFError to the list by default.

@Gallaecio Gallaecio reopened this Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants