Is the letsencrypt V1 server working correctly recently?

Recently, I just got unusually a lot of “badNonce” error, something like this one:

[Tue Jul 17 17:26:25 UTC 2018] original='{
  "type": "urn:acme:error:badNonce",
  "detail": "JWS has invalid anti-replay nonce EVcunbtEQC7dr8S_71Qzi2bCvQnQ32hxG4hLfaVwY-8",
  "status": 400

In, we have logic to wait 5 seconds and then retry to get a new nonce if we see this error.

But recently, it’s not working anymore. If we see this “badNonce”, we try to get a new nonce, then retry the operation, but we see the badNonce error again with the new nonce. Then we try to get a new nonce again, and then retry, and so on. We retry for 5 times in total, every 5 seconds.
But all the retries are failed, with “badNonce” error.

Here is one of the logs, from the line 600, if anyone is interested:

My question:
How is the letsencrypt V1 endpoint ?
Is it healthy enough recently ? How is the load on the server? Is it too heavy recently ?

Thanks. could be related. If you can record the apparent outbound IP address in the test suite, that could confirm or rule changing outbound NAT IP addresses as a cause.

Here is another log, from line 783:

Thanks for your replay, but it seems not related.

we don’t use travis-ci outbound IP at all.
We use temp domain to test.

Boulder does use the outbound IP to load-balance requests between Boulder instances.

Nonces are not shared between instances of Boulder, they are only valid for the Boulder instance that issued them to begin with.

So if two curl requests are load balanced to different Boulder instances, a seemingly valid nonce would fail.

If you send header in all of your HTTP requests:

Pragma: akamai-x-get-client-ip

You will be able to check the X-Akamai-Pragma-Client-IP response header to see if your outbound IP is changing between the request where you acquired the nonce, and the request where you used it.


ok, I understand. thanks.
I will add more debug info.


Known issues with reliability of our services are always posted to

1 Like

Thank you. :grinning::grinning:

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