Use consul as provider, start traefik, report this:
traefik | time="2020-12-19T03:02:47Z" level=info msg="Configuration loaded from file: /etc/traefik/traefik.toml"
traefik | time="2020-12-19T03:02:48Z" level=error msg="Cannot build the configuration: Key not found in store" providerName=consul
traefik | time="2020-12-19T03:02:48Z" level=error msg="KV connection error: Key not found in store, retrying in 462.318748ms" providerName=consul
traefik | time="2020-12-19T03:02:48Z" level=error msg="KV connection error: Key not found in store, retrying in 492.389441ms" providerName=consul
traefik | time="2020-12-19T03:02:49Z" level=error msg="KV connection error: Key not found in store, retrying in 1.142114207s" providerName=consul
traefik | time="2020-12-19T03:02:50Z" level=error msg="KV connection error: Key not found in store, retrying in 1.486109007s" providerName=consul
traefik | time="2020-12-19T03:02:51Z" level=error msg="KV connection error: Key not found in store, retrying in 1.982055195s" providerName=consul
traefik | time="2020-12-19T03:02:53Z" level=error msg="KV connection error: Key not found in store, retrying in 2.728256121s" providerName=consul
traefik | time="2020-12-19T03:02:56Z" level=error msg="KV connection error: Key not found in store, retrying in 6.097818893s" providerName=consul
And my traefik.toml is
[providers.consul]
endpoints = ["consul_server:8500"]
rootKey = "traefik"
username = ""
password = ""
Anyone has good idea?