ClientError: <Response [504]>


#1

Hi there,

since today I keep getting just that output when I try to obtain a new certificate for a new subdomain:

An unexpected error occurred:
ClientError: <Response [504]>
Please see the logfiles in /var/log/letsencrypt for more details.

/var/log/letsencrypt.log:

2016-06-28 06:43:14,086:DEBUG:certbot.main:Root logging level set at 30 2016-06-28 06:43:14,087:INFO:certbot.main:Saving debug log to /var/log/letsencrypt/letsencrypt.log 2016-06-28 06:43:14,087:DEBUG:certbot.main:certbot version: 0.8.0 2016-06-28 06:43:14,087:DEBUG:certbot.main:Arguments: ['--apache'] 2016-06-28 06:43:14,088:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone) 2016-06-28 06:43:14,091:DEBUG:certbot.plugins.selection:Requested authenticator apache and installer apache 2016-06-28 06:43:15,232:DEBUG:certbot.plugins.selection:Single candidate plugin: * apache Description: Apache Web Server - Alpha Interfaces: IAuthenticator, IInstaller, IPlugin Entry point: apache = certbot_apache.configurator:ApacheConfigurator Initialized: <certbot_apache.configurator.ApacheConfigurator object at 0x7f645ab2b410> Prep: True 2016-06-28 06:43:15,234:DEBUG:certbot.plugins.selection:Selected authenticator <certbot_apache.configurator.ApacheConfigurator object at 0x7f645ab2b410> and installer <certbot_apache.configurator.ApacheConfigurator object at 0x7f645ab2b410> 2016-06-28 06:43:23,364:DEBUG:certbot.main:Picked account: <Account(eebc0ea15c66cf477f52511e5003823a)> 2016-06-28 06:43:23,366:DEBUG:root:Sending GET request to https://acme-v01.api.letsencrypt.org/directory. args: (), kwargs: {} 2016-06-28 06:43:23,369:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org 2016-06-28 06:43:43,461:DEBUG:requests.packages.urllib3.connectionpool:"GET /directory HTTP/1.1" 504 176 2016-06-28 06:43:43,463:DEBUG:root:Received <Response [504]>. Headers: {'Content-Length': '176', 'Expires': 'Tue, 28 Jun 2016 06:43:43 GMT', 'Server': 'AkamaiGHost', 'Connection': 'keep-alive', 'Pragma': 'no-cache', 'Cache-Control': 'max-age=0, no-cache, no-store', 'Date': 'Tue, 28 Jun 2016 06:43:43 GMT', 'Content-Type': 'text/html', 'Mime-Version': '1.0'}. Content: '<HTML><HEAD><TITLE>Error</TITLE></HEAD><BODY>\nAn error occurred while processing your request.<p>\nReference&#32;&#35;97&#46;5df01202&#46;1467096223&#46;3a2f1a8d\n</BODY></HTML>\n' 2016-06-28 06:43:43,464:DEBUG:acme.client:Received response <Response [504]> (headers: {'Content-Length': '176', 'Expires': 'Tue, 28 Jun 2016 06:43:43 GMT', 'Server': 'AkamaiGHost', 'Connection': 'keep-alive', 'Pragma': 'no-cache', 'Cache-Control': 'max-age=0, no-cache, no-store', 'Date': 'Tue, 28 Jun 2016 06:43:43 GMT', 'Content-Type': 'text/html', 'Mime-Version': '1.0'}): '<HTML><HEAD><TITLE>Error</TITLE></HEAD><BODY>\nAn error occurred while processing your request.<p>\nReference&#32;&#35;97&#46;5df01202&#46;1467096223&#46;3a2f1a8d\n</BODY></HTML>\n' 2016-06-28 06:43:43,466:DEBUG:certbot.main:Exiting abnormally: Traceback (most recent call last): File "/usr/bin/certbot", line 9, in <module> load_entry_point('certbot==0.8.0', 'console_scripts', 'certbot')() File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 735, in main return config.func(config, plugins) File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 500, in run le_client = _init_le_client(config, authenticator, installer) File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 366, in _init_le_client return client.Client(config, acc, authenticator, installer, acme=acme) File "/usr/lib/python2.7/dist-packages/certbot/client.py", line 184, 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 63, in __init__ self.net.get(directory).json()) File "/usr/lib/python2.7/dist-packages/acme/client.py", line 631, in get self._send_request('GET', url, **kwargs), content_type=content_type) File "/usr/lib/python2.7/dist-packages/acme/client.py", line 578, in _check_response raise errors.ClientError(response) ClientError: <Response [504]>

Any problems on Let’s Encrypt’s side?


#2

This was due to an outage we had tonight: https://letsencrypt.status.io/pages/incident/55957a99e800baa4470002da/57721c972246154f0e000005. Things should be operational again.


#3

Thanks, but it’s not working from Germany obviously. Keep getting error 504 - just tried it right now.


#4

Looks like we closed out the incident early, and there was another short outage right after. It’s now back to normal per https://letsencrypt.status.io/ and you should be able to issue.

Thanks,
Jacob


#5

Jep, was working roundabout 10 minutes after I posted my answer. :slight_smile:

Thanks a lot!


#6

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