Repository navigation
Closed
Description
The issue I was having at #503 (Error creating new authz) looks to be resolved, but now every time I try to run letsencrypt, I get the following:
$ sudo ./venv/bin/letsencrypt -d jn1.me auth
Traceback (most recent call last):
File "./venv/bin/letsencrypt", line 9, in <module>
load_entry_point('letsencrypt==0.1', 'console_scripts', 'letsencrypt')()
File "/home/deploy/lets-encrypt-preview/venv/local/lib/python2.7/site-packages/letsencrypt/cli.py", line 406, in main
return args.func(args, config, plugins)
File "/home/deploy/lets-encrypt-preview/venv/local/lib/python2.7/site-packages/letsencrypt/cli.py", line 133, in auth
plugins):
File "/home/deploy/lets-encrypt-preview/venv/local/lib/python2.7/site-packages/letsencrypt/client.py", line 206, in obtain_and_enroll_certificate
cert, privkey, chain = self.obtain_certificate(domains, csr)
File "/home/deploy/lets-encrypt-preview/venv/local/lib/python2.7/site-packages/letsencrypt/client.py", line 154, in obtain_certificate
authzr = self.auth_handler.get_authorizations(domains)
File "/home/deploy/lets-encrypt-preview/venv/local/lib/python2.7/site-packages/letsencrypt/auth_handler.py", line 69, in get_authorizations
domain, self.account.new_authzr_uri)
File "/home/deploy/lets-encrypt-preview/venv/local/lib/python2.7/site-packages/letsencrypt/network2.py", line 333, in request_domain_challenges
typ=messages2.IDENTIFIER_FQDN, value=domain), new_authz_uri)
File "/home/deploy/lets-encrypt-preview/venv/local/lib/python2.7/site-packages/letsencrypt/network2.py", line 314, in request_challenges
response = self._post(new_authzr_uri, new_authz)
File "/home/deploy/lets-encrypt-preview/venv/local/lib/python2.7/site-packages/letsencrypt/network2.py", line 178, in _post
self._add_nonce(response)
File "/home/deploy/lets-encrypt-preview/venv/local/lib/python2.7/site-packages/letsencrypt/network2.py", line 149, in _add_nonce
response.request.method))
letsencrypt.errors.NetworkError: Server POST response did not include a replay nonce
Deleting my /etc/letsencrypt/accounts/ doesn't help, nor does removing and reinstalling letsencrypt. I noticed that the response to dig jn1.me -t TYPE257 @lucy.ns.cloudflare.com is the same "REFUSED" status as before; could that be the reason?
Metadata
Metadata
Assignees
Labels
No labels
Activity
davidar commentedon Jun 20, 2015
I'm seeing the same problem.
kuba commentedon Jun 20, 2015
Are you running latest master, i.e. 99ff33e?
davidar commentedon Jun 20, 2015
Yes.
kuba commentedon Jun 20, 2015
There are 2 problems:
500error code first. I will fix this bug today.Thanks for all reports. Managed to pin it down thanks to @GabLeRoux. To anyone else, next time please join #letsencrypt@Freenode to aid in debugging and in order to get quicker help. :)
Check response for errors before looking for nonce (fixes certbot#521).
jonathannoah commentedon Jun 22, 2015
Is the server still broken? I receive the same "Maintenance Time" response as @GabLeRoux's #503 comment when I run with -vvvvvv.
I'm Joe5150 in IRC, btw, so you can chat with me there if you need my help.
kuba commentedon Jun 22, 2015
@davidar Are you using CloudFlare DNS as well?
For everyone using CloudFlare: letsencrypt/boulder#391
davidar commentedon Jun 25, 2015
@kuba Yes. Thanks, I'll follow that bug.
Fix --no-verify-ssl in HEAD, refactor acme.client_tests.
GabLeRoux commentedon Jul 7, 2015
I confirm I am not getting this error message anymore (showing #503 again, but that's probably normal) Thanks :)
Shadok commentedon May 16, 2016
Sorry to reopen that case but i'm not using CloudFlare and i'm getting this error (i just cloned the repository, i was still using the old letsencrypt client before, so i'm up-to-date).
Shadok commentedon May 16, 2016
It worked on the second try.
jsha commentedon May 16, 2016
@kuba: Looks like you had a fix for this going (kuba@04e9340), but it doesn't appear to be merged. Could you finish it up and post for review?
[-]Server POST response did not include a replay nonce[/-][+]Don't check for nonces on 5xx responses[/+]