Report this

What is the reason for this report?

LetsEcrypt Failure

Posted on May 19, 2017

Before i went to sleep yesterday i performed the following command

sudo certbot certonly --webroot -w /var/www/mydomain.com/html/ -d mydomain.com -d www.mydomain.com -w /var/www/m.mydomain.com/html/ -d m.mydomain.com -d www.m.mydomain.com

and i made a snapshot. I tried the same command today and i get the following:

Saving debug log to /var/log/letsencrypt/letsencrypt.log
An unexpected error occurred:
ReadTimeout: HTTPSConnectionPool(host='acme-v01.api.letsencrypt.org', port=443): Read timed out. (read timeout=45)
Please see the logfiles in /var/log/letsencrypt for more details.

I made a snapshot and i went to sleep. I had a https://www.mydomain.com redirect to https://mydomain.com, now that doesn’t work.

2017-05-19 17:58:10,563:DEBUG:certbot.main:Root logging level set at 20
2017-05-19 17:58:10,564:INFO:certbot.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2017-05-19 17:58:10,565:DEBUG:certbot.main:certbot version: 0.12.0
2017-05-19 17:58:10,565:DEBUG:certbot.main:Arguments: ['--webroot', '-w', '/var/www/mydomain.com/html/', '-d', 'mydomain.com', '-d', 'www.mydomain.com', '-w', '/var/www/m.mydomain.com/html/', '-d', 'm.mydomain.com', '-d', 'www.m.mydomain.com']
2017-05-19 17:58:10,566:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone)
2017-05-19 17:58:10,566:DEBUG:certbot.plugins.selection:Requested authenticator webroot and installer None
2017-05-19 17:58:10,567:DEBUG:certbot.plugins.selection:Single candidate plugin: * webroot
Description: Place files in webroot directory
Interfaces: IAuthenticator, IPlugin
Entry point: webroot = certbot.plugins.webroot:Authenticator
Initialized: <certbot.plugins.webroot.Authenticator object at 0xb722b4ec>
Prep: True
2017-05-19 17:58:10,568:DEBUG:certbot.plugins.selection:Selected authenticator <certbot.plugins.webroot.Authenticator object at 0xb722b4ec> and installer None
2017-05-19 17:58:10,575:DEBUG:certbot.main:Picked account: <Account(d0744ee260aeb10520841724c6e1cdc9)>
2017-05-19 17:58:10,576:DEBUG:acme.client:Sending GET request to https://acme-v01.api.letsencrypt.org/directory.
2017-05-19 17:58:10,582:DEBUG:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
2017-05-19 17:58:55,727:DEBUG:certbot.main:Exiting abnormally:
Traceback (most recent call last):
  File "/usr/bin/certbot", line 11, in <module>
    load_entry_point('certbot==0.12.0', 'console_scripts', 'certbot')()
  File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 896, in main
    return config.func(config, plugins)
  File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 676, in certonly
    le_client = _init_le_client(config, auth, installer)
  File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 399, in _init_le_client
    return client.Client(config, acc, authenticator, installer, acme=acme)
  File "/usr/lib/python2.7/dist-packages/certbot/client.py", line 202, in __init__
    acme = acme_from_config_key(config, self.account.key)
  File "/usr/lib/python2.7/dist-packages/certbot/client.py", line 42, in acme_from_config_key
    return acme_client.Client(config.server, key=key, net=net)
  File "/usr/lib/python2.7/dist-packages/acme/client.py", line 69, in __init__
    self.net.get(directory).json())
  File "/usr/lib/python2.7/dist-packages/acme/client.py", line 658, in get
    self._send_request('GET', url, **kwargs), content_type=content_type)
  File "/usr/lib/python2.7/dist-packages/acme/client.py", line 631, in _send_request
    response = self.session.request(method, url, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 499, in send
    raise ReadTimeout(e, request=request)
ReadTimeout: HTTPSConnectionPool(host='acme-v01.api.letsencrypt.org', port=443): Read timed out. (read timeout=45)

I’m looking at it and i can’t determine what’s going on

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.