OpsKitPro logo
OpsKitPro_
Troubleshooting

Cloudflare Error Encyclopedia

A comprehensive troubleshooting guide for common Cloudflare errors (e.g., 522, 1020) from an SRE perspective.

Origin ServerError 520

Web server is returning an unknown error

The origin server returned an empty, unknown, or unexpected response to Cloudflare.

View Guide
Origin ServerError 521

Web server is down

Cloudflare can resolve your origin IP, but the origin server refused the connection (e.g., service stopped or port closed).

View Guide
ConfigurationError 522

Connection timed out

Cloudflare timed out while contacting the origin server. This usually means the origin firewall is dropping Cloudflare requests or the origin is overloaded.

View Guide
ConfigurationError 523

Origin is unreachable

Cloudflare cannot find the origin at the network layer. This typically means incorrect DNS records or the origin route is unreachable.

View Guide
Origin ServerError 524

A timeout occurred

Cloudflare established a TCP connection but timed out waiting for the HTTP response (default 100s). Indicates a slow origin backend.

View Guide
ConfigurationError 525

SSL handshake failed

Cloudflare failed to negotiate a successful SSL/TLS handshake with the origin server.

View Guide
ConfigurationError 526

Invalid SSL certificate

The origin certificate could not be validated. This error only occurs when Cloudflare SSL/TLS mode is set to "Full (strict)".

View Guide
ConfigurationError 1006

Access Denied

The user request was blocked by Cloudflare's high-security policies or Bot Management rules.

View Guide
Client / NetworkError 1015

You are being rate limited

The visitor triggered a Rate Limiting rule on Cloudflare. This is usually an intentional protection mechanism configured by the defender.

View Guide
ConfigurationError 1020

Access Denied (WAF Violation)

The visitor's request violated a custom firewall rule (WAF Custom Rules) configured by the administrator. This is entirely policy-driven.

View Guide