netbird
netbird copied to clipboard
Request failed with status code 401. Please refresh the page if the issue continues. token invalid [AUTHENTIK]
when i test to login i received Request failed with status code 401. Please refresh the page if the issue continues. token invalid
I don't know why :( ... I loose all of my peer .... but the connection netbird app work and access of peer work
I think that NETBIRD_MGMT_IDP_SIGNKEY_REFRESH=true to setup.env of your netbird self-hosted will avoid this
The problem is the same .... :(
I don't know what's happened but now i don't have the error message but nothing showed on dashboard....
for information I just change the authentik server ...
Has anyone managed to solve it? Here's what I see in the logs:
2024-07-27T14:17:05Z DEBG management/server/account.go:1239: account cpk3ikv7g7ts73c049h0 not found in cache, reloading
2024-07-27T14:17:05Z DEBG management/server/idp/authentik.go:134: requesting new jwt token for authentik idp manager
2024-07-27T14:17:05Z ERRO [context: HTTP, requestID: d5349073-3a72-4293-bb39-0e4c7eb0844a] management/server/http/middleware/auth_middleware.go:89: Error when validating JWT claims: unable to get authentik token, statusCode 400
2024-07-27T14:17:05Z ERRO [requestID: d5349073-3a72-4293-bb39-0e4c7eb0844a, context: HTTP] management/server/http/util/util.go:81: got a handler error: token invalid
2024-07-27T14:17:05Z ERRO [requestID: d5349073-3a72-4293-bb39-0e4c7eb0844a, context: HTTP] management/server/telemetry/http_api_metrics.go:191: HTTP response d5349073-3a72-4293-bb39-0e4c7eb0844a: GET /api/users status 401
2024-07-27T14:17:05Z DEBG [context: HTTP, requestID: d5349073-3a72-4293-bb39-0e4c7eb0844a] management/server/telemetry/http_api_metrics.go:211: request GET /api/users took 304 ms and finished with status 401
And it's my current theme with Netbird - initially it works, then after a while I get this error. Tried updating geo db as suggested in one of the topics, added NETBIRD_MGMT_IDP_SIGNKEY_REFRESH=true etc - so far no luck.