Website not working when accessed from CA (521 error)

#1

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…?

#2

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?

#3

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.

#4

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?

#5

Site’s up, dude. :surfing_man:

#6

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

2 Likes
#7

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
#8

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

#9

It’s not!

#10
#11

It is now :slight_smile:

1 Like
closed #12

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