An unexpected error occurred: HTTPSConnectionPool

An unexpected error occurred:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fa65050c940>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution'))
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.

root@letsencrypt:/etc# dig acme-v02.api.letsencrypt.org @8.8.8.8

; <<>> DiG 9.16.1-Ubuntu <<>> acme-v02.api.letsencrypt.org @8.8.8.8
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 56221
;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;acme-v02.api.letsencrypt.org. IN A

;; ANSWER SECTION:
acme-v02.api.letsencrypt.org. 7200 IN CNAME prod.api.letsencrypt.org.
prod.api.letsencrypt.org. 300 IN CNAME ca80a1adb12a4fbdac5ffcbc944e9a61.pacloudflare.com.
ca80a1adb12a4fbdac5ffcbc944e9a61.pacloudflare.com. 300 IN A 172.65.32.248

;; Query time: 48 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Mon Jan 24 17:31:31 UTC 2022
;; MSG SIZE rcvd: 155

root@letsencrypt:/etc#

Is my IP blocked?

That is not the usual message when an IP is blocked.

But, you will need to share your IP address or domain name for that to be checked.

Is this a persistent problem? Or a temp one as noted in the message?

2 Likes

This error is fully client-side, so has nothing to do with being blocked or not.

3 Likes

My IP is 76.22.1.7. It is a persistent problem now. I have not encountered this before.

Is the IP 8.8.8.8 also set up as your hosts DNS server? I.e., in /etc/resolv.conf?

2 Likes

root@letsencrypt:/etc/netplan# systemd-resolve --status | grep 'DNS Servers' -A2
DNS Servers: 8.8.8.8
8.8.4.4
192.168.121.20
root@letsencrypt:/etc/netplan#

Strange. Just tried this again and now it seems to be working. Sorry for firedrill

2 Likes

Does that DNS server work?

2 Likes

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