-
Notifications
You must be signed in to change notification settings - Fork 215
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
Retry ERR_NETWORK
error in Axios requests
#2903
Comments
Sentry issue: OPENVERSE-FRONTEND-131 |
ERR_NETOWORK
error in Axios requestsERR_NETWORK
error in Axios requests
How do you plan on alerting the user about the error? Any specific context |
@ArslanYM how the user is notified of these failures would depend on the request caller. Once the main causes of these failures are determined, we might need designs for components that can communicate error state to the users (similar to how the skeletons convey loading state). Currently we are in the step of finding the causes and hotspots in the code where these errors occur. |
What is the best solution here, @WordPress/openverse-frontend ? Should we retry the request 2 (or 3 times) before displaying the error page? We recently stopped sending I removed "help wanted" label here because this issue is not actionable in the current state. |
That's right, @sarayourfriend, #3850 (the updated version of #3721) has stopped the
Since this error is not sent to Sentry anymore, I thought that this issue should handle the setting up of retries after a network error, based on @dhruvkb's note:
|
ERR_NETWORK
error in Axios requestsERR_NETWORK
error in Axios requests
Description
Axios requests can, in many cases, fail with
ERR_NETWORK
if the network connection is unstable. These errors must be handled with a certain number of retries followed by a message to the user regarding the error.The text was updated successfully, but these errors were encountered: