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
In all apps i've used AHC in, we experience relatively-infrequent but consistent HTTPClientError.remoteConnectionCloseds.
Frequency-wise, my non-scientific approximation would be something like 1/50_000 requests (depends on a lot of factors of course).
These errors seem to happen consistently due to usual network inconsistencies, and they almost never indicate any actual problems on user's side.
I expect AHC to be able to automatically retry these errors so users have a more consistent experience when making requests.
Perhaps there could be a setting like the existing retryConnectionEstablishment.
Worths mentioning that I do also see other kinds of errors here and there, but only inconsistently and much less frequently, so i don't think the other errors are worth retrying, unlike remoteConnectionClosed.
The text was updated successfully, but these errors were encountered:
MahdiBM
changed the title
Option for HTTPClientError.remoteConnectionCloseds to be automatically retired
Option for HTTPClientError.remoteConnectionCloseds to be automatically retried
Oct 29, 2023
In all apps i've used AHC in, we experience relatively-infrequent but consistent
HTTPClientError.remoteConnectionClosed
s.Frequency-wise, my non-scientific approximation would be something like 1/50_000 requests (depends on a lot of factors of course).
These errors seem to happen consistently due to usual network inconsistencies, and they almost never indicate any actual problems on user's side.
I expect AHC to be able to automatically retry these errors so users have a more consistent experience when making requests.
Perhaps there could be a setting like the existing
retryConnectionEstablishment
.Worths mentioning that I do also see other kinds of errors here and there, but only inconsistently and much less frequently, so i don't think the other errors are worth retrying, unlike
remoteConnectionClosed
.The text was updated successfully, but these errors were encountered: