You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm still periodically getting ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')). I started thinking it is very weird, because it seems that this connection error should be retried, no? It turned out, that this connection error occurs not in the request itself, which properly retries connection errors. It happens inside AuthorizedSession.credentials.before_request, which for auth requests instead of DEFAULT_RETRY_CONFIG uses
I think the right approach would be to form auth_request manually with the correct retry config in HttpClient.__init__ and pass it to AuthorizedSession on creation.
What are your thoughts?
The text was updated successfully, but these errors were encountered:
Even though
DEFAULT_RETRY_CONFIG
is good enoughI'm still periodically getting
('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
. I started thinking it is very weird, because it seems that this connection error should be retried, no? It turned out, that this connection error occurs not in the request itself, which properly retries connection errors. It happens insideAuthorizedSession.credentials.before_request
, which for auth requests instead ofDEFAULT_RETRY_CONFIG
usesI think the right approach would be to form
auth_request
manually with the correct retry config inHttpClient.__init__
and pass it toAuthorizedSession
on creation.What are your thoughts?
The text was updated successfully, but these errors were encountered: