My domain is: stats.devalot.com
I ran this command:
lego --accept-tos --path . -d stats.devalot.com --email domains@pmade.com --key-type ec256 --dns cloudflare renew --days 30
It produced this output:
2022/08/12 09:50:47 [INFO] [stats.devalot.com] acme: Trying renewal with 659 hours remaining
2022/08/12 09:50:47 [INFO] [stats.devalot.com] acme: Obtaining bundled SAN certificate
2022/08/12 09:50:48 [INFO] [stats.devalot.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/141175587277
2022/08/12 09:50:48 [INFO] [stats.devalot.com] acme: Could not find solver for: tls-alpn-01
2022/08/12 09:50:48 [INFO] [stats.devalot.com] acme: Could not find solver for: http-01
2022/08/12 09:50:48 [INFO] [stats.devalot.com] acme: use dns-01 solver
2022/08/12 09:50:48 [INFO] [stats.devalot.com] acme: Preparing to solve DNS-01
2022/08/12 09:50:48 [INFO] cloudflare: new record for stats.devalot.com, ID XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
2022/08/12 09:50:48 [INFO] [stats.devalot.com] acme: Trying to solve DNS-01
2022/08/12 09:50:48 [INFO] [stats.devalot.com] acme: Checking DNS record propagation using [10.0.1.1:53 [2600:8800:1700:242:2e0:edff:fecf:20ba]:53]
2022/08/12 09:50:50 [INFO] Wait for propagation [timeout: 5m0s, interval: 2s]
2022/08/12 09:51:01 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:51:13 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:51:25 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:51:37 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:51:49 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:52:01 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:52:13 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:52:25 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:52:37 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:52:49 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:53:01 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:53:13 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:53:25 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:53:37 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:53:49 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:54:01 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:54:13 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:54:25 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:54:37 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:54:49 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:55:01 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:55:13 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:55:25 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:55:37 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:55:49 [INFO] [stats.devalot.com] acme: Waiting for DNS record propagation.
2022/08/12 09:55:51 [INFO] [stats.devalot.com] acme: Cleaning DNS-01 challenge
2022/08/12 09:55:51 [INFO] retry due to: acme: error: 400 :: POST :: https://acme-v02.api.letsencrypt.org/acme/authz-v3/141175587277 :: urn:ietf:params:acme:error:badNonce :: JWS has an invalid anti-replay nonce: "0102fivPnYZT9Unme6mC2__beuDiEUL7770-xtW>
2022/08/12 09:55:52 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/141175587277
2022/08/12 09:55:52 error: one or more domains had a problem:
[stats.devalot.com] time limit exceeded: last error: read udp [2600:8800:1700:242::2000]:34999->[2606:4700:58::a29f:2cd1]:53: i/o timeout
The operating system:
NixOS 22.05 (Linux 5.15)
I can login to a root shell on my machine (yes or no, or I don't know): Yes.
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): No.
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
lego version 4.6.0 linux/amd64
I've been using dns-01 for quite some time so I'm not sure why this renewal isn't working.
Over the last week I have tried everything I know to debug this but I don't feel I'm any closer to understanding what's going on. I've let the process run for an hour yesterday.
Each time I run lego
I immediately see the TXT
records appear in the Cloudflare dashboard. And within a very short period of time I see the record propagated out to various DNS servers across the internet and the resolver on the machine running lego
can also see the TXT
record.
Things I've tried:
-
Disabling my outbound firewall rules (pfBlockerNG)
-
Giving
lego
various--dns.resolvers
to try -
Running
dig
on the same machine aslego
to verify I see the_acme-challenge TXT
record -
Trying various timeout/poll values for Cloudflare and
--dns-timeout
-
Let's Debug
At this point I've exhausted my knowledge of DNS and lego
and would appreciate some help.
Thank you.