cloudflare / Cloudflare
Cloudflare Error 520: Unknown Origin Response
Cloudflare received an empty, unknown or unexpected response from the origin server. The documentation does not say the origin is down.
Visible symptoms
- A page shows Cloudflare Error 520.
- HTTP status 520.
Safe verification and recovery
Use a temporary workaround
Set the affected DNS record to DNS-only, or temporarily pause Cloudflare.
Check origin logs
Ask your hosting provider or site administrator to review the origin web server error logs for crashes, oversized response headers (over 128 KB, often from excessive cookies), malformed responses, or firewalls blocking Cloudflare IPs.
Check HTTP/2 at the origin
If the origin accepts HTTP/2 without properly supporting it, disable HTTP/2 to Origin under Speed > Settings > Protocol Optimization.
Contact Cloudflare Support if it persists
Provide the full URLs, the cf-ray value, the output of /cdn-cgi/trace and two HAR files, one with Cloudflare enabled and one with it temporarily disabled.
Matching evidence and limitations
Reported error signals
Matches the documented error signal; it identifies the documented case, not the exact root cause of your request.
The local analyzer never executes suggested commands or treats a possible match as certainty.