Will "Adaptive routing" re-route if origin is down?
In the document say that "request is retried once against this origin when receiving HTTP 521, 522, and 523 response codes.". what if origin is down (timeout)?
4 Replies
Your web server being down/timing out would be a 521/522/523
https://developers.cloudflare.com/support/troubleshooting/cloudflare-errors/troubleshooting-cloudflare-5xx-errors/#error-521-web-server-is-down
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 …
It's not like your origin has to return those, those are Cloudflare's responses in specific errors
the 524 timeout there would only be if the connection suceeded but your origin didn't send a response in 100 requests - not to be confused with a timeout on initial connection
Thanks. Is it possible to lower 15 seconds and 90 seconds timeout of 522 error?
I don't think so. You could lower the timeout on your monitor though which would mark that pool as unhealthy/reroute traffic faster
that would be across pools though I suppose