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
We are getting ECONNABORTED error from Axios for our web App. When I look at axios documentation, it says that ECONNABORTED comes when "Request timed out due to exceeding timeout specified in axios configuration.". But the timeout we have set in Axios configuration is 30 seconds, but it is failing at 3 seconds (got to know from our telemetry) with this error code. I suspect that user or browser itself has canceled the request and hence we were seeing this error.
When I look at code, it says that ECONNABORTED is thrown in two cases, one when browser cancels the request and when there is timeout as well. Adding screenshots. Please let me know when exactly ECONNABORTED happens and is there a way I can repro it (so that I can debug)? Thank you in advance :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
We are getting ECONNABORTED error from Axios for our web App. When I look at axios documentation, it says that ECONNABORTED comes when "Request timed out due to exceeding timeout specified in axios configuration.". But the timeout we have set in Axios configuration is 30 seconds, but it is failing at 3 seconds (got to know from our telemetry) with this error code. I suspect that user or browser itself has canceled the request and hence we were seeing this error.
When I look at code, it says that ECONNABORTED is thrown in two cases, one when browser cancels the request and when there is timeout as well. Adding screenshots. Please let me know when exactly ECONNABORTED happens and is there a way I can repro it (so that I can debug)? Thank you in advance :)
Beta Was this translation helpful? Give feedback.
All reactions