Closed Svenum closed 1 year ago
You can also try the very latest build here, just to ensure you got the write image: `ghcr.io/jittering/traefik-kop:0.12.2-next-22aaa3b-amd64`
Originally posted by @chetan in https://github.com/jittering/traefik-kop/issues/18#issuecomment-1276303963
Same error.
Error with DEBUG=1 ENV:
time="2022-10-13T14:59:26Z" level=debug msg="found container '/pwm-bitwarden-1' (925f5dbfc0dd96bad4fa68766eb4e3223cfad35c57206bb2661fa5b2798e52e5) for service 'bitwarden'" time="2022-10-13T14:59:26Z" level=debug msg="found label kop.bitwarden.bind.ip with IP '172.16.0.13' for service bitwarden" time="2022-10-13T14:59:26Z" level=debug msg="using load balancer URL for port detection: http://10.10.2.7:80" service=bitwarden@docker service-type=http time="2022-10-13T14:59:26Z" level=debug msg="found router 'bitwarden@docker' for service bitwarden" time="2022-10-13T14:59:26Z" level=debug msg="found container '/pwm-bitwarden-1' (925f5dbfc0dd96bad4fa68766eb4e3223cfad35c57206bb2661fa5b2798e52e5) for service 'bitwarden'" time="2022-10-13T14:59:26Z" level=debug msg="using explicitly set port 80 for bitwarden@docker" service=bitwarden@docker service-type=http time="2022-10-13T14:59:26Z" level=info msg="publishing http://172.16.0.13:80" service=bitwarden@docker service-type=http time="2022-10-13T14:59:26Z" level=debug msg="found http service: guacamole@docker" service=guacamole@docker service-type=http time="2022-10-13T14:59:26Z" level=debug msg="found router 'guacamole@docker' for service guacamole" time="2022-10-13T14:59:26Z" level=debug msg="found container '/rmt-guacamole-1' (5071b739781c84896aa494b5b69a4770a73478798ab77310c589616f61c1a54a) for service 'guacamole'" time="2022-10-13T14:59:26Z" level=debug msg="found label kop.guacamole.bind.ip with IP '172.16.0.17' for service guacamole" time="2022-10-13T14:59:26Z" level=debug msg="using load balancer URL for port detection: http://10.10.2.8:8080" service=guacamole@docker service-type=http time="2022-10-13T14:59:26Z" level=debug msg="found router 'guacamole@docker' for service guacamole" time="2022-10-13T14:59:26Z" level=debug msg="found container '/rmt-guacamole-1' (5071b739781c84896aa494b5b69a4770a73478798ab77310c589616f61c1a54a) for service 'guacamole'" time="2022-10-13T14:59:26Z" level=debug msg="using explicitly set port 8080 for guacamole@docker" service=guacamole@docker service-type=http time="2022-10-13T14:59:26Z" level=info msg="publishing http://172.16.0.17:8080" service-type=http service=guacamole@docker time="2022-10-13T14:59:26Z" level=debug msg="found http service: jellyfin@docker" service=jellyfin@docker service-type=http time="2022-10-13T14:59:26Z" level=debug msg="found router 'jellyfin@docker' for service jellyfin" time="2022-10-13T14:59:26Z" level=debug msg="found container '/jf-jellyfin-1' (0249cede9cfb095c6dda3e03c4080e93ab278cb9ad10f25003ab18b225f67b09) for service 'jellyfin'" time="2022-10-13T14:59:26Z" level=debug msg="found label kop.jellyfin.bind.ip with IP '172.16.0.15' for service jellyfin" time="2022-10-13T14:59:26Z" level=debug msg="using load balancer URL for port detection: http://172.16.0.15:80" service=jellyfin@docker service-type=http time="2022-10-13T14:59:26Z" level=debug msg="found router 'jellyfin@docker' for service jellyfin" time="2022-10-13T14:59:26Z" level=debug msg="found container '/jf-jellyfin-1' (0249cede9cfb095c6dda3e03c4080e93ab278cb9ad10f25003ab18b225f67b09) for service 'jellyfin'" time="2022-10-13T14:59:26Z" level=debug msg="using explicitly set port 80 for jellyfin@docker" service=jellyfin@docker service-type=http time="2022-10-13T14:59:26Z" level=info msg="publishing http://172.16.0.15:80" service=jellyfin@docker service-type=http time="2022-10-13T14:59:26Z" level=debug msg="found http service: nextcloud@docker" service-type=http service=nextcloud@docker time="2022-10-13T14:59:26Z" level=debug msg="found router 'nextcloud@docker' for service nextcloud" time="2022-10-13T14:59:26Z" level=debug msg="found container '/nc-nextcloud-1' (1bcaf17d22b671f70955b2c5e287d754612b171c44e9f8476cedd23ee7f6d1c8) for service 'nextcloud'" time="2022-10-13T14:59:26Z" level=debug msg="found label kop.nextcloud.bind.ip with IP '172.16.0.14' for service nextcloud" time="2022-10-13T14:59:26Z" level=debug msg="using load balancer URL for port detection: https://172.16.0.14:443" service=nextcloud@docker service-type=http time="2022-10-13T14:59:26Z" level=debug msg="found router 'nextcloud@docker' for service nextcloud" time="2022-10-13T14:59:26Z" level=debug msg="found container '/nc-nextcloud-1' (1bcaf17d22b671f70955b2c5e287d754612b171c44e9f8476cedd23ee7f6d1c8) for service 'nextcloud'" time="2022-10-13T14:59:26Z" level=debug msg="using explicitly set port 443 for nextcloud@docker" service-type=http service=nextcloud@docker time="2022-10-13T14:59:26Z" level=info msg="publishing https://172.16.0.14:443" service=nextcloud@docker service-type=http time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/routers/jellyfin/service = jellyfin" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/routers/onlyoffice/entryPoints/0 = https" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/services/bitwarden/loadBalancer/passHostHeader = true" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/routers/bitwarden/entryPoints/0 = https" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/routers/bitwarden/service = bitwarden" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/routers/nextcloud/entryPoints/0 = https" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/routers/nextcloud/rule = Host(`srv-nextcloud.intra.holypenguin.net`)" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/routers/onlyoffice/rule = Host(`srv-onlyoffice.intra.holypenguin.net`)" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/services/onlyoffice/loadBalancer/servers/0/url = http://172.16.0.16:80" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/services/onlyoffice/loadBalancer/passHostHeader = true" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/services/jellyfin/loadBalancer/passHostHeader = true" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/routers/guacamole/entryPoints/0 = https" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/routers/jellyfin/rule = Host(`srv-jellyfin.intra.holypenguin.net`)" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/routers/onlyoffice/service = onlyoffice" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/services/guacamole/loadBalancer/passHostHeader = true" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/services/jellyfin/loadBalancer/servers/0/url = http://172.16.0.15:80" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/services/nextcloud/loadBalancer/servers/0/url = https://172.16.0.14:443" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/routers/bitwarden/rule = Host(`srv-bitwarden.intra.holypenguin.net`)" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/routers/guacamole/rule = Host(`srv-guacamole.intra.holypenguin.net`)" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/routers/nextcloud/service = nextcloud" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/services/bitwarden/loadBalancer/servers/0/url = http://172.16.0.13:80" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/services/guacamole/loadBalancer/servers/0/url = http://172.16.0.17:8080" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/services/nextcloud/loadBalancer/passHostHeader = true" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/routers/guacamole/service = guacamole" time="2022-10-13T14:59:26Z" level=debug msg="writing traefik/http/routers/jellyfin/entryPoints/0 = https" time="2022-10-13T15:00:26Z" level=debug msg=tick time="2022-10-13T15:00:26Z" level=debug msg="Provider connection established with docker 20.10.18 (API 1.41)" providerName=docker time="2022-10-13T15:00:26Z" level=debug msg="Filtering disabled container" providerName=docker container=traefik-kop-proxy-66c5783c4e39e730be9b93ded5d6d3eb150c43195247c57385e734bdba2909d8 time="2022-10-13T15:00:26Z" level=error msg="Error in Go routine: runtime error: invalid memory address or nil pointer dereference" time="2022-10-13T15:00:26Z" level=error msg="Stack: goroutine 23 [running]:\nruntime/debug.Stack()\n\t/opt/hostedtoolcache/go/1.19.1/x64/src/runtime/debug/stack.go:24 +0x65\ngithub.com/traefik/traefik/v2/pkg/safe.defaultRecoverGoroutine({0x247d900?, 0x41cbaa0})\n\t/home/runner/go/pkg/mod/github.com/traefik/traefik/v2@v2.8.4/pkg/safe/routine.go:66 +0xa5\ngithub.com/traefik/traefik/v2/pkg/safe.OperationWithRecover.func1.1()\n\t/home/runner/go/pkg/mod/github.com/traefik/traefik/v2@v2.8.4/pkg/safe/routine.go:74 +0x35\npanic({0x247d900, 0x41cbaa0})\n\t/opt/hostedtoolcache/go/1.19.1/x64/src/runtime/panic.go:884 +0x212\ntext/template.errRecover(0xc000fef230)\n\t/opt/hostedtoolcache/go/1.19.1/x64/src/text/template/exec.go:164 +0x165\npanic({0x247d900, 0x41cbaa0})\n\t/opt/hostedtoolcache/go/1.19.1/x64/src/runtime/panic.go:884 +0x212\ntext/template.(*Template).execute(0x0, {0x2e184e0?, 0xc00027de30?}, {0x253f740?, 0xc0011cc228?})\n\t/opt/hostedtoolcache/go/1.19.1/x64/src/text/template/exec.go:215 +0x22c\ntext/template.(*Template).Execute(...)\n\t/opt/hostedtoolcache/go/1.19.1/x64/src/text/template/exec.go:201\ngithub.com/traefik/traefik/v2/pkg/provider.BuildRouterConfiguration({0x2e3bb00, 0xc000160540}, 0xc00027dbc0, {0xc000a577a0?, 0xc0002f3b90?}, 0x10?, {0x253f740, 0xc0011cc228})\n\t/home/runner/go/pkg/mod/github.com/traefik/traefik/v2@v2.8.4/pkg/provider/configuration.go:404 +0x2d1\ngithub.com/traefik/traefik/v2/pkg/provider/docker.(*Provider).buildConfiguration(0xc0001d63f0, {0x2e3bb00, 0xc000160540}, {0xc0009a4000, 0x8, 0xc0012fd8a0?})\n\t/home/runner/go/pkg/mod/github.com/traefik/traefik/v2@v2.8.4/pkg/provider/docker/config.go:83 +0x765\ngithub.com/traefik/traefik/v2/pkg/provider/docker.(*Provider).Provide.func1.1()\n\t/home/runner/go/pkg/mod/github.com/traefik/traefik/v2@v2.8.4/pkg/provider/docker/docker.go:231 +0x6fc\ngithub.com/traefik/traefik/v2/pkg/safe.OperationWithRecover.func1()\n\t/home/runner/go/pkg/mod/github.com/traefik/traefik/v2@v2.8.4/pkg/safe/routine.go:78 +0x63\ngithub.com/cenkalti/backoff/v4.RetryNotifyWithTimer(0xc000fc2480, {0x14bf9b1f4d98, 0xc0013c8020}, 0xc000feff20, {0x0?, 0x0?})\n\t/home/runner/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.1.1/retry.go:55 +0x12a\ngithub.com/cenkalti/backoff/v4.RetryNotify(...)\n\t/home/runner/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.1.1/retry.go:34\ngithub.com/traefik/traefik/v2/pkg/provider/docker.(*Provider).Provide.func1({0x2e3ba58?, 0xc00028e340?})\n\t/home/runner/go/pkg/mod/github.com/traefik/traefik/v2@v2.8.4/pkg/provider/docker/docker.go:331 +0x2fb\ngithub.com/traefik/traefik/v2/pkg/safe.(*Pool).GoCtx.func1()\n\t/home/runner/go/pkg/mod/github.com/traefik/traefik/v2@v2.8.4/pkg/safe/routine.go:36 +0x66\ngithub.com/traefik/traefik/v2/pkg/safe.GoWithRecover.func1()\n\t/home/runner/go/pkg/mod/github.com/traefik/traefik/v2@v2.8.4/pkg/safe/routine.go:59 +0x5b\ncreated by github.com/traefik/traefik/v2/pkg/safe.GoWithRecover\n\t/home/runner/go/pkg/mod/github.com/traefik/traefik/v2@v2.8.4/pkg/safe/routine.go:53 +0x72\n" time="2022-10-13T15:00:26Z" level=error msg="Provider connection error panic in operation: %!w(<nil>), retrying in 579.272613ms" providerName=docker
Originally posted by @chetan in https://github.com/jittering/traefik-kop/issues/18#issuecomment-1276303963
Same error.
Error with DEBUG=1 ENV: