The full details in the logs is:
2022-08-03 10:24:11,743:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
conn.connect()
File "/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connection.py", line 416, in connect
self.sock = ssl_wrap_socket(
File "/snap/certbot/2192/lib/python3.8/site-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
ssl_sock = _ssl_wrap_socket_impl(
File "/snap/certbot/2192/lib/python3.8/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/snap/certbot/2192/usr/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/snap/certbot/2192/usr/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/snap/certbot/2192/usr/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
socket.timeout: _ssl.c:1114: The handshake operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/snap/certbot/2192/lib/python3.8/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/snap/certbot/2192/lib/python3.8/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/snap/certbot/2192/lib/python3.8/site-packages/urllib3/packages/six.py", line 770, in reraise
raise value
File "/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 389, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
File "/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 340, in _raise_timeout
raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Read timed out. (read timeout=45)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/snap/certbot/2192/bin/certbot", line 8, in <module>
sys.exit(main())
File "/snap/certbot/2192/lib/python3.8/site-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
File "/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/main.py", line 1744, in main
return config.func(config, plugins)
File "/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/main.py", line 1434, in run
le_client = _init_le_client(config, authenticator, installer)
File "/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/main.py", line 832, in _init_le_client
return client.Client(config, acc, authenticator, installer, acme=acme)
File "/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/client.py", line 311, in __init__
acme = acme_from_config_key(config, self.account.key, self.account.regr)
File "/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/client.py", line 76, in acme_from_config_key
client = acme_client.BackwardsCompatibleClientV2(net, key, config.server)
File "/snap/certbot/2192/lib/python3.8/site-packages/acme/client.py", line 880, in __init__
directory = messages.Directory.from_json(net.get(server).json())
File "/snap/certbot/2192/lib/python3.8/site-packages/acme/client.py", line 1242, in get
self._send_request('GET', url, **kwargs), content_type=content_type)
File "/snap/certbot/2192/lib/python3.8/site-packages/acme/client.py", line 1180, in _send_request
response = self.session.request(method, url, *args, **kwargs)
File "/snap/certbot/2192/lib/python3.8/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/snap/certbot/2192/lib/python3.8/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/snap/certbot/2192/lib/python3.8/site-packages/requests/adapters.py", line 532, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Read timed out. (read timeout=45)
2022-08-03 10:24:11,745:ERROR:certbot._internal.log:An unexpected error occurred:
2022-08-03 10:24:11,745:ERROR:certbot._internal.log:requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Read timed out. (read timeout=45)