HTTP 523 Origin Is Unreachable in Cloudflare
Cloudflare — CDN, WAF, and edge network in front of your origin.
What triggers it in Cloudflare
Cloudflare can't route to the origin — DNS mismatch or origin IP unreachable.
How to fix it on Cloudflare
Verify the A/AAAA record for the origin and that the IP is publicly routable.
Where you'll see it
The Cloudflare edge before your origin ever sees the request. Look at the Ray ID in the response.
Monitor 523 responses continuously
Lemwatch checks your Cloudflare endpoints as often as every 5 minutes and alerts the moment a 523 pattern appears — with the full response headers and body captured, so you can debug without waiting for the next customer report.
Same error on other platforms
523 Origin Is Unreachable in Cloudflare — FAQs
Cloudflare can't route to the origin — DNS mismatch or origin IP unreachable.
Verify the A/AAAA record for the origin and that the IP is publicly routable.
523 on Cloudflare is usually transient — it clears once the underlying resource (function, upstream API, or cache node) recovers. If it persists more than 5 minutes across regions, treat it as a real incident and check The Cloudflare edge before your origin ever sees the request. Look at the Ray ID in the response..
Complete site outage through Cloudflare. Will be treated as downtime by search engines. On Cloudflare specifically, Googlebot sees the same 523 your users see, so unresolved errors get reflected in Search Console's Page indexing report within days.
Set up an HTTP monitor that pings your key Cloudflare endpoints from multiple regions every 1–5 minutes and alerts on any non-2xx response. Lemwatch does this out of the box — including capturing the full response headers and body when a 523 hits, so you can debug without waiting for the next user report.
Both are server error responses, but they mean different things: 523 Origin Is Unreachable indicates cloudflare could not reach the origin server, likely due to dns issues., while 521 is a distinct condition with its own root cause. On Cloudflare, the fix path and the log signature are different — check the exact status code your Cloudflare logs return before applying a fix.