New-nonce from Caddy failing with "reset by peer"

Can you unblock the IP 31.44.247.188 please.
getfed.ksmp.info

Regards

2026-10-04T18:03:19.619212181Z {"level":"error","ts":1791136999.6189601,"logger":"http.acme_client","msg":"challenge failed","identifier":"getfed.ksmp.info","challenge_type":"tls-alpn-01","problem":{"type":"urn:ietf:params:acme:error:connection","title":"","detail":"31.44.247.188: Timeout during connect (likely firewall problem)","instance":"","subproblems":null}}
2026-10-04T18:03:19.619264640Z {"level":"error","ts":1791136999.6190708,"logger":"http.acme_client","msg":"validating authorization","identifier":"getfed.ksmp.info","problem":{"type":"urn:ietf:params:acme:error:connection","title":"","detail":"31.44.247.188: Timeout during connect (likely firewall problem)","instance":"","subproblems":null},"order":"https://acme-v02.api.letsencrypt.org/acme/order/3152933087/565320698946","attempt":1,"max_attempts":3}
2026-10-04T18:03:19.619280224Z {"level":"error","ts":1791136999.6191232,"logger":"tls.renew","msg":"could not get certificate from issuer","identifier":"getfed.ksmp.info","issuer":"acme-v02.api.letsencrypt.org-directory","error":"HTTP 400 urn:ietf:params:acme:error:connection - 31.44.247.188: Timeout during connect (likely firewall problem)"}
2026-10-04T18:03:19.619295373Z {"level":"error","ts":1791136999.6191618,"logger":"tls.renew","msg":"will retry","error":"[getfed.ksmp.info] Renew: [getfed.ksmp.info] solving challenge: getfed.ksmp.info: [getfed.ksmp.info] authorization failed: HTTP 400 urn:ietf:params:acme:error:connection - 31.44.247.188: Timeout during connect (likely firewall problem) (ca=https://acme-v02.api.letsencrypt.org/directory)","attempt":1,"retrying_in":60,"elapsed":13.544351854,"max_duration":2592000}

Let's Encrypt are not blocking you, your web server is not accessible on TCP port 80. Like the error message says, you should check your firewalls.

For the sake of anyone who might actually search before posting: "Let's Encrypt are blocking my IP" is (almost) never the issue, because it's very rare that they block IPs. Any of a hundred other things are more likely to be causing whatever your issue is. So unless you have strong evidence that Let's Encrypt are in fact blocking your IP, please don't post asking that they unblock it.

What doesn’t he like?

04T18:34:59.129467741Z {"level":"error","ts":1791138899.1293437,"logger":"tls.renew","msg":"will retry","error":"[getfed.ksmp.info] Renew: [getfed.ksmp.info] creating new order: fetching new nonce from server: performing request: Head \"https://acme-staging-v02.api.letsencrypt.org/acme/new-nonce\": read tcp 172.18.0.11:42814->172.65.46.172:443: read: connection reset by peer (ca=https://acme-staging-v02.api.letsencrypt.org/directory)","attempt":5,"retrying_in":600,"elapsed":713.068311005,"max_duration":2592000}

What show?:
curl -I https://acme-v02.api.letsencrypt.org/acme/new-nonce
curl -I https://acme-staging-v02.api.letsencrypt.org/acme/new-nonce

curl: (35) Recv failure: Connection reset by peer

Please show:
traceroute -T -p 443 acme-staging-v02.api.letsencrypt.org

Is that from the system that runs caddy?

Would you try a HEAD request to a different ACME endpoint. Because we know the GET are working

curl -I https://acme-staging-v02.api.letsencrypt.org/directory

If that gets "reset by peer" try it without the uppercase -I

Also, show this:

curl https://www.cloudflare.com/cdn-cgi/trace

Nextcloud AIO v14.2.0 Docker

curl: (35) Recv failure: Connection reset by peer

I assume that was the error when doing the curl -I to the /directory endpoint. This further indicates the problem is related to any HTTP HEAD request. Most HTTP requests are GET but the new-nonce is done with HEAD.

This is probably some kind of firewall or similar on your end blocking these kinds of outbound requests. Or, maybe something in your system is not handling returned results that have a content-length of zero.

You can further prove this by doing the below three commands. If you want help interpreting the results please show the first few lines of output for each one and which command it relates to.

These are the commands and the correct responses. I am using Google's ACME cert endpoints to further prove this is not related to Let's Encrypt

# HEAD
curl -I https://dv.acme-v02.api.pki.goog/new-nonce
HTTP/2 200
cache-control: no-store
content-length: 0

# GET
curl -i https://dv.acme-v02.api.pki.goog/new-nonce
HTTP/2 204
cache-control: no-store

