Error in Cloudflare Cache
Someone how to solve the error 420 - 425 of CloudFlare that shows as the server could not connect but after a while it leaves or in another device / incognito it works? It happens when loading x resources "randomly".
12 Replies
🥺
Which specific error are you talking about? 4XX are Client Errors. There's a bunch of possible errors 520-525, but would have to be more specific: https://developers.cloudflare.com/support/troubleshooting/cloudflare-errors/troubleshooting-cloudflare-5xx-errors/#error-520-web-server-returns-an-unknown-error
Cloudflare Docs
Troubleshooting Cloudflare 5XX errors · Cloudflare Support docs
When troubleshooting most 5XX errors, the correct course of action is to first contact your hosting provider or site administrator to troubleshoot and …
They are errors that occur temporarily on a device but if I access from incognito not, I think it is 421 or 422 normally.
Do you mean 521 and 522?
421 and 422 are Client Error codes, saying the client did something wrong:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422
https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/421
521 and 522 are Server Error codes, "Web Server Down" and "Connection Timed out" respectively
The thing is that if it does not work now for example, I enter in 1 minute or I enter in incognito and it works, the problem is that several customers have already reported this problem.
Can you think of what it could be?
What exact status codes are they getting?
If it's 421/422 (which is very doubtful), very different advice then from 521/522
521/522 are both origin web server errors related to connection: https://developers.cloudflare.com/support/troubleshooting/cloudflare-errors/troubleshooting-cloudflare-5xx-errors/#error-522-connection-timed-out
Your origin web server could be overloaded, if you have multiple A/AAAA records in Cloudflare it may be failing over/retrying on the other one, etc
Cloudflare Docs
Troubleshooting Cloudflare 5XX errors · Cloudflare Support docs
When troubleshooting most 5XX errors, the correct course of action is to first contact your hosting provider or site administrator to troubleshoot and …
Right now we don't have an error to tell you, but it's 421 & 422 usually.
421 and 422 are
421 Misdirected Request
The HTTP 421 Misdirected Request client error response code indicates that the request was directed to a server that is not able to produce a response. This might be possible if a connection is reused or if an alternative service is selected.422 Unprocessable Content
The HyperText Transfer Protocol (HTTP) 422 Unprocessable Content response status code indicates that the server understands the content type of the request entity, and the syntax of the request entity is correct, but it was unable to process the contained instructions.
Not a 5XX error
It is a cache problem with cloudflare, what do you recommend to do?
I would recommend getting the actual status code/a screenshot of it. If it's cloudflare branded, it's not 421/422
If you have Pro or higher in Cloudflare, you can use Web Traffic Analytics to view Edge Status Codes as well
I will retry it to see the error