rancher / os

Tiny Linux distro that runs the entire OS as Docker containers
https://rancher.com/docs/os/v1.x/en/
Apache License 2.0
6.44k stars 660 forks source link

Traefik: Unable to obtain ACME certificate for domains #3034

Open Bammede opened 3 years ago

Bammede commented 3 years ago

Tried everything I found on the Internet and nothing helped. As RancherOS is the minimal system perhaps I should do something extra?

Let's encrypt cannot proceed while installing Traefik by docker-compose, I get this message:

traefik level=error msg="Unable to obtain ACME certificate for domains \"example.domain.com\": cannot get ACME client get directory at 'https://acme-v02.api.letsencrypt.org/directory': Get \"https://acme-v02.api.letsencrypt.org/directory\": dial tcp: lookup acme-v02.api.letsencrypt.org on 127.0.0.11:53: read udp 127.0.0.1:40126->127.0.0.11:53: i/o timeout" rule="Host(example.domain.com)" providerName=letsencrypt.acme routerName=traefik-secure@docker I did iptables -F and still problem persist, so it is not firewall. It is docker, but what exactly I should do?

Google DNS name servers are setup in cloud-config file. Traefik setup on seperated docker, external network.

abnerrizzi commented 3 years ago

I am having the same problem here.

abnerrizzi commented 3 years ago

I had some problems generating new certificates because my IPv6 was enabled. After disable, worked fine for me.