Cloudflare has made some very useful 5xx errors for troubleshooting. From wikipedia:
- 520 Unknown Error: The 520 error is used as a "catch-all response for when the origin server returns something unexpected", listing connection resets, large headers, and empty or invalid responses as common triggers.
- 521 Web Server Is Down: The origin server has refused the connection from Cloudflare.
- 522 Connection Timed Out: Cloudflare could not negotiate a TCP handshake with the origin server.
- 523 Origin Is Unreachable: Cloudflare could not reach the origin server; for example, if the DNS records for the origin server are incorrect.
- 524 A Timeout Occurred:Cloudflare was able to complete a TCP connection to the origin server, but did not receive a timely HTTP response.
- 525 SSL Handshake Failed: Cloudflare could not negotiate a SSL/TLS handshake with the origin server.
- 526 Invalid SSL Certificate: Cloudflare could not validate the SSL/TLS certificate that the origin server presented.
Cloudflare has made some very useful 5xx errors for troubleshooting. From wikipedia: