D
Dokploy5mo ago
monco

[SOLVED] LetsEncrypt fails with BuildType static

the website is generally reachable, but with the wrong cert (traefik-default). the log says:
 ERR Unable to obtain ACME certificate for domains error="unable to generate a certificate for the domains [example.com]: error: one or more domains had a problem:\n[example.com] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: 2a01:4f8:d0a:27bd::2: Invalid response from http://example.com/.well-known/acme-challenge/TS6...-kw: 404\n" ACME CA=https://acme-v02.api.letsencrypt.org/directory acmeCA=https://acme-v02.api.letsencrypt.org/directory domains=["example.com"] providerName=letsencrypt.acme routerName=examplecom-web-static-a00f94-router-websecure-8@file rule=Host(`example.com`)
 ERR Unable to obtain ACME certificate for domains error="unable to generate a certificate for the domains [example.com]: error: one or more domains had a problem:\n[example.com] acme: error: 403 :: urn:ietf:params:acme:error:unauthorized :: 2a01:4f8:d0a:27bd::2: Invalid response from http://example.com/.well-known/acme-challenge/TS6...-kw: 404\n" ACME CA=https://acme-v02.api.letsencrypt.org/directory acmeCA=https://acme-v02.api.letsencrypt.org/directory domains=["example.com"] providerName=letsencrypt.acme routerName=examplecom-web-static-a00f94-router-websecure-8@file rule=Host(`example.com`)
(note: replaced my real domain with example.com here - that's not the issue) what i tried: * deleting the domain entry and re-adding it, while even rebooting the whole server in between: no luck. * updating the webserver: done, no change. i've had other projects with different buildTypes in the past where letsencrypt domains worked as expected. anyone got an idea?
1 Reply
monco
moncoOP5mo ago
i didn't set the ipv6 records - may that be the issue? okay, that might have been the issue

Did you find this page helpful?