-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hello,
I attempted to use this package, but it fails to request ACME to respond to the DNS challenge. The process initiates successfully by placing a certificate order and selecting the dns-01 challenge type. However, when the package attempts to configure the ACME challenge response, it encounters repeated BadResponseError: Unexpected status code 400 errors when contacting https://registration.libp2p.direct/.
This issue persists across multiple attempts, preventing successful certificate issuance. Please advise on how to resolve this problem.
Exhibit 1
acme-client RESP 200 post https://acme-v02.api.letsencrypt.org/acme/authz/2236407055/477961695675 +205ms
acme-client [auto] Placed certificate order successfully, received 1 identity authorizations +0ms
acme-client [auto] Resolving and satisfying authorization challenges +0ms
acme-client [auto] [k51qzi5uqu5dlbzi1q8v1tj36yc9ny94s7nho3zlal5qj9q7hpgdzuceblltdj.libp2p.direct] Found 1 challenges, selected type: dns-01 +0ms
acme-client [auto] [k51qzi5uqu5dlbzi1q8v1tj36yc9ny94s7nho3zlal5qj9q7hpgdzuceblltdj.libp2p.direct] Trigger challengeCreateFn() +0ms
acme-client [auto] Waiting for challenge valid status +1ms
libp2p:auto-tls asking https://registration.libp2p.direct/v1/_acme-challenge to respond to the acme DNS challenge on our behalf +57s
libp2p:auto-tls dialback public addresses: /ip4/44.223.222.244/tcp/4001/p2p/12D3KooWPiwiFNMQZfrvipGxUNrK8avHSvR6HLeKLzQg5LhEr3eN, /ip4/44.223.222.244/tcp/4003/ws/p2p/12D3KooWPiwiFNMQZfrvipGxUNrK8avHSvR6HLeKLzQg5LhEr3eN, /ip6/2600:1f18:61b0:cb00:f2fa:48aa:208e:8843/tcp/4001/p2p/12D3KooWPiwiFNMQZfrvipGxUNrK8avHSvR6HLeKLzQg5LhEr3eN, /ip6/2600:1f18:61b0:cb00:f2fa:48aa:208e:8843/tcp/4004/ws/p2p/12D3KooWPiwiFNMQZfrvipGxUNrK8avHSvR6HLeKLzQg5LhEr3eN +0ms
libp2p:auto-tls:error contacting https://registration.libp2p.direct/ failed on attempt 0 - BadResponseError: Unexpected status code 400
libp2p:auto-tls:error at ClientAuth.doAuthenticatedFetch (file:///home/nodejs/libp2p/node_modules/@libp2p/http-fetch/dist/src/auth/client.js:125:19)
libp2p:auto-tls:error at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
libp2p:auto-tls:error at async ClientAuth.authenticatedFetch (file:///home/nodejs/libp2p/node_modules/@libp2p/http-fetch/dist/src/auth/client.js:59:36)
libp2p:auto-tls:error at async AutoTLS.configureAcmeChallengeResponse (file:///home/nodejs/libp2p/node_modules/@ipshipyard/libp2p-auto-tls/dist/src/auto-tls.js:272:26)
libp2p:auto-tls:error at async Object.challengeCreateFn (file:///home/nodejs/libp2p/node_modules/@ipshipyard/libp2p-auto-tls/dist/src/auto-tls.js:248:25)
libp2p:auto-tls:error at async /home/nodejs/libp2p/node_modules/acme-client/src/auto.js:113:17
libp2p:auto-tls:error at async Promise.all (index 0)
libp2p:auto-tls:error at async module.exports (/home/nodejs/libp2p/node_modules/acme-client/src/auto.js:168:9)
libp2p:auto-tls:error at async AutoTLS.loadOrCreateCertificate (file:///home/nodejs/libp2p/node_modules/@ipshipyard/libp2p-auto-tls/dist/src/auto-tls.js:187:21)
libp2p:auto-tls:error at async AutoTLS.fetchCertificate (file:///home/nodejs/libp2p/node_modules/@ipshipyard/libp2p-auto-tls/dist/src/auto-tls.js:145:31) +0ms
libp2p:auto-tls asking https://registration.libp2p.direct/v1/_acme-challenge to respond to the acme DNS challenge on our behalf +21s
libp2p:auto-tls dialback public addresses: /ip4/44.223.222.244/tcp/4001/p2p/12D3KooWPiwiFNMQZfrvipGxUNrK8avHSvR6HLeKLzQg5LhEr3eN, /ip4/44.223.222.244/tcp/4003/ws/p2p/12D3KooWPiwiFNMQZfrvipGxUNrK8avHSvR6HLeKLzQg5LhEr3eN, /ip6/2600:1f18:61b0:cb00:f2fa:48aa:208e:8843/tcp/4001/p2p/12D3KooWPiwiFNMQZfrvipGxUNrK8avHSvR6HLeKLzQg5LhEr3eN, /ip6/2600:1f18:61b0:cb00:f2fa:48aa:208e:8843/tcp/4004/ws/p2p/12D3KooWPiwiFNMQZfrvipGxUNrK8avHSvR6HLeKLzQg5LhEr3eN +1ms
libp2p:auto-tls:error contacting https://registration.libp2p.direct/ failed on attempt 1 - BadResponseError: Unexpected status code 400
libp2p:auto-tls:error at ClientAuth.doAuthenticatedFetch (file:///home/nodejs/libp2p/node_modules/@libp2p/http-fetch/dist/src/auth/client.js:125:19)
libp2p:auto-tls:error at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
libp2p:auto-tls:error at async ClientAuth.authenticatedFetch (file:///home/nodejs/libp2p/node_modules/@libp2p/http-fetch/dist/src/auth/client.js:59:36)
libp2p:auto-tls:error at async AutoTLS.configureAcmeChallengeResponse (file:///home/nodejs/libp2p/node_modules/@ipshipyard/libp2p-auto-tls/dist/src/auto-tls.js:272:26)
libp2p:auto-tls:error at async Object.challengeCreateFn (file:///home/nodejs/libp2p/node_modules/@ipshipyard/libp2p-auto-tls/dist/src/auto-tls.js:248:25)
libp2p:auto-tls:error at async /home/nodejs/libp2p/node_modules/acme-client/src/auto.js:113:17
libp2p:auto-tls:error at async Promise.all (index 0)
libp2p:auto-tls:error at async module.exports (/home/nodejs/libp2p/node_modules/acme-client/src/auto.js:168:9)
libp2p:auto-tls:error at async AutoTLS.loadOrCreateCertificate (file:///home/nodejs/libp2p/node_modules/@ipshipyard/libp2p-auto-tls/dist/src/auto-tls.js:187:21)
libp2p:auto-tls:error at async AutoTLS.fetchCertificate (file:///home/nodejs/libp2p/node_modules/@ipshipyard/libp2p-auto-tls/dist/src/auto-tls.js:145:31) +21s
Metadata
Metadata
Assignees
Labels
No labels