Autocert Failure Error

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. |, so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command: sudo certbot renew --dry-run

It produced this output: Attempting to renew cert ( from /etc/letsencrypt/renewal/ produced an unexpected error: HTTPSConnectionPool(host='', port=443): Max retries exceeded with url: /directory (Caused by SSLError(SSLError("bad handshake: SysCallError(104, 'ECONNRESET')"))). Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/ (failure)

My web server is (include version): Node.js v14.15.4

The operating system my web server runs on is (include version): Ubuntu 20.04 (LTS) x64

My hosting provider, if applicable, is: DigitalOceans

I can login to a root shell on my machine (yes or no, or I don't know): Yes

I'm using a control panel to manage my site (no, or provide the name and version of the control panel): No

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you're using Certbot): 0.40.0

Welcome to the Let's Encrypt Community :slightly_smiling_face:


hi! thanks :slight_smile: ah - so this maintenance is the most likely cause of my error?

I guarantee it! :grin:


The --dry-run flag in Certbot attempts to obtain a cert from the Let's Encrypt Staging environment. It's an excellent way to test that your server is correctly configured and will pass validation/obtain a certificate before attempting issuance in production. So, if you have any problems obtaining a cert with the --dry-run flag it's likely you will have the same issue when attempting issuance in prod. In this case, we are having maintenance in our Staging environment and the error you received is a result of that. When the maintenance period ends, you can try again and see if you are able to obtain a cert.

You can see all the past, ongoing, and upcoming maintenances at It's also possible to subscribe for updates!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.