Here are some of my misinformation
please help me
My domain is:zhifeng-like-dufen.xyz
I ran this command:certbot --nginx
It produced this output:
***2021-07-21 10:26:41,583:*DEBUG:urllib3.connectionpool:http://localhost:None "GET /v2/connections?snap=certbot&interface=content HTTP/1.1" 200 97
2021-07-21 10:26:41,871:DEBUG:certbot._internal.main:certbot version: 1.17.0
2021-07-21 10:26:41,872:DEBUG:certbot._internal.main:Location of certbot entry point: /snap/certbot/1280/bin/certbot
2021-07-21 10:26:41,872:DEBUG:certbot._internal.main:Arguments: ['--webroot', '--preconfigured-renewal']
2021-07-21 10:26:41,872:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2021-07-21 10:26:41,879:DEBUG:certbot._internal.log:Root logging level set at 30
2021-07-21 10:26:41,880:DEBUG:certbot._internal.plugins.selection:Requested authenticator webroot and installer None
2021-07-21 10:26:41,882:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * webroot
Description: Place files in webroot directory
Interfaces: IAuthenticator, IPlugin
Entry point: webroot = certbot._internal.plugins.webroot:Authenticator
Initialized: <certbot._internal.plugins.webroot.Authenticator object at 0x7f3fae400b80>
Prep: True
2021-07-21 10:26:41,882:DEBUG:certbot._internal.plugins.selection:Selected authenticator <certbot._internal.plugins.webroot.Authenticator object at 0x7f3fae400b80> and installer None
2021-07-21 10:26:41,882:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator webroot, Installer None
2021-07-21 10:26:41,893: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-v02.api.letsencrypt.org/acme/acct/130771810', new_authzr_uri=None, terms_of_service=None), c7a7032ffe894d54383434d0fbe02811, Meta(creation_dt=datetime.datetime(2021, 7, 16, 4, 47, 14, tzinfo=), creation_host='iZuf67r5nyftzrd76ylv5hZ', register_to_eff=None))>
2021-07-21 10:26:41,894:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/directory.
2021-07-21 10:26:41,895:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org:443
2021-07-21 10:26:42,395:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/snap/certbot/1280/lib/python3.8/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/snap/certbot/1280/lib/python3.8/site-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/snap/certbot/1280/lib/python3.8/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
conn.connect()
File "/snap/certbot/1280/lib/python3.8/site-packages/urllib3/connection.py", line 411, in connect
self.sock = ssl_wrap_socket(
- File "/snap/certbot/1280/lib/python3.8/site-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket*
- ssl_sock = _ssl_wrap_socket_impl(*
- File "/snap/certbot/1280/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/1280/usr/lib/python3.8/ssl.py", line 500, in wrap_socket*
- return self.sslsocket_class._create(*
- File "/snap/certbot/1280/usr/lib/python3.8/ssl.py", line 1040, in _create*
- self.do_handshake()*
- File "/snap/certbot/1280/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:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/snap/certbot/1280/bin/certbot", line 8, in
sys.exit(main())
File "/snap/certbot/1280/lib/python3.8/site-packages/certbot/main.py", line 15, in main
return internal_main.main(cli_args)
File "/snap/certbot/1280/lib/python3.8/site-packages/certbot/_internal/main.py", line 1574, in main
return config.func(config, plugins)
File "/snap/certbot/1280/lib/python3.8/site-packages/certbot/_internal/main.py", line 1417, in certonly
le_client = _init_le_client(config, auth, installer)
File "/snap/certbot/1280/lib/python3.8/site-packages/certbot/_internal/main.py", line 770, in _init_le_client
return client.Client(config, acc, authenticator, installer, acme=acme)
File "/snap/certbot/1280/lib/python3.8/site-packages/certbot/_internal/client.py", line 253, in init
acme = acme_from_config_key(config, self.account.key, self.account.regr)
File "/snap/certbot/1280/lib/python3.8/site-packages/certbot/_internal/client.py", line 41, in acme_from_config_key
return acme_client.BackwardsCompatibleClientV2(net, key, config.server)
File "/snap/certbot/1280/lib/python3.8/site-packages/acme/client.py", line 824, in init
directory = messages.Directory.from_json(net.get(server).json())
File "/snap/certbot/1280/lib/python3.8/site-packages/acme/client.py", line 1168, in get
self._send_request('GET', url, **kwargs), content_type=content_type)
File "/snap/certbot/1280/lib/python3.8/site-packages/acme/client.py", line 1117, in _send_request
response = self.session.request(method, url, *args, **kwargs)
File "/snap/certbot/1280/lib/python3.8/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/snap/certbot/1280/lib/python3.8/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/snap/certbot/1280/lib/python3.8/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
2021-07-21 10:26:42,408:ERROR:certbot._internal.log:An unexpected error occurred:
2021-07-21 10:26:42,408:ERROR:certbot._internal.log:requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
My web server is (include version):
nginx version: nginx/1.14.0
The operating system my web server runs on is (include version):
(Ubuntu18.04)
My hosting provider, if applicable, is: ALi
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):certbot 1.17.0