But the management service is restarting again and again, looking for TLS credentials:
2024-05-31T08:13:28Z INFO management/cmd/management.go:455: loading OIDC configuration from the provided IDP configuration endpoint https://auth.company.sh/application/o/netbird/.well-known/openid-configuration
2024-05-31T08:13:29Z INFO management/cmd/management.go:460: loaded OIDC configuration from the provided IDP configuration endpoint: https://auth.company.sh/application/o/netbird/.well-known/openid-configuration
2024-05-31T08:13:29Z INFO management/cmd/management.go:462: overriding HttpConfig.AuthIssuer with a new value https://auth.company.sh/application/o/netbird/, previously configured value: https://auth.company.sh/application/o/netbird/
2024-05-31T08:13:29Z INFO management/cmd/management.go:466: overriding HttpConfig.AuthKeysLocation (JWT certs) with a new value https://auth.company.sh/application/o/netbird/jwks/, previously configured value: https://auth.company.sh/application/o/netbird/jwks/
2024-05-31T08:13:29Z INFO management/cmd/management.go:471: overriding DeviceAuthorizationFlow.TokenEndpoint with a new value: https://auth.company.sh/application/o/token/, previously configured value: https://auth.company.sh/application/o/token/
2024-05-31T08:13:29Z INFO management/cmd/management.go:474: overriding DeviceAuthorizationFlow.DeviceAuthEndpoint with a new value: https://auth.company.sh/application/o/device/, previously configured value: https://auth.company.sh/application/o/device/
2024-05-31T08:13:29Z INFO management/cmd/management.go:482: overriding DeviceAuthorizationFlow.ProviderConfig.Domain with a new value: auth.company.sh, previously configured value: auth.company.sh
2024-05-31T08:13:29Z INFO management/cmd/management.go:492: overriding PKCEAuthorizationFlow.TokenEndpoint with a new value: https://auth.company.sh/application/o/token/, previously configured value: https://auth.company.sh/application/o/token/
2024-05-31T08:13:29Z INFO management/cmd/management.go:495: overriding PKCEAuthorizationFlow.AuthorizationEndpoint with a new value: https://auth.company.sh/application/o/authorize/, previously configured value: https://auth.company.sh/application/o/authorize/
2024-05-31T08:13:29Z INFO management/server/telemetry/app_metrics.go:177: enabled application metrics and exposing on http://0.0.0.0:8081
2024-05-31T08:13:29Z INFO management/server/store.go:109: using Postgres store engine
2024-05-31T08:13:29Z INFO management/server/migration/migration.go:128: No records in table peers, no migration needed
2024-05-31T08:13:29Z INFO management/server/migration/migration.go:128: No records in table peers, no migration needed
2024-05-31T08:13:29Z INFO management/cmd/management.go:173: geo location service has been initialized from /var/lib/netbird/
2024-05-31T08:13:29Z INFO management/server/account.go:889: single account mode enabled, accounts number 0
2024-05-31T08:13:29Z ERRO management/cmd/management.go:227: cannot load TLS credentials: open /etc/letsencrypt/live/vpn.company.sh/fullchain.pem: no such file or directory
Error: open /etc/letsencrypt/live/vpn.company.sh/fullchain.pem: no such file or directory
How the management service can stop looking for TLS credentials, and then starting & waiting for traefik connections?
Describe the problem
Management service can't start behind a traefik reverse proxy.
Are you using NetBird Cloud?
I'm using the self hosted version of netbird.
Additional context
I have followed all steps from https://docs.netbird.io/selfhosted/selfhosted-guide#configuration-for-net-bird to set-up netbird behind traefik.
From my docker-compose.yml, here is my dashboard and management services configuration:
The only lines related to TLS from management.json file are the following ones:
My dashboard is up and running :
But the management service is restarting again and again, looking for TLS credentials:
How the management service can stop looking for TLS credentials, and then starting & waiting for traefik connections?