I experience the same problem as in this post:
Version: certbot 0.31.0
When running: sudo certbot renew --dry-run
I get:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Processing /etc/letsencrypt/renewal/shufflemix.com.conf
Cert is due for renewal, auto-renewing...
Plugins selected: Authenticator webroot, Installer None
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for shufflemix.com
http-01 challenge for shufflemix.de
http-01 challenge for shufflemix.nl
http-01 challenge for www.shufflemix.com
http-01 challenge for www.shufflemix.de
http-01 challenge for www.shufflemix.nl
Waiting for verification...
Cleaning up challenges
Attempting to renew cert (shufflemix.com) from /etc/letsencrypt/renewal/shufflemix.com.conf produced an unexpected error: Failed authorization procedure. www.shufflemix.de (http-01): urn:ietf:params:acme:error:connection :: The server could not connect to the client to verify the domain :: Fetching https://www.shufflemix.de/.well-known/acme-challenge/3cg2dKI85X-eJr7EGVMxELKYtCj5MeD5tTa5EQ13fC4: Error getting validation data. Skipping.
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/shufflemix.com/fullchain.pem (failure)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates below have not been saved.)
All renewal attempts failed. The following certs could not be renewed:
/etc/letsencrypt/live/shufflemix.com/fullchain.pem (failure)
** DRY RUN: simulating 'certbot renew' close to cert expiry
** (The test certificates above have not been saved.)
1 renew failure(s), 0 parse failure(s)
IMPORTANT NOTES:
-
The following errors were reported by the server:
Domain: www.shufflemix.de
Type: connection
Detail: Fetching
https://www.shufflemix.de/.well-known/acme-challenge/3cg2dKI85X-eJr7EGVMxELKYtCj5MeD5tTa5EQ13fC4:
Error getting validation dataTo fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address. Additionally, please check that
your computer has a publicly routable IP address and that no
firewalls are preventing the server from communicating with the
client. If you're using the webroot plugin, you should also verify
that you are serving files from the webroot path you provided.
Timeout during connect (likely firewall problem) Is the main problem. But All domains are ok. No firewall applied. Using Fail2ban.
How to deal with this. Since the certs need to be renewed by tomorrow (its a clients site).