WS has an invalid anti-replay nonce: "xxxxxx"

We use acme-dns-tiny to issue certificate,https://github.com/Trim/acme-dns-tiny/blob/master/acme_dns_tiny.py。 and we transfer python 3 to python2。but there is a problem:

My domain is:
*.cloud.beta.sankuai.com

I ran this command:
response = requests.post(url, json=jose, headers=joseheaders)

It produced this output:
ValueError("Error triggering challenge: {0} {1}".format(http_response.status_code, result))
ValueError: Error triggering challenge: 400 {u'status': 400, u'type': u'urn:ietf:params:acme:error:badNonce', u'detail': u'JWS has an invalid anti-replay nonce: "xxxxxxx"'}

The Github repo you link to says you need at least python 3.4. So downgrading to python2 was probably a mistake.

I would also think that any command you ran should have included acme_dns_tiny.py. Why does it look like you're using the requests library directly?

3 Likes

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