Letsencrypt certonly command error log


Environment Info:
Ubuntu 16.04

$ letsencrypt certonly --standalone -d mydomain.org

I have got these log. Can anyone help to address it ?

2017-01-24 12:42:26,566:DEBUG:letsencrypt.cli:Exiting abnormally:
Traceback (most recent call last):
File “/usr/bin/letsencrypt”, line 9, in
load_entry_point(‘letsencrypt==0.4.1’, ‘console_scripts’, ‘letsencrypt’)()
File “/usr/lib/python2.7/dist-packages/letsencrypt/cli.py”, line 1986, in main
return config.func(config, plugins)
File “/usr/lib/python2.7/dist-packages/letsencrypt/cli.py”, line 660, in run
le_client = _init_le_client(config, authenticator, installer)
File “/usr/lib/python2.7/dist-packages/letsencrypt/cli.py”, line 206, in _init_le_client
acc, acme = _determine_account(config)
File “/usr/lib/python2.7/dist-packages/letsencrypt/cli.py”, line 191, in _determine_account
config, account_storage, tos_cb=_tos_cb)
File “/usr/lib/python2.7/dist-packages/letsencrypt/client.py”, line 125, in register
regr = acme.agree_to_tos(regr)
File “/usr/lib/python2.7/dist-packages/acme/client.py”, line 164, in agree_to_tos
File “/usr/lib/python2.7/dist-packages/acme/client.py”, line 137, in update_registration
regr, body=messages.UpdateRegistration(**dict(update)))
File “/usr/lib/python2.7/dist-packages/acme/client.py”, line 112, in _send_recv_regr
response = self.net.post(regr.uri, body)
File “/usr/lib/python2.7/dist-packages/acme/client.py”, line 650, in post
response = self._send_request(‘POST’, url, data=data, **kwargs)
File “/usr/lib/python2.7/dist-packages/acme/client.py”, line 609, in _send_request
response = requests.request(method, url, *args, **kwargs)
File “/usr/lib/python2.7/dist-packages/requests/api.py”, line 53, in request
return session.request(method=method, url=url, **kwargs)
File “/usr/lib/python2.7/dist-packages/requests/sessions.py”, line 468, in request
resp = self.send(prep, **send_kwargs)
File “/usr/lib/python2.7/dist-packages/requests/sessions.py”, line 576, in send
r = adapter.send(request, **kwargs)
File “/usr/lib/python2.7/dist-packages/requests/adapters.py”, line 426, in send
raise ConnectionError(err, request=request)
ConnectionError: (‘Connection aborted.’, BadStatusLine("’’",))


That error message typically indicates some kind of network problem when the client is talking to Let’s Encrypt. Does the problem go away if you simply try again by any chance?

If not, do you know if there are any proxies on your network that might intercept the traffic to Let’s Encrypt and cause this issue? I’d also be interested in the output of curl -v https://acme-v01.api.letsencrypt.org/directory - that’s the server the client is talking to.


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