Skip to content

Conversation

@dobesv
Copy link
Contributor

@dobesv dobesv commented Aug 19, 2020

I seems like the browser imposes a default timeout despite the documented default timeout being "never". When this timeout occurs, axios confusingly reports an error "timeout of 0ms exceeded". This change the message to avoid the confusing "0ms" part.

Fix for #2103

I seems like the browser imposes a default timeout despite the documented default timeout being "never".  When this timeout occurs, axios confusingly reports an error "timeout of 0ms exceeded".  This change the message to avoid the confusing "0ms" part.
@tonydehnke
Copy link

Just ran into this issue with 0.21.1, would be great to see this merged.

@jasonsaayman jasonsaayman merged commit 96956e3 into axios:master Sep 16, 2021
mbargiel pushed a commit to mbargiel/axios that referenced this pull request Jan 27, 2022
I seems like the browser imposes a default timeout despite the documented default timeout being "never".  When this timeout occurs, axios confusingly reports an error "timeout of 0ms exceeded".  This change the message to avoid the confusing "0ms" part.

Co-authored-by: Jay <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants