Troubleshooting

Error Codes

Common error codes and how to resolve them.

502

Bad Gateway

The edge server couldn't reach your origin server. Check that your origin is online and responding.

Solution: Verify your origin server is running and accessible. Check firewall rules.

503

Service Unavailable

Your origin server is temporarily overloaded or down for maintenance.

Solution: Wait a few minutes and try again. If persistent, check your origin server health.

504

Gateway Timeout

Your origin server took too long to respond (over 30 seconds).

Solution: Optimize slow database queries or API calls on your origin. Consider increasing timeout limits.

520

Unknown Error

The origin server returned an unexpected response that couldn't be processed.

Solution: Check your origin server logs for errors. Ensure responses have valid HTTP headers.

521

Web Server Down

The origin server refused the connection.

Solution: Ensure your web server (Apache, Nginx, etc.) is running. Check firewall settings.

522

Connection Timed Out

TCP connection to your origin server timed out.

Solution: Check network connectivity to your origin. Verify the origin IP is correct.

Still having issues?

If you're seeing persistent errors, our support team can help diagnose the issue.

Contact Support