5xx Server Error
Not part of the HTTP standard
521 Web Server Is Down
Cloudflare-specific: the origin refused the connection.
What causes it
- The origin process is not running.
- A firewall is blocking Cloudflare IP ranges.
How to fix it
- Confirm the origin is listening, then allow Cloudflare IP ranges through the firewall.
At a glance
- Class
- 5xx Server Error
- Reference
- Cloudflare (non-standard)
- Standardised
- No — vendor extension
- Retry the request?
- Only if idempotent
Other 5xx server error codes
- 500 Internal Server Error
- 501 Not Implemented
- 502 Bad Gateway
- 503 Service Unavailable
- 504 Gateway Timeout
- 505 HTTP Version Not Supported
- 506 Variant Also Negotiates
- 507 Insufficient Storage
- 508 Loop Detected
- 510 Not Extended
- 511 Network Authentication Required
- 520 Web Server Returned an Unknown Error
- 522 Connection Timed Out
- 523 Origin Is Unreachable
- 524 A Timeout Occurred
- 525 SSL Handshake Failed
- 526 Invalid SSL Certificate