By PennyWise94
I’ve been using my droplet for over a year now, running nginx on an Ubuntu 18 system. I use Let’s Encrypt to automatically renew SSL certificates, but I started receiving errors for the renewal process.
Thus, I asked the Let’s Encrypt community, and got some really valuable help. Read the discussion here: https://community.letsencrypt.org/t/timeout-after-connect-your-server-may-be-slow-or-overloaded/128158
The last suggestion from the person who helped me (_az) implied something could be wrong with the server, as the responses I get indicate a problem with the network i/o. The first issue I encountered was related to the Let’s Encrypt validation server talking to the droplet, and now the issue is the droplet talking to the Let’s Encrypt API).
Can any of you help me out, based on the logs (see the link to Let’s Encrypt Community I posted), or help me find the issue here? I really need to be able to renew me certificates, and I want to make sure everything is OK with the droplet, otherwise it’s kind of useless to keep paying for it.
The related domains for the certificates are: prsnl-server.com www.prsnl-server.com files.prsnl-server.com
Thanks in advance!
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!
Hello,
Do you get the error constantly or is it an intermittent problem?
If this is an intermittent problem, what I could suggest is that the next time it happens, you should check a few things on your server:
Check the resources utilization on your server, you could use either the htop or the ps -aux commands to check that. If your server has a really high CPU utilization it could mean that the response time is slower, which in some cases could result in timeouts.
Check the number of TCP connections to your Nginx services, you could use the netstat -plant command to check that. If there is a really big number of TCP connections, Nginx might be hitting its max_conns limit which would again result in timeouts.
If this is the case, change the time when the renewal happens and set it to a less busy period, you can check your servers usage graphs and spot a quiet period of time.
Also I would recommend going through your Nginx access and error logs for some more information.
Let me know how it goes! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.