Site is suddenly returning 522 response on some networks

Hi, I’m quite new to using Cloudflare so sorry if this question is a bit dumb.

I moved my sites DNS from Netlify to Cloudflare a couple of months ago, the setup was done automatically by Cloudflare. And everything was working like a charm for some time.
But suddenly, 3 days ago my site stopped working on my home network, it was timing out. Naturally after a short burst of panic I went to check if Cloudflare was down, it was not, and then checked if my host, Netlify, was down, it was not. And i could see that there was traffic to the site in Google analytics. I connected via hotspot on my phone and the site was working.

Is this a known issue with Cloudflare and Netlify? Have I forgotten something in my Cloudflare setup, or maybe I needed to change something in Netlify? I’ve asked in the support forum for Netlify and they cant find anything wrong this was the response I got "The domain is routing to Cloudflare and failing to return content. As we cannot see the Cloudflare configuration, we have no way to identify why it is failing.

I recommend contacting the technical support for Cloudflare to find out why this is happening."

If i ping my site from my home network i get:

Pinging [] with 32 bytes of data:
Reply from bytes=32 time=1ms TTL=54
Reply from bytes=32 time=2ms TTL=54
Reply from bytes=32 time=4ms TTL=54
Reply from bytes=32 time=2ms TTL=54

Ping statistics for
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 4ms, Average = 2ms

And if i ping from the hotspot:

Pinging [2606:4700:3034::6815:54ef] with 32 bytes of data:
Reply from 2606:4700:3034::6815:54ef: time=17ms
Reply from 2606:4700:3034::6815:54ef: time=22ms
Reply from 2606:4700:3034::6815:54ef: time=26ms
Reply from 2606:4700:3034::6815:54ef: time=22ms

Ping statistics for 2606:4700:3034::6815:54ef:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 17ms, Maximum = 26ms, Average = 21ms

I used to check the site as well and it’s failing in a few locations.

nslookup returns this on wifi:

Server:  UnKnown
Address:  fe80::28ea:2dff:fe6b:1c64

Non-authoritative answer:
Addresses:  2606:4700:3034::6815:54ef

and this on hotspot:

Server:  router.domain_not_set.invalid

Non-authoritative answer:
Addresses:  2606:4700:3036::ac43:c6e4

my site is
What can I do to remedy this?

I am able to replicate this. A 522 error typically happens when Cloudflare requests to the origin (your webserver) get blocked. Review the suggestions in this Community Tip for troubleshooting ideas.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.