I'm having a lot of trouble getting Consul Catalog to work.
Anytime I visit the address, it shows up as 404 and in the logs the request shows up as:
[26/Aug/2020:16:37:12 +0000] "GET / HTTP/2.0" - - "-" "-" 374 "-" "-" 0ms
According to the logs, Traefik picks up the service just fine.... here's the entry from the logs which seems to look totally correct according to Traefik:
{
"http": {
"routers": {
"grafana": {
"service": "grafana",
"rule": "Host(`grafana.example.com`)"
}
},
"services": {
"grafana": {
"loadBalancer": {
"servers": [
{
"url": "http://10.10.0.8:3000"
}
],
"passHostHeader": true
}
}
}
}
}
I'm running from a docker with the following command lines:
- "--log"
- "--log.level=DEBUG"
- "--accesslog=true"
- "--providers.consulCatalog=true"
- "--providers.consulCatalog.requireConsistent=false"
- "--providers.consulCatalog.stale=false"
- "--providers.consulCatalog.cache=false"
- "--providers.consulCatalog.endpoint.address=consul:8500"
- "--providers.consulCatalog.endpoint.scheme=http"
- "--providers.consulCatalog.endpoint.datacenter=sfo2"
- "--providers.consulCatalog.refreshInterval=15s"
- "--providers.consulCatalog.exposedByDefault=true"
- "--entrypoints.web.address=:80/tcp"
- "--entrypoints.web.http.redirections.entryPoint.to=websecure"
- "--entrypoints.web.http.redirections.entryPoint.scheme=https"
- "--entrypoints.websecure.address=:443/tcp"
- "--api.dashboard=true"
- "--api.insecure=true"
- "--providers.file.directory=/traefik/config"
- "--providers.file.watch=true"