Skip to content

Commit 266c699

Browse files
authored
[Error] Clarify Origin Rules for Cloudflare error 522 (#26459)
Added clarification on Origin Rules and hostname resolution for error 522. CUSTESC-56897
1 parent e99e402 commit 266c699

File tree

1 file changed

+2
-0
lines changed
  • src/content/docs/support/troubleshooting/http-status-codes/cloudflare-5xx-errors

1 file changed

+2
-0
lines changed

src/content/docs/support/troubleshooting/http-status-codes/cloudflare-5xx-errors/error-522.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ Two different timeouts cause HTTP error `522` depending on when they occur betwe
2929

3030
- If you are using [Workers with a Custom Domain](/workers/configuration/routing/custom-domains/), performing a `fetch` to its own hostname will cause a `522` error. Consider using a [Route](/workers/configuration/routing/), targeting another hostname, or enabling the [`global_fetch_strictly_public` compatibility flag](/workers/configuration/compatibility-flags/#global-fetch-strictly-public) instead.
3131

32+
- If you are using [Origin Rules](/rules/origin-rules/), make sure the resulting hostname can be resolved. For example, if your Origin Rule point to a Worker route, a `522` error will be returned if the hostname for this route is an A record pointing to a reserved address such as `100::` or `192.0.2.0`.
33+
3234
- If none of the above leads to a resolution, request the following information from your hosting provider or site administrator before [contacting Cloudflare support](/support/contacting-cloudflare-support/):
3335

3436
- An [MTR or traceroute](/support/troubleshooting/general-troubleshooting/gathering-information-for-troubleshooting-sites/#perform-a-traceroute) from your origin web server to a [Cloudflare IP address](http://www.cloudflare.com/ips) that most commonly connected to your origin web server before the issue occurred. Identify a connecting Cloudflare IP recorded in the origin web server logs.

0 commit comments

Comments
 (0)