Report this

What is the reason for this report?

Web server is down - error 521

Posted on April 5, 2022

Hi, our droppet is suddenly down. I don’t know what to do. I turned off and on a couple of time and I used the Recovery ISO boot too. I can access console and FTP. But the main site is just… down.



This textbox defaults to using Markdown to format your 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.

Hi @COOPERATIVADE TRABAJO LA REDA,

SSH to your Droplet and try to load the service you are using for your App. If you are using Apache or Nginx try out:

  1. systemctl restart apache2
  2. OR
  3. systemctl restart nginx

Alternatively, if you are using NodeJS or something else that is also needed for your Droplet to work, try and start it as well.

If you experience any errors you can post them here and let us know how you got them so that we can help you further.

Hello,

In addition to what has already been mentioned, I could suggest following the steps here:

  • For Apache:

https://www.digitalocean.com/community/questions/how-to-troubleshoot-common-apache-issues-on-linux-server

  • For Nginx:

https://www.digitalocean.com/community/questions/how-to-troubleshoot-common-nginx-issues-on-linux-server

Feel free to share the output of the commands listed in the tutorial here so we could try to advise you further.

Best,

Bobby

Hello,

I assume that you’re using a CDN service like CloudFlare. The 521 error will usually occur when there is CDN enabled and it will indicate an issue between your local machine and the server or between the CDN and the server itself.

What I usually recommend is to temporarily disable the CDN in order to determine if the issue lies on the droplet, e.g issue with the web-server (Apache/Nginx) or it is DNS related, or some other issue with the CDN.

If you’re using CloudFlare you can check this post from their community:

https://community.cloudflare.com/t/how-do-i-temporarily-disable-cloudflare/68798/2

Regards

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

Dark mode is coming soon.