Unexpected error (requests.exceptions.ConnectionError)

Hi
I ran this command: sudo certbot --apache

It produced this output:Deploying certificate
Successfully deployed certificate for ***
Successfully deployed certificate for ***
Congratulations! You have successfully enabled HTTPS on ***
An unexpected error occurred:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='supporters.eff.org', port=443): Max retries exceeded with url: /subscribe/certbot (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa8ec1008e0>: Fai led to establish a new connection: [Errno 111] Connection refused'))

My web server is (include version): apache

The operating system my web server runs on is (include version): ubuntu 20.04.4

My hosting provider, if applicable, is:

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): 1.29.0

You can safely ignore this error. It looks like Certbot failed to sign you up to the EFF mailing list, which is not really a problem for your certificate.

3 Likes

Thank for your answer.
But my site is not opened and the message "This site can’t be reached" is encountered.

1 Like

Oh, I made a childish mistake. I had forgotten to open port 443 in the firewall. The problem was solved and the site was opened. :innocent:

2 Likes

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