-
-
Notifications
You must be signed in to change notification settings - Fork 13
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 once (or more?) on any TransportError #18
Comments
https://www.python-httpx.org/exceptions/#the-exception-hierarchy shows the exception hierarchy: |
I want to retry on any form of |
Sadly it looks like |
httpx.RemoteProtocolError
error
While testing this I'm going to want to see if any transport errors have occurred - I think I'll add a |
I'm only going to retry GET, I won't retry POST. |
Because I need to use allow_retry for #18
Now manually testing this by running:
And keeping an eye on it while it runs with:
Started it running at 4:31pm. |
It's at |
That actually worked! 162M file resulted, with no errors. |
Now running this to see what happens:
Produced a 80MB SQLite file, thanks presumably to the |
Got this exception:
Would be good to retry once if this happens.
The text was updated successfully, but these errors were encountered: