Error: timeout of 0ms exceeded
Problem
Sentry reported a random error coming from Axios, `Error: timeout of 0ms exceeded`. Under what circumstances would this error appear? We don't have timeout settings configured, and 0ms seems like a mighty short time for any request to finish, so why is this error thrown? It appears to have been a one off that is not readily reproducible, so I can't provide test code, but the underlying network error seems to have been `ECONNABORTED`. Axios version 0.18.0
Error Output
error coming from Axios, `Error: timeout of 0ms exceeded`.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Error: timeout of 0ms exceeded
@NatPDeveloper I don't know if these two are related : `Error: Network Error` & `Error: timeout of 0ms exceeded` But you will find some hints about `Error: Network Error` here #383
Trust Score
5 verifications
- 1
@NatPDeveloper I don't know if these two are related :
@NatPDeveloper I don't know if these two are related :
- 2
`Error: Network Error`
& `Error: timeout of 0ms exceeded`
- 3
But you will find some hints about `Error: Network Error` here #383
But you will find some hints about `Error: Network Error` here #383
Validation
Resolved in axios/axios GitHub issue #2103. Community reactions: 8 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep