I am getting connection timeout when i run the certbot certonly command

When i run sudo certbot certonly --nginx -d subdomain.domain.com

i am getting this error:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
An unexpected error occurred:
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.

My internet connection is good .

I guess we just have to take your word for it, since you've refused to give your domain name. Good luck to you, then.

3 Likes

I'm confused: what is it, "Connection reset by peer" as in your post or "Connection timeout" as in your thread title? Because those two things are NOT the same.

Also, share the entire log please.

3 Likes

We have seen that a lot with people using Palo Alto brand firewalls and not enabling "ACME Protocol" in their application firewall settings.

Of course, many other possible causes. Without the domain name we won't be able to help diagnose that.

2 Likes

This looks more like an outgoing connection error from Python. Not an error from the ACME server during validation.

5 Likes

Oh, of course. Nevermind :slight_smile:

3 Likes