Error 521 SSL Cloudflare


I installed WordPress on my Ubuntu droplet and activated Cloudflare SSL.

Now when I am trying to go to the site, the site is, as usual, redirecting to https version but is returning error 521. How do I rectify this error?

Thanks, Krishna


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

CloudFlare provides this troubleshooting document for 521 errors. The most common reason for this error is if your web server process is not running or listening on the expected port. See if you can access your web server directly by the IP just in case.