[SOLVED] An unexpected error occurred: ClientError: <Response [504]>


#1

When I try to get a certificate for my domains with the let’s encrypt client, I get this:

./letsencrypt-auto -tvvvvvvvvvv certonly --manual --email root@sourcepole.ch
Checking for new version...
Requesting root privileges to run letsencrypt...
   /root/.local/share/letsencrypt/bin/letsencrypt -tvvvvvvvvvv certonly --manual --email root@sourcepole.ch
2016-04-05 13:42:18,615:DEBUG:letsencrypt.cli:Root logging level set at -70
2016-04-05 13:42:18,615:INFO:letsencrypt.cli:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2016-04-05 13:42:18,615:DEBUG:letsencrypt.cli:letsencrypt version: 0.4.2
2016-04-05 13:42:18,615:DEBUG:letsencrypt.cli:Arguments: ['-tvvvvvvvvvv', '--manual', '--email', 'root@sourcepole.ch']
2016-04-05 13:42:18,615:DEBUG:letsencrypt.cli:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone)
2016-04-05 13:42:18,615:DEBUG:letsencrypt.cli:Requested authenticator manual and installer None
2016-04-05 13:42:18,616:DEBUG:letsencrypt.display.ops:Single candidate plugin: * manual
Description: Manually configure an HTTP server
Interfaces: IAuthenticator, IPlugin
Entry point: manual = letsencrypt.plugins.manual:Authenticator
Initialized: 
Prep: True
2016-04-05 13:42:18,616:DEBUG:letsencrypt.cli:Selected authenticator  and installer None
2016-04-05 13:42:18,625:DEBUG:letsencrypt.cli:Picked account: 
2016-04-05 13:42:18,626:DEBUG:root:Sending GET request to https://acme-v01.api.letsencrypt.org/directory. args: (), kwargs: {}
2016-04-05 13:42:18,631:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
2016-04-05 13:42:23,671:DEBUG:requests.packages.urllib3.connectionpool:"GET /directory HTTP/1.1" 504 176
2016-04-05 13:42:23,673:DEBUG:root:Received . Headers: {'Content-Length': '176', 'Expires': 'Tue, 05 Apr 2016 11:42:23 GMT', 'Server': 'AkamaiGHost', 'Connection': 'keep-alive', 'Pragma': 'no-cache', 'Cache-Control': 'max-age=0, no-cache, no-store', 'Date': 'Tue, 05 Apr 2016 11:42:23 GMT', 'Content-Type': 'text/html', 'Mime-Version': '1.0'}. Content: 'Error\nAn error occurred while processing your request.

\nReference #97.49184a17.1459856543.19765c26\n\n' 2016-04-05 13:42:23,675:DEBUG:acme.client:Received response (headers: {'Content-Length': '176', 'Expires': 'Tue, 05 Apr 2016 11:42:23 GMT', 'Server': 'AkamaiGHost', 'Connection': 'keep-alive', 'Pragma': 'no-cache', 'Cache-Control': 'max-age=0, no-cache, no-store', 'Date': 'Tue, 05 Apr 2016 11:42:23 GMT', 'Content-Type': 'text/html', 'Mime-Version': '1.0'}): 'Error\nAn error occurred while processing your request.

\nReference #97.49184a17.1459856543.19765c26\n\n' 2016-04-05 13:42:23,676:DEBUG:letsencrypt.cli:Exiting abnormally: Traceback (most recent call last): File "/root/.local/share/letsencrypt/bin/letsencrypt", line 9, in load_entry_point('letsencrypt==0.4.2', 'console_scripts', 'letsencrypt')() File "/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py", line 1993, in main return config.func(config, plugins) File "/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py", line 690, in obtain_cert le_client = _init_le_client(config, authenticator, installer) File "/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py", line 214, in _init_le_client return client.Client(config, acc, authenticator, installer, acme=acme) File "/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/client.py", line 183, in __init__ acme = acme_from_config_key(config, self.account.key) File "/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/client.py", line 41, in acme_from_config_key return acme_client.Client(config.server, key=key, net=net) File "/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/client.py", line 63, in __init__ self.net.get(directory).json()) File "/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/client.py", line 627, in get self._send_request('GET', url, **kwargs), content_type=content_type) File "/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/client.py", line 574, in _check_response raise errors.ClientError(response) ClientError: An unexpected error occurred: ClientError: Please see the logfiles in /var/log/letsencrypt for more details.

What can I do? Is there a problem @letsencrypt.org?

Thanks,
*t


#2

So this problem persisted for maybe 10 minutes and disappeared immediately after I had posted this question. Oh well.


#3

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