problem with obtaining certs

Hi,

I’m getting the following error when I try and use traefik with cloudflare as my dns,

I have the right api key in my compose file,

if someone can help it would be appreciated?

Note: even though I’m getting this error I’m still getting google trust certs from cloudflare but I wanna use let’s encrypt with traefik anyway here’s my error:

ERR Unable to obtain ACME certificate for domains error="unable to generate a certificate for the domains [traefik.example.com]: error: one or more domains had a problem:\n[traefik.example.com] [traefik.example.com] acme: error presenting token: cloudflare: could not find zone for domain "traefik.example.com": [fqdn=_acme-challenge.traefik.example.com.] could not find the start of authority for '_acme-challenge.traefik.example.com.': DNS call error: read udp 172.21.0.3:39875->1.1.1.1:53: i/o timeout [ns=1.1.1.1:53, question='com. IN SOA']\nDNS call error: read udp 172.21.0.3:48481->1.0.0.1:53: i/o timeout [ns=1.0.0.1:53, question='com. IN SOA']\n" ACME CA=https://acme-staging-v02.api.letsencrypt.org/directory acmeCA=https://acme-staging-v02.api.letsencrypt.org/directory domains=["traefik.example.com"] providerName=cloudflare.acme routerName=traefik-secure@docker rule=Host(traefik.example.com)

Cloudflare zone errors are mostly mentioned here, when sub-sub-domains are used, but the sub-domain in CF has not been created.

It could also be that the credentials don’t work for the domain.

Finally there seems to be a network issue, but that would rather be Docker related. Using a VPN or Pi-Hole?

I found the problem…

I’m using a cloud vps and the built in firewall was blocking access, when I turned it off it grabbed a certificate straight away such a small problem for a whole day wasted trying to find a solution.

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