Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to Solve Error 521 Cloudflare?
I keep getting a error 521 on a site I have running the one-click WordPress install on a Ubuntu droplet. I saw on Cloudflare’s website that you need to make sure their IPs are whitelisted which I did through the firewall in networking. The SSL I have activated currently is Full (non strict). I found another thread that suggested running this command: iptables -A INPUT -p tcp -m tcp –dport 443 -j ACCEPT
This did not solve the issue for me. What is odd is that I can refresh the page sometimes and it lets me go to the site, but when I navigate to another page it happens almost every time, but again allows me to go through if I refresh.
Any help would be greatly appreciated!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×