Failed to renew SSL

Anyone can help why the renewal was failed :

Cert is due for renewal, auto-renewing… Plugins selected: Authenticator apache, Installer apache Attempting to renew cert ( from /etc/letsencrypt/renewal/ produced an unexpected error: HTTPSConnectionPool(host=‘’, port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError(‘<urllib3.connection.VerifiedHTTPSConnection object at 0x7ff9cae9a518>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution’,)). Skipping. All renewal attempts failed. The following certs could not be renewed: /etc/letsencrypt/live/ (failure)

Thanks for anyone who try to help


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.

try to ping a public domain (e.g. from your droplet. If it failed, try to ping a well known IP address (e.g. if it also failed, then you have connection issue. . But if ping an IP is success, then you have DNS issue. . from my previous experience, I face similar issue due to DNS resolution failed. When repair the DNS in my instance ( I change my server DNS to Google DNS), the problem is then fixed. . re-check and re-setup your DNS configuration from your droplet.


What I could suggest is testing the connection to the letsencrypt api server. You could do that with these two commands:



telnet 443

Note that you need to run those two from your droplet.

Also if the connection is successful I would recommend trying to run the renewal manually.

Hope that this helps! Regards, Bobby