certbot renew --dry-run
2022-08-22 05:21:35,859:DEBUG:urllib3.connectionpool:http://localhost:None "GET /v2/connections?snap=certbot&interface=content HTTP/1.1" 200 97
2022-08-22 05:21:36,163:DEBUG:certbot._internal.main:certbot version: 1.29.0
2022-08-22 05:21:36,163:DEBUG:certbot._internal.main:Location of certbot entry point: /snap/certbot/2192/bin/certbot
2022-08-22 05:21:36,163:DEBUG:certbot._internal.main:Arguments: ['--dry-run', '--preconfigured-renewal']
2022-08-22 05:21:36,163:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2022-08-22 05:21:36,175:DEBUG:certbot._internal.log:Root logging level set at 30
2022-08-22 05:21:36,175:DEBUG:certbot._internal.display.obj:Notifying user: Processing /etc/letsencrypt/renewal/admin.qr.orgp.spb.ru.conf
2022-08-22 05:21:36,194:DEBUG:certbot._internal.plugins.selection:Requested authenticator <certbot._internal.cli.cli_utils._Default object at 0x7feab2b0bc40> and installer <certbot._internal.cli.cli_utils._Default object at 0x7feab2b0bc40>
2022-08-22 05:21:36,194:DEBUG:certbot._internal.cli:Var dry_run=True (set by user).
2022-08-22 05:21:36,194:DEBUG:certbot._internal.cli:Var server={'dry_run', 'staging'} (set by user).
2022-08-22 05:21:36,194:DEBUG:certbot._internal.cli:Var dry_run=True (set by user).
2022-08-22 05:21:36,194:DEBUG:certbot._internal.cli:Var server={'dry_run', 'staging'} (set by user).
2022-08-22 05:21:36,194:DEBUG:certbot._internal.cli:Var account={'server'} (set by user).
2022-08-22 05:21:36,211:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): r3.o.lencr.org:80
2022-08-22 05:21:46,260:INFO:certbot.ocsp:OCSP check failed for /etc/letsencrypt/archive/admin.qr.orgp.spb.ru/cert1.pem (are we offline?)
Traceback (most recent call last):
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/http/client.py", line 1348, in getresponse
response.begin()
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/http/client.py", line 316, in begin
version, status, reason = self._read_status()
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/http/client.py", line 277, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/packages/six.py", line 770, in reraise
raise value
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 451, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 340, in _raise_timeout
raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='r3.o.lencr.org', port=80): Read timed out. (read timeout=10)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/certbot/ocsp.py", line 173, in _check_ocsp_cryptography
response = requests.post(url, data=request_binary,
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/api.py", line 117, in post
return request('post', url, data=data, json=json, **kwargs)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/adapters.py", line 532, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='r3.o.lencr.org', port=80): Read timed out. (read timeout=10)
2022-08-22 05:21:46,264:INFO:certbot._internal.renewal:Certificate not due for renewal, but simulating renewal for dry run
2022-08-22 05:21:46,264:DEBUG:certbot._internal.plugins.selection:Requested authenticator standalone and installer None
2022-08-22 05:21:46,266:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * standalone
Description: Spin up a temporary webserver
Interfaces: Authenticator, Plugin
Entry point: standalone = certbot._internal.plugins.standalone:Authenticator
Initialized: <certbot._internal.plugins.standalone.Authenticator object at 0x7feab2ad3fd0>
Prep: True
2022-08-22 05:21:46,266:DEBUG:certbot._internal.plugins.selection:Selected authenticator <certbot._internal.plugins.standalone.Authenticator object at 0x7feab2ad3fd0> and installer None
2022-08-22 05:21:46,267:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator standalone, Installer None
2022-08-22 05:21:46,272:DEBUG:certbot._internal.main:Picked account: <Account(RegistrationResource(body=Registration(key=None, contact=(), agreement=None, status=None, terms_of_service_agreed=None, only_return_existing=None, external_account_binding=None), uri='https://acme-staging-v02.api.letsencrypt.org/acme/acct/58639314', new_authzr_uri=None, terms_of_service=None), 320b8d8d33ffbf76e6f4b6e9bb890115, Meta(creation_dt=datetime.datetime(2022, 6, 25, 13, 32, 12, tzinfo=<UTC>), creation_host='qr-gwnat1.mos.orgp.ru', register_to_eff=None))>
2022-08-22 05:21:46,273:DEBUG:acme.client:Sending GET request to https://acme-staging-v02.api.letsencrypt.org/directory.
2022-08-22 05:21:46,274:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-staging-v02.api.letsencrypt.org:443
2022-08-22 05:21:46,328:ERROR:certbot._internal.renewal:Failed to renew certificate admin.qr.orgp.spb.ru with error: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2022-08-22 05:21:46,330:DEBUG:certbot._internal.renewal:Traceback was:
Traceback (most recent call last):
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
conn.connect()
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connection.py", line 416, in connect
self.sock = ssl_wrap_socket(
File "/var/lib/snapd/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 "/var/lib/snapd/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 "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1040, in _validate_conn
conn.connect()
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connection.py", line 416, in connect
self.sock = ssl_wrap_socket(
File "/var/lib/snapd/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 "/var/lib/snapd/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 "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/ssl.py", line 1040, in _create
self.do_handshake()
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/ssl.py", line 1309, in do_handshake
self._sslobj.do_handshake()
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/renewal.py", line 484, in handle_renewal_request
main.renew_cert(lineage_config, plugins, renewal_candidate)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/main.py", line 1539, in renew_cert
le_client = _init_le_client(config, auth, installer)
File "/var/lib/snapd/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 "/var/lib/snapd/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 "/var/lib/snapd/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 "/var/lib/snapd/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 "/var/lib/snapd/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 "/var/lib/snapd/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 "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/adapters.py", line 501, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2022-08-22 05:21:46,331:DEBUG:certbot._internal.display.obj:Notifying user: Processing /etc/letsencrypt/renewal/api.qr.orgp.spb.ru.conf
2022-08-22 05:21:46,331:DEBUG:certbot._internal.cli:Var dry_run=True (set by user).
2022-08-22 05:21:46,331:DEBUG:certbot._internal.cli:Var server={'dry_run', 'staging'} (set by user).
2022-08-22 05:21:46,331:DEBUG:certbot._internal.cli:Var dry_run=True (set by user).
2022-08-22 05:21:46,331:DEBUG:certbot._internal.cli:Var server={'dry_run', 'staging'} (set by user).
2022-08-22 05:21:46,331:DEBUG:certbot._internal.cli:Var account={'server'} (set by user).
2022-08-22 05:21:46,348:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): r3.o.lencr.org:80
2022-08-22 05:21:46,405:DEBUG:urllib3.connectionpool:http://r3.o.lencr.org:80 "POST / HTTP/1.1" 200 503
2022-08-22 05:21:46,406:DEBUG:certbot.ocsp:OCSP response for certificate /etc/letsencrypt/archive/api.qr.orgp.spb.ru/cert1.pem is signed by the certificate's issuer.
2022-08-22 05:21:46,406:DEBUG:certbot.ocsp:OCSP certificate status for /etc/letsencrypt/archive/api.qr.orgp.spb.ru/cert1.pem is: OCSPCertStatus.GOOD
2022-08-22 05:21:46,406:INFO:certbot._internal.renewal:Certificate not due for renewal, but simulating renewal for dry run
2022-08-22 05:21:46,406:DEBUG:certbot._internal.plugins.selection:Requested authenticator standalone and installer None
2022-08-22 05:21:46,409:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * standalone
Description: Spin up a temporary webserver
Interfaces: Authenticator, Plugin
Entry point: standalone = certbot._internal.plugins.standalone:Authenticator
Initialized: <certbot._internal.plugins.standalone.Authenticator object at 0x7feab2ad3250>
Prep: True
2022-08-22 05:21:46,409:DEBUG:certbot._internal.plugins.selection:Selected authenticator <certbot._internal.plugins.standalone.Authenticator object at 0x7feab2ad3250> and installer None
2022-08-22 05:21:46,409:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator standalone, Installer None
2022-08-22 05:21:46,414:DEBUG:certbot._internal.main:Picked account: <Account(RegistrationResource(body=Registration(key=None, contact=(), agreement=None, status=None, terms_of_service_agreed=None, only_return_existing=None, external_account_binding=None), uri='https://acme-staging-v02.api.letsencrypt.org/acme/acct/58639314', new_authzr_uri=None, terms_of_service=None), 320b8d8d33ffbf76e6f4b6e9bb890115, Meta(creation_dt=datetime.datetime(2022, 6, 25, 13, 32, 12, tzinfo=<UTC>), creation_host='qr-gwnat1.mos.orgp.ru', register_to_eff=None))>
2022-08-22 05:21:46,414:DEBUG:acme.client:Sending GET request to https://acme-staging-v02.api.letsencrypt.org/directory.
2022-08-22 05:21:46,415:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-staging-v02.api.letsencrypt.org:443
2022-08-22 05:21:47,028:DEBUG:urllib3.connectionpool:https://acme-staging-v02.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 200 836
2022-08-22 05:21:47,029:DEBUG:acme.client:Received response:
HTTP 200
Server: nginx
Date: Mon, 22 Aug 2022 09:21:46 GMT
Content-Type: application/json
Content-Length: 836
Connection: keep-alive
Cache-Control: public, max-age=0, no-cache
X-Frame-Options: DENY
Strict-Transport-Security: max-age=604800
{
"_ZhVzXhT0HA": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417",
"keyChange": "https://acme-staging-v02.api.letsencrypt.org/acme/key-change",
"meta": {
"caaIdentities": [
"letsencrypt.org"
],
"termsOfService": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017-w-v1.3-notice.pdf",
"website": "https://letsencrypt.org/docs/staging-environment/"
},
"newAccount": "https://acme-staging-v02.api.letsencrypt.org/acme/new-acct",
"newNonce": "https://acme-staging-v02.api.letsencrypt.org/acme/new-nonce",
"newOrder": "https://acme-staging-v02.api.letsencrypt.org/acme/new-order",
"renewalInfo": "https://acme-staging-v02.api.letsencrypt.org/get/draft-aaron-ari/renewalInfo/",
"revokeCert": "https://acme-staging-v02.api.letsencrypt.org/acme/revoke-cert"
}
2022-08-22 05:21:47,029:DEBUG:certbot._internal.display.obj:Notifying user: Simulating renewal of an existing certificate for api.qr.orgp.spb.ru
2022-08-22 05:21:47,161:DEBUG:acme.client:Requesting fresh nonce
2022-08-22 05:21:47,162:DEBUG:acme.client:Sending HEAD request to https://acme-staging-v02.api.letsencrypt.org/acme/new-nonce.
2022-08-22 05:21:47,170:ERROR:certbot._internal.renewal:Failed to renew certificate api.qr.orgp.spb.ru with error: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2022-08-22 05:21:47,171:DEBUG:certbot._internal.renewal:Traceback was:
Traceback (most recent call last):
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/http/client.py", line 1348, in getresponse
response.begin()
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/http/client.py", line 316, in begin
version, status, reason = self._read_status()
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/http/client.py", line 277, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
ConnectionResetError: [Errno 104] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/http/client.py", line 1348, in getresponse
response.begin()
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/http/client.py", line 316, in begin
version, status, reason = self._read_status()
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/http/client.py", line 277, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/renewal.py", line 484, in handle_renewal_request
main.renew_cert(lineage_config, plugins, renewal_candidate)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/main.py", line 1541, in renew_cert
renewed_lineage = _get_and_save_cert(le_client, config, lineage=lineage)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/main.py", line 129, in _get_and_save_cert
renewal.renew_cert(config, domains, le_client, lineage)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/renewal.py", line 344, in renew_cert
new_cert, new_chain, new_key, _ = le_client.obtain_certificate(domains, new_key)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/client.py", line 442, in obtain_certificate
orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/client.py", line 492, in _get_order_and_authorizations
orderr = self.acme.new_order(csr_pem)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/acme/client.py", line 942, in new_order
return cast(ClientV2, self.client).new_order(csr_pem)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/acme/client.py", line 703, in new_order
response = self._post(self.directory['newOrder'], order)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/acme/client.py", line 103, in _post
return self.net.post(*args, **kwargs)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/acme/client.py", line 1275, in post
return self._post_once(*args, **kwargs)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/acme/client.py", line 1286, in _post_once
data = self._wrap_in_jws(obj, self._get_nonce(url, new_nonce_url), url, acme_version)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/acme/client.py", line 1263, in _get_nonce
response = self._check_response(self.head(new_nonce_url), content_type=None)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/acme/client.py", line 1236, in head
return self._send_request('HEAD', *args, **kwargs)
File "/var/lib/snapd/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 "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/adapters.py", line 501, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2022-08-22 05:21:47,171:DEBUG:certbot._internal.display.obj:Notifying user: Processing /etc/letsencrypt/renewal/lk.qr.orgp.spb.ru.conf
2022-08-22 05:21:47,172:DEBUG:certbot._internal.cli:Var dry_run=True (set by user).
2022-08-22 05:21:47,172:DEBUG:certbot._internal.cli:Var server={'dry_run', 'staging'} (set by user).
2022-08-22 05:21:47,172:DEBUG:certbot._internal.cli:Var dry_run=True (set by user).
2022-08-22 05:21:47,172:DEBUG:certbot._internal.cli:Var server={'dry_run', 'staging'} (set by user).
2022-08-22 05:21:47,172:DEBUG:certbot._internal.cli:Var account={'server'} (set by user).
2022-08-22 05:21:47,188:DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): r3.o.lencr.org:80
2022-08-22 05:21:47,240:DEBUG:urllib3.connectionpool:http://r3.o.lencr.org:80 "POST / HTTP/1.1" 200 503
2022-08-22 05:21:47,240:DEBUG:certbot.ocsp:OCSP response for certificate /etc/letsencrypt/archive/lk.qr.orgp.spb.ru/cert1.pem is signed by the certificate's issuer.
2022-08-22 05:21:47,241:DEBUG:certbot.ocsp:OCSP certificate status for /etc/letsencrypt/archive/lk.qr.orgp.spb.ru/cert1.pem is: OCSPCertStatus.GOOD
2022-08-22 05:21:47,241:INFO:certbot._internal.renewal:Certificate not due for renewal, but simulating renewal for dry run
2022-08-22 05:21:47,241:DEBUG:certbot._internal.plugins.selection:Requested authenticator standalone and installer None
2022-08-22 05:21:47,243:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * standalone
Description: Spin up a temporary webserver
Interfaces: Authenticator, Plugin
Entry point: standalone = certbot._internal.plugins.standalone:Authenticator
Initialized: <certbot._internal.plugins.standalone.Authenticator object at 0x7feab2b06a30>
Prep: True
2022-08-22 05:21:47,243:DEBUG:certbot._internal.plugins.selection:Selected authenticator <certbot._internal.plugins.standalone.Authenticator object at 0x7feab2b06a30> and installer None
2022-08-22 05:21:47,243:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator standalone, Installer None
2022-08-22 05:21:47,249:DEBUG:certbot._internal.main:Picked account: <Account(RegistrationResource(body=Registration(key=None, contact=(), agreement=None, status=None, terms_of_service_agreed=None, only_return_existing=None, external_account_binding=None), uri='https://acme-staging-v02.api.letsencrypt.org/acme/acct/58639314', new_authzr_uri=None, terms_of_service=None), 320b8d8d33ffbf76e6f4b6e9bb890115, Meta(creation_dt=datetime.datetime(2022, 6, 25, 13, 32, 12, tzinfo=<UTC>), creation_host='qr-gwnat1.mos.orgp.ru', register_to_eff=None))>
2022-08-22 05:21:47,249:DEBUG:acme.client:Sending GET request to https://acme-staging-v02.api.letsencrypt.org/directory.
2022-08-22 05:21:47,250:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-staging-v02.api.letsencrypt.org:443
2022-08-22 05:21:47,632:ERROR:certbot._internal.renewal:Failed to renew certificate lk.qr.orgp.spb.ru with error: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2022-08-22 05:21:47,633:DEBUG:certbot._internal.renewal:Traceback was:
Traceback (most recent call last):
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/http/client.py", line 1348, in getresponse
response.begin()
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/http/client.py", line 316, in begin
version, status, reason = self._read_status()
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/http/client.py", line 277, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
ConnectionResetError: [Errno 104] Connection reset by peer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/adapters.py", line 440, in send
resp = conn.urlopen(
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/util/retry.py", line 550, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 449, in _make_request
six.raise_from(e, None)
File "<string>", line 3, in raise_from
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/urllib3/connectionpool.py", line 444, in _make_request
httplib_response = conn.getresponse()
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/http/client.py", line 1348, in getresponse
response.begin()
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/http/client.py", line 316, in begin
version, status, reason = self._read_status()
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/http/client.py", line 277, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/socket.py", line 669, in readinto
return self._sock.recv_into(b)
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "/var/lib/snapd/snap/certbot/2192/usr/lib/python3.8/ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/renewal.py", line 484, in handle_renewal_request
main.renew_cert(lineage_config, plugins, renewal_candidate)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/main.py", line 1539, in renew_cert
le_client = _init_le_client(config, auth, installer)
File "/var/lib/snapd/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 "/var/lib/snapd/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 "/var/lib/snapd/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 "/var/lib/snapd/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 "/var/lib/snapd/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 "/var/lib/snapd/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 "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/requests/adapters.py", line 501, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2022-08-22 05:21:47,633:DEBUG:certbot._internal.display.obj:Notifying user:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2022-08-22 05:21:47,633:ERROR:certbot._internal.renewal:All simulated renewals failed. The following certificates could not be renewed:
2022-08-22 05:21:47,633:ERROR:certbot._internal.renewal: /etc/letsencrypt/live/admin.qr.orgp.spb.ru/fullchain.pem (failure)
/etc/letsencrypt/live/api.qr.orgp.spb.ru/fullchain.pem (failure)
/etc/letsencrypt/live/lk.qr.orgp.spb.ru/fullchain.pem (failure)
2022-08-22 05:21:47,633:DEBUG:certbot._internal.display.obj:Notifying user: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2022-08-22 05:21:47,633:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/snap/certbot/2192/bin/certbot", line 8, in <module>
sys.exit(main())
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/certbot/main.py", line 19, in main
return internal_main.main(cli_args)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/main.py", line 1744, in main
return config.func(config, plugins)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/main.py", line 1630, in renew
renewal.handle_renewal_request(config)
File "/var/lib/snapd/snap/certbot/2192/lib/python3.8/site-packages/certbot/_internal/renewal.py", line 510, in handle_renewal_request
raise errors.Error(
certbot.errors.Error: 3 renew failure(s), 0 parse failure(s)
2022-08-22 05:21:47,633:ERROR:certbot._internal.log:3 renew failure(s), 0 parse failure(s)