# GET with data
curl -i https://dv.acme-v02.api.pki.goog/directory
HTTP/2 200
content-length: 739

It seems like my ISP doesn't want me to get certificates.

> 
> root@NC:/home/******# curl -i https://dv.acme-v02.api.pki.goog/new-nonce
> HTTP/2 204
> cache-control: no-store
> content-security-policy: sandbox allow-downloads allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation allow-scripts allow-storage-access-by-user-activation allow-top-navigation allow-top-navigation-by-user-activation allow-top-navigation-to-custom-protocols
> cross-origin-opener-policy: same-origin
> link: <https://dv.acme-v02.api.pki.goog/directory>;rel="index"
> replay-nonce: AEQAAAAKQgoqdHlwZS5nb29nbGVhcGlzLmNvbS9zZWN1cml0eV90YXJzaWVyLk5vbmNlEhQKDAjEp5_WBhDOx4DNAhC7q_yeBgAPkAjEfUgsh_Y6hqPqx528J7ulh9BarKI
> vary: Sec-Fetch-Site
> vary: Sec-Fetch-Mode
> vary: Sec-Fetch-Dest
> x-content-type-options: nosniff
> x-frame-options: SAMEORIGIN
> x-xss-protection: 0
> date: Thu, 08 Oct 2026 17:32:52 GMT
> alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000
root@NC:/home/********# curl -i https://dv.acme-v02.api.pki.goog/directory
HTTP/2 200
content-length: 739
content-security-policy: sandbox allow-downloads allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation allow-scripts allow-storage-access-by-user-activation allow-top-navigation allow-top-navigation-by-user-activation allow-top-navigation-to-custom-protocols
content-type: application/json
cross-origin-opener-policy: same-origin
replay-nonce: AEQAAAAKQgoqdHlwZS5nb29nbGVhcGlzLmNvbS9zZWN1cml0eV90YXJzaWVyLk5vbmNlEhQKDAiYqZ_WBhCjtd-SAxDMtPD9BgAPkAjEz4-Xpw2dPjKbK12pM6K_sn0XyMQ
vary: Sec-Fetch-Site
vary: Sec-Fetch-Mode
vary: Sec-Fetch-Dest
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 0
date: Thu, 08 Oct 2026 17:36:24 GMT
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000

{"newNonce":"https://dv.acme-v02.api.pki.goog/new-nonce","newAccount":"https://dv.acme-v02.api.pki.goog/new-account","newOrder":"https://dv.acme-v02.api.pki.goog/new-order","newAuthz":"https://dv.acme-v02.api.pki.goog/new-authz","revokeCert":"https://dv.acme-v02.api.pki.goog/revoke-cert","keyChange":"https://dv.acme-v02.api.pki.goog/key-change","renewalInfo":"https://dv.acme-v02.api.pki.goog/renewal-info","meta":{"termsOfService":"https://pki.goog/GTS-SA.pdf","website":"https://pki.goog","caaIdentities":["pki.goog"],"externalAccountRequired":true,"profiles":{"minimal":"https://developers.google.com/public-key-infrastructure/profiles#minimal","standard":"https://developers.google.com/public-key-infrastructure/profiles#standard"}}}

Why do you say that? What was the result of the first command?
curl -I https://dv.acme-v02.api.pki.goog/new-nonce

I just can’t find any other explanation than a problem with the internet provider.

curl -I https://dv.acme-v02.api.pki.goog/new-nonce
HTTP/2 200
cache-control: no-store
content-length: 0
content-security-policy: sandbox allow-downloads allow-forms allow-modals allow-orientation-lock allow-pointer-lock allow-popups allow-popups-to-escape-sandbox allow-presentation allow-scripts allow-storage-access-by-user-activation allow-top-navigation allow-top-navigation-by-user-activation allow-top-navigation-to-custom-protocols
cross-origin-opener-policy: same-origin
link: <https://dv.acme-v02.api.pki.goog/directory>;rel="index"
replay-nonce: AEgAAAAKRgoqdHlwZS5nb29nbGVhcGlzLmNvbS9zZWN1cml0eV90YXJzaWVyLk5vbmNlEhgKCwjwpqHWBhDThvU-ELuKg9v7_____wEAD5AIxPRSowdpjdRWu8KWbfe_qfSPqr3g
vary: Sec-Fetch-Site
vary: Sec-Fetch-Mode
vary: Sec-Fetch-Dest
x-content-type-options: nosniff
x-frame-options: SAMEORIGIN
x-xss-protection: 0
date: Fri, 09 Oct 2026 02:37:36 GMT
content-type: text/html; charset=UTF-8
alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000

As you already have an account registered you could talk over VPN to LE API endpoints (verification still happens outside of it)

Have a look at: