Error 521 for the whole night & day


#1

So kept getting Error 520 for the past week, Namecheap support says it’s on Cloudflare end as theres no errors on Namecheap logs and Cloudflare says it’s a problem with the host, basically, no help has been provided at all from either side.

Tried to fix the issue by tweaking the settings in cloudflare, added auto minify JS,HTML,CSS, changed SSL to Flexible from Full (because my other site also hosted on namecheap was also on Flexible) and now I get Error 521 PERMANENTLY.

Sometimes the site loads but it’s all messed up and on refresh I get error 521 again.

Site:

I have tried turning it all off and changing to the old settings + enable development mode but no luck. DNS settings are fine too.


#2

Well, that is easy to find out by checking if you can connect directly to Namecheap. If that works it isnt Namecheap, if it doesnt you have your answer as well :slight_smile:


#3

What do you mean connect directly to namecheap?


#4

Not going via Cloudflare’s proxy.


#5

not working so it’s namecheap hosting but if they say it isn’t their problem and that there’s no issues on their side…


#6

Then this is proven wrong by the test you just did.


#7

The issue - at least right now - is that your server presents an HTTPS certificate not valid for your domain. This is something you need to sort out with your host.


#8

I changed SSL from Full to Flexible, think that may be the issue? I didn’t have this HTTPS certificate not valid before doing this but my other domain on the same hosting plan had the SSL at flexible so I thought it was wise to do the same since the other site has never had issues


#9

It might be a temporary fix, but it is not the issue. By switching to Flexible you basically broke the encryption and your site is not secure anymore.

Your host should install a proper certificate on your server and if they cant do that look for a better host.


#10

Namecheap says they offer free SSL. Have you found a way to install an SSL certificate on your server? Their cPanel interface should have a way.


#11

Should be good no? or do I have to do something else


#12

I am not too familiar with Namecheap’s hosting control panel. The might be alright, just give it a try.


#13

still says the same


#14

Nevermind, we’re back to error 521 AGAIN.


#15

Can you post a screenshot of your DNS settings?


#16


#17

I’d probably open a support ticket at this point.

Your server seems to be reachable and occasionally Cloudflare does return content, however mostly it is a 521. Either thats a Cloudflare issue or there is some rate-limiting on Namecheap’s side which prevents Cloudflare from connecting.

Only Cloudflare can say more at this point.


#18

Already did, it’s just back and forth from both supports saying it’s the other one’s fault.


#19

Did you send them a connection ID and could they tell you what the reason for the failed connection was?


#20

What do you mean by connection ID