Troubleshooting 5xx Responses

5xx status codes are generated by the web server associated with a customer origin configuration. By default, our edge servers will forward a 5xx response to requesterRefers to the user that requested content.s when a web server is unavailable and one of the following conditions are met:

5xx responses are not typically related to our CDN service and must be resolved by a webmaster or system administrator.

Mitigation

Mitigate the effects of an unavailable web server by configuring it to:

Learn more about Origin Shield.

Troubleshooting a Network Issue

A 5xx response may be a result of a network issue between the web server and the CDN.

Perform a traceroute from the web server experiencing issues to the primary CAN Gateway server as defined in the corresponding customer origin configuration.

Learn more.

A traceroute that reveals excessive latency is indicative of broader network issues

Status Codes

Additional information for specific 5xx status codes is provided below.

Status Code Description

500 Internal Server

Indicates that the web server experienced an error that prevented it from serving the requested content.

503 Service Unavailable

Indicates that the web server is overloaded or down for maintenance.

504 Gateway Timeout

Indicates that a timely response was not received from the web server.

Learn more.