Website not working when accessed from CA (521 error)

Hey there Cloudflare community!

My website, https://wizardsunitehub.info/, is throwing a 521 error when accessed from CA. The site is available from other places worldwide, all caches have been flushed and cleared. The 24x7 availability tools show the same result. Not really sure what’s happening, CF status claims everything is ok…?

You mean California, not Canada, right?

On http://sitemeer.com/#https://wizardsunitehub.info it works fine everywhere.

Can you rule out an issue with the site where you checked it?

It could be an ISP issue where they’re blocking Cloudflare’s IP address(es).

I can confirm it works through Vancouver and Montreal.

What does the 521 error screen look like? Is it a Cloudflare error screen? If it’s a Cloudflare screen, post the Ray ID.

Assuming it shows a Cloudflare 521 it shouldnt be an ISP issue.

The OP referred to CA, US as far as I understand and not CA.

@sdayman, you can open it without issue I presume, right?

Site’s up, dude. :surfing_man:

Now we just need to find the car. :smile:

2 Likes

Hey everyone, thanks for the quick responses, just wanted to update what happened:

fail2ban was not properly configured and it banned CF IP range in California (not Canada :P). Once CF IP range was whitelisted, the issue was resolved.

So for anyone who’s experiencing the same issue, change your fail2ban whitelist to include CF IP range.

2 Likes

This makes me think the server is not yet configured to Restore Visitor IP addresses:
https://support.cloudflare.com/hc/en-us/sections/200805497-Restoring-Visitor-IPs

It’s not!

https://support.cloudflare.com/hc/en-us/articles/204073570-Can-I-still-use-fail2ban-while-using-Cloudflare-

It is now :slight_smile:

1 Like

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