Hi, I'm wondering if someone can look at my config file to figure out why the routing is not working. I'm using v3 beta2
When I go to localhost I see no available server
traefik.yaml
api:
dashboard: true
insecure: true
debug: true
entryPoints:
web:
address: ":80"
websecure:
address: ":443"
providers:
file:
filename: 443.yaml
watch: true
log:
level: DEBUG
filePath: traefik.log
accessLog:
filePath: access.log
443.yaml
http:
routers:
allbackendRouter:
rule: Host(`localhost`)
service: crestron
services:
crestron:
loadBalancer:
servers:
- url 'https ://external_url. com'
tls:
stores:
default:
defaultCertificate:
certFile: cert.pem
keyFile: cert-key.pem
access.log
::1 - - [13/Jan/2023:23:18:07 +0000] "GET / HTTP/1.1" 503 20 "-" "-" 1 "allbackendRouter@file" "-" 0ms#
traefik.log
2023-01-13T23:18:00Z INF github. com/traefik/traefik/v2/cmd/traefik/traefik.go:100 > Traefik version 3.0.0-beta2 built on 2022-12-07T16:32:34Z version=3.0.0-beta2
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/cmd/traefik/traefik.go:107 > Static configuration loaded [json] staticConfiguration={"accessLog":{"fields":{"defaultMode":"keep","headers":{"defaultMode":"drop"}},"filePath":"access.log","filters":{},"format":"common"},"api":{"dashboard":true,"debug":true,"insecure":true},"entryPoints":{"traefik":{"address":":8080","forwardedHeaders":{},"http":{},"http2":{"maxConcurrentStreams":250},"transport":{"lifeCycle":{"graceTimeOut":"10s"},"respondingTimeouts":{"idleTimeout":"3m0s"}},"udp":{"timeout":"3s"}},"web":{"address":":80","forwardedHeaders":{},"http":{},"http2":{"maxConcurrentStreams":250},"transport":{"lifeCycle":{"graceTimeOut":"10s"},"respondingTimeouts":{"idleTimeout":"3m0s"}},"udp":{"timeout":"3s"}},"websecure":{"address":":443","forwardedHeaders":{},"http":{},"http2":{"maxConcurrentStreams":250},"transport":{"lifeCycle":{"graceTimeOut":"10s"},"respondingTimeouts":{"idleTimeout":"3m0s"}},"udp":{"timeout":"3s"}}},"global":{"checkNewVersion":true},"log":{"filePath":"traefik.log","format":"common","level":"DEBUG"},"providers":{"file":{"filename":"443.yaml","watch":true},"providersThrottleDuration":"2s"},"serversTransport":{"maxIdleConnsPerHost":200}}
2023-01-13T23:18:00Z INF github. com/traefik/traefik/v2/cmd/traefik/traefik.go:685 >
Stats collection is disabled.
Help us improve Traefik by turning this feature on :)
More details on: https ://doc.traefik.io/traefik/contributing/data-collection/
2023-01-13T23:18:00Z INF github. com/traefik/traefik/v2/pkg/server/configurationwatcher.go:72 > Starting provider aggregator aggregator.ProviderAggregator
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/server/server_entrypoint_tcp.go:188 > Starting TCP Server entryPointName=web
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/server/server_entrypoint_tcp.go:188 > Starting TCP Server entryPointName=websecure
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/server/server_entrypoint_tcp.go:188 > Starting TCP Server entryPointName=traefik
2023-01-13T23:18:00Z INF github. com/traefik/traefik/v2/pkg/provider/aggregator/aggregator.go:207 > Starting provider *file.Provider
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/provider/aggregator/aggregator.go:208 > *file.Provider provider configuration config={"filename":"443.yaml","watch":true}
2023-01-13T23:18:00Z INF github. com/traefik/traefik/v2/pkg/provider/aggregator/aggregator.go:207 > Starting provider *traefik.Provider
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/provider/aggregator/aggregator.go:208 > *traefik.Provider provider configuration config={}
2023-01-13T23:18:00Z INF github. com/traefik/traefik/v2/pkg/provider/aggregator/aggregator.go:207 > Starting provider *acme.ChallengeTLSALPN
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/provider/aggregator/aggregator.go:208 > *acme.ChallengeTLSALPN provider configuration config={}
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/server/configurationwatcher.go:217 > Configuration received config={"http":{"routers":{"allbackendRouter":{"rule":"Host(`localhost`)","service":"crestron"}},"services":{"crestron":{"loadBalancer":{"passHostHeader":true,"responseForwarding":{"flushInterval":"100ms"}}}}},"tcp":{},"tls":{"stores":{"default":{}}},"udp":{}} providerName=file
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/server/configurationwatcher.go:217 > Configuration received config={"http":{"middlewares":{"dashboard_redirect":{"redirectRegex":{"permanent":true,"regex":"^(http :\\/\\/(\\[[\\w:.]+\\]|[\\w\\._-]+)(:\\d+)?)\\/$","replacement":"${1}/dashboard/"}},"dashboard_stripprefix":{"stripPrefix":{"prefixes":["/dashboard/","/dashboard"]}}},"routers":{"api":{"entryPoints":["traefik"],"priority":2147483646,"rule":"PathPrefix(`/api`)","service":"api@internal"},"dashboard":{"entryPoints":["traefik"],"middlewares":["dashboard_redirect@internal","dashboard_stripprefix@internal"],"priority":2147483645,"rule":"PathPrefix(`/`)","service":"dashboard@internal"},"debug":{"entryPoints":["traefik"],"priority":2147483646,"rule":"PathPrefix(`/debug`)","service":"api@internal"}},"serversTransports":{"default":{"maxIdleConnsPerHost":200}},"services":{"api":{},"dashboard":{},"noop":{}}},"tcp":{},"tls":{},"udp":{}} providerName=internal
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/server/aggregator.go:47 > No entryPoint defined for this router, using the default one(s) instead entryPointName=["web","websecure"] routerName=allbackendRouter
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/server/service/service.go:256 > Creating load-balancer entryPointName=websecure routerName=allbackendRouter@file serviceName=crestron@file
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/middlewares/tracing/forwarder.go:26 > Added outgoing tracing middleware entryPointName=websecure middlewareName=tracing middlewareType=TracingForwarder routerName=allbackendRouter@file serviceName=crestron
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/middlewares/recovery/recovery.go:22 > Creating middleware entryPointName=websecure middlewareName=traefik-internal-recovery middlewareType=Recovery
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/middlewares/tracing/forwarder.go:26 > Added outgoing tracing middleware entryPointName=traefik middlewareName=tracing middlewareType=TracingForwarder routerName=dashboard@internal serviceName=dashboard@internal
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/middlewares/stripprefix/strip_prefix.go:29 > Creating middleware entryPointName=traefik middlewareName=dashboard_stripprefix@internal middlewareType=StripPrefix routerName=dashboard@internal
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/middlewares/tracing/wrapper.go:32 > Adding tracing to middleware entryPointName=traefik middlewareName=dashboard_stripprefix@internal routerName=dashboard@internal
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/middlewares/redirect/redirect_regex.go:17 > Creating middleware entryPointName=traefik middlewareName=dashboard_redirect@internal middlewareType=RedirectRegex routerName=dashboard@internal
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/middlewares/redirect/redirect_regex.go:18 > Setting up redirection from ^(http :\/\/(\[[\w:.]+\]|[\w\._-]+)(:\d+)?)\/$ to ${1}/dashboard/ entryPointName=traefik middlewareName=dashboard_redirect@internal middlewareType=RedirectRegex routerName=dashboard@internal
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/middlewares/tracing/wrapper.go:32 > Adding tracing to middleware entryPointName=traefik middlewareName=dashboard_redirect@internal routerName=dashboard@internal
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/middlewares/tracing/forwarder.go:26 > Added outgoing tracing middleware entryPointName=traefik middlewareName=tracing middlewareType=TracingForwarder routerName=debug@internal serviceName=api@internal
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/middlewares/tracing/forwarder.go:26 > Added outgoing tracing middleware entryPointName=traefik middlewareName=tracing middlewareType=TracingForwarder routerName=api@internal serviceName=api@internal
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/middlewares/recovery/recovery.go:22 > Creating middleware entryPointName=traefik middlewareName=traefik-internal-recovery middlewareType=Recovery
2023-01-13T23:18:00Z DBG github. com/traefik/traefik/v2/pkg/middlewares/recovery/recovery.go:22 > Creating middleware entryPointName=web middlewareName=traefik-internal-recovery middlewareType=Recovery
2023-01-13T23:18:12Z INF github. com/traefik/traefik/v2/pkg/server/server.go:57 > I have to go...
2023-01-13T23:18:12Z INF github. com/traefik/traefik/v2/pkg/server/server.go:58 > Stopping server gracefully
2023-01-13T23:18:12Z DBG github. com/traefik/traefik/v2/pkg/server/server_entrypoint_tcp.go:255 > Waiting 10s seconds before killing connections entryPointName=web
2023-01-13T23:18:12Z DBG github. com/traefik/traefik/v2/pkg/server/server_entrypoint_tcp.go:255 > Waiting 10s seconds before killing connections entryPointName=websecure
2023-01-13T23:18:12Z DBG github. com/traefik/traefik/v2/pkg/server/server_entrypoint_tcp.go:255 > Waiting 10s seconds before killing connections entryPointName=traefik
2023-01-13T23:18:12Z ERR github. com/traefik/traefik/v2/pkg/server/server_entrypoint_tcp.go:197 > error="accept tcp [::]:80: use of closed network connection" entryPointName=web
2023-01-13T23:18:12Z ERR github. com/traefik/traefik/v2/pkg/server/server_entrypoint_tcp.go:273 > error="close tcp [::]:80: use of closed network connection" entryPointName=web
2023-01-13T23:18:12Z ERR github. com/traefik/traefik/v2/pkg/server/server_entrypoint_tcp.go:197 > error="accept tcp [::]:443: use of closed network connection" entryPointName=websecure
2023-01-13T23:18:12Z ERR github. com/traefik/traefik/v2/pkg/server/server_entrypoint_tcp.go:273 > error="close tcp [::]:443: use of closed network connection" entryPointName=websecure
2023-01-13T23:18:12Z DBG github. com/traefik/traefik/v2/pkg/server/server_entrypoint_tcp.go:113 > Entrypoint closed entryPointName=websecure
2023-01-13T23:18:12Z ERR github. com/traefik/traefik/v2/pkg/server/server_entrypoint_tcp.go:197 > error="accept tcp [::]:8080: use of closed network connection" entryPointName=traefik
2023-01-13T23:18:12Z ERR github. com/traefik/traefik/v2/pkg/server/server_entrypoint_tcp.go:273 > error="close tcp [::]:8080: use of closed network connection" entryPointName=traefik
2023-01-13T23:18:12Z DBG github. com/traefik/traefik/v2/pkg/server/server_entrypoint_tcp.go:113 > Entrypoint closed entryPointName=traefik
2023-01-13T23:18:22Z DBG github. com/traefik/traefik/v2/pkg/server/server_entrypoint_tcp.go:304 > Server failed to shutdown before deadline error="context deadline exceeded" entryPointName=web
2023-01-13T23:18:22Z DBG github. com/traefik/traefik/v2/pkg/server/server_entrypoint_tcp.go:113 > Entrypoint closed entryPointName=web
2023-01-13T23:18:22Z ERR github. com/traefik/traefik/v2/pkg/server/router/tcp/postgres.go:28 > Error while Peeking first bytes error="read tcp [::1]:80->[::1]:61074: use of closed network connection"
2023-01-13T23:18:22Z INF github. com/traefik/traefik/v2/cmd/traefik/traefik.go:162 > Shutting down
2023-01-13T23:18:22Z INF github. com/traefik/traefik/v2/pkg/server/server.go:82 > Server stopped