Check for incidents or maintenances
If you have noticed a significant increase of 5xx codes or received multiple complaints from users, we recommend checking our Status Page for incidents or maintenance associated with the following services:- CDN service.
- Other Gcore services (if you use one of them as an origin: Object Storage, VPS, Dedicated Server, Edge Cloud).
Check your origin server
Make sure that your origin server is available. If the origin is not responding, or it is returning an HTTP error, contact your hosting provider or server’s administrator to solve this issue.- HTTP 504 error usually appears when an origin server fails to respond in time: the CDN edge servers wait for 5 seconds and, if an origin server is not responding, they return a 504 error. Change the settings of your origin to respond in time.
- If you restrict access to your origin by IP or use DDoS Protection service, make sure that you’ve whitelisted the CDN edge servers. Use an API request below to receive the list of IP:
Check your CDN resource settings
HTTP 5xx errors can be caused by incorrect CDN resource’s settings. Check the list of the most common errors below.Incorrect origin pull protocol
Check the origin pull protocol in the resource’s settings and make sure that your origin server uses the same protocol. For more information about this feature, refer the article. If you use Cloudflare or CloudFront services as an origin server, selectHTTP as the origin pull protocol. If your origin only supports HTTPS, or it has a redirect from HTTP to HTTPS, contact our Gcore Support to add settings.