# ClientError: \<Response \[504\]\>

**URL:** <https://community.letsencrypt.org/t/clienterror-response-504/17410>\
**Category:** Help\
**Created:** [June 28, 2016, 6:48am UTC](https://community.letsencrypt.org/t/clienterror-response-504/17410 "2016-06-28T06:48:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dominicpratt](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/dominicpratt/32/8057_2.png) [@dominicpratt](https://community.letsencrypt.org/u/dominicpratt)\
**Post date:** [June 28, 2016, 6:48am UTC](https://community.letsencrypt.org/t/clienterror-response-504/17410/1 "2016-06-28T06:48:04Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![jsha](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/jsha/32/12_2.png) [@jsha](https://community.letsencrypt.org/u/jsha)\
**Post date:** [June 28, 2016, 6:55am UTC](https://community.letsencrypt.org/t/clienterror-response-504/17410/2 "2016-06-28T06:55:00Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dominicpratt](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/dominicpratt/32/8057_2.png) [@dominicpratt](https://community.letsencrypt.org/u/dominicpratt)\
**Post date:** [June 28, 2016, 6:59am UTC](https://community.letsencrypt.org/t/clienterror-response-504/17410/3 "2016-06-28T06:59:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![jsha](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/jsha/32/12_2.png) [@jsha](https://community.letsencrypt.org/u/jsha)\
**Post date:** [June 28, 2016, 4:53pm UTC](https://community.letsencrypt.org/t/clienterror-response-504/17410/4 "2016-06-28T16:53:04Z")

</div>

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/](https://letsencrypt.status.io/) and you should be able to issue.

Thanks,  
Jacob

---

<div class="post-metadata">

**Author:** ![dominicpratt](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/dominicpratt/32/8057_2.png) [@dominicpratt](https://community.letsencrypt.org/u/dominicpratt)\
**Post date:** [June 28, 2016, 5:38pm UTC](https://community.letsencrypt.org/t/clienterror-response-504/17410/5 "2016-06-28T17:38:22Z")

</div>

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

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [July 28, 2016, 5:38pm UTC](https://community.letsencrypt.org/t/clienterror-response-504/17410/6 "2016-07-28T17:38:22Z")

</div>

Closed on July 28, 2016, 5:38pm UTC

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