Cloudflare error 522 on mobile browser (4g connection)

WordPress site is connected via cloudflare cloudflare is configured like this: SSL - Full (strict) enabled wp plugin “Cloudflare”

I get error 522 (connection timed out) through my ANY mobile browser in my smartfon (use 4g internet conection, Megafon-Moscow, Russia).

But if enable VPN application, connection available! From home PC too all good.

how is this explained?

Most likely, the host is blocking the IP address of the Cloudflare edge node that’s trying to connect through Megafon’s route. From your 4G phone, can you connect to example.com/cdn-cgi/trace (but use your site’s hostname) and let us know which “colo” it says?

And do the same with your VPN and home PC as well.

Mobile:

fl=128f128
h=[…].ru
ip=178.176.78.164
ts=1628376858.987
visit_scheme=http
uag=Mozilla/5.0 (Linux; Android 10; ELE-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Mobile Safari/537.36
colo=ARN
http=http/1.1
loc=RU
tls=off
sni=off
warp=off
gateway=off

(I had a rule - prohibiting any http below version 2, I disabled it, but it did not help )

Home PC
fl=20f591
h=[…].ru
ip=[…]
ts=1628377127.109
visit_scheme=https
uag=Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0
colo=AMS
http=http/3
loc=RU
tls=TLSv1.3
sni=plaintext
warp=off
gateway=off

VPN
fl=15f427
h=[…].ru
ip=139.28.179.12
ts=1628377314.677
visit_scheme=http
uag=Mozilla/5.0 (Linux; Android 10; ELE-L29) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Mobile Safari/537.36
colo=DFW
http=http/1.1
loc=US
tls=off
sni=off
warp=off
gateway=off

Ok, then that’s most likely it. The host is blocking some of these addresses: cloudflare.com/ips

What do you mean by “host”? Mobile service provider?

Of the website.

2 Likes

ok. thanks!

1 Like

Only I do not understand how this is possible.
Why, then, is the site available from other IP addresses?
cloudflare addresses the host at different ip addresses, depending on some client connection parameters?

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