-
Notifications
You must be signed in to change notification settings - Fork 62
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
Does not retry on timeout #133
Comments
I had a similar issue and found that I needed to pass e.g. HTH |
@Grundlefleck Can you provide an example? Using your settings, it didn't trigger a retry. |
@Naramsim axios v0.21.1
Results in output:
Without I also discovered that the actual retries attempted is essentially |
Thanks @Grundlefleck In the end, I switched to Got. It has the retry mechanism built-in also for timeouts |
I'm using retry-axios succesfully to retry on server-side errors like 5xx responses.
However, I'm also experiencing sporadically timeouts on the server-side. In this cases, there is no retry attempt.
I would consider timeouts a service-side error as well. Shouldn't there be a retry attempt?
The text was updated successfully, but these errors were encountered: