Cloudflare 5xx errors
When troubleshooting most
5XX
errors, the correct course of action is to first contact your hosting provider or site administrator to troubleshoot and gather data. The following sections outline:
When contacting your hosting provider, share the following information:
5XX
error code and message.
5XX
error occurred.
5XX
error (for example,
https://www.example.com/images/icons/image1.png
).
The cause of the error is not always found in the origin server's error logs. Be sure to check the logs of any load balancers, caches, proxies, or firewalls between Cloudflare and the origin web server.
Additional details to provide to your hosting provider or site administrator can be found in the error descriptions below. Note that Cloudflare Custom Errors can alter the appearance of default error pages discussed in this page.
Error analytics per domain are available within Zone Analytics . Error analytics provides insights into overall errors by HTTP error code and offers details such as the URLs, source IP addresses, and Cloudflare data centers needed to diagnose and resolve issues. Error Analytics are based on a 1% traffic sample.
To view Error Analytics:
5xx
error code that you want to diagnose.
Log Explorer provides access to Cloudflare logs with all the context available within the Cloudflare platform. You can monitor security and performance issues with custom dashboards or investigate and troubleshoot issues with log search. Log explorer allows to build queries filtering for specific Ray ID, which can be useful to investigate HTTP Errors.
For a complete description of this error refer to the Error 500 page.
For a complete description of this error refer to the Error 502/504 page.
For a complete description of this error refer to the Error 503 page.
For a complete description of this error refer to the Error 520 page.
For a complete description of this error refer to the Error 521 page.
For a complete description of this error refer to the Error 522 page.
For a complete description of this error refer to the Error 523 page.
For a complete description of this error refer to the Error 524 page.