| Previous | Next |
| HTTP_STATUS_UNKNOWN_ERROR | HTTP_STATUS_CONNECTION_TIMED_OUT |
HTTP_STATUS_SERVER_IS_DOWN
Cloudflare documents two common causes: the origin web service is offline, or a firewall/security product blocks Cloudflare IP ranges. It differs from an application-generated 5xx response because the connection did not reach the origin application.
Verify that the origin is listening on the expected port, accepts direct health checks, and permits Cloudflare network ranges. Preserve the Ray ID for correlation with support and server logs.
Operational meaning of HTTP 521 for HTTP_STATUS_SERVER_IS_DOWN
HTTP 521 (HTTP_STATUS_SERVER_IS_DOWN) is a server-error response. AllStat records its meaning as “521 Web Server Is Down”. For HTTP_STATUS_SERVER_IS_DOWN, interpret it with the request method, selected representation, response headers, and the specification or product that defines the code; the number alone does not prove that application work completed.
Client and server handling for HTTP_STATUS_SERVER_IS_DOWN
- Correlate HTTP_STATUS_SERVER_IS_DOWN with origin, gateway, load-balancer, and dependency logs to locate which hop generated it.
- For HTTP_STATUS_SERVER_IS_DOWN, record request and trace identifiers, upstream timing, retry count, and the health of the selected backend.
- For HTTP_STATUS_SERVER_IS_DOWN, use bounded retries with backoff only for idempotent work and only when the service policy permits them.
For telemetry, record HTTP 521, method, authority, route template rather than secrets, response headers relevant to caching or retry, latency, upstream identity, and whether the response originated at the application or an intermediary.
Looking for a different code? Search another status or error code.