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.
I have tried turning it all off and changing to the old settings + enable development mode but no luck. DNS settings are fine too.