Open WhyAydan opened 5 months ago
@WhyAydan, This error, Token is not valid yet,
usually happens when there is a time sync issue with the Zitadel or NetBird's service.
Can you double-check the time in both services and your own workstation to confirm it? If so, you can check some steps from https://askubuntu.com/questions/254826/how-to-force-a-clock-update-using-ntp to update your server's time. Once that is done you can restart the affected service.
@mlsmaycon I shall give it a go, what method do you use for docker? been a while since i time synced them but i recall it being something like this?
volumes:
- /etc/localtime:/etc/localtime:ro
UPDATE:
mounted the volume and set the env for all containers to be TZ=Europe/London
Thats been resolved but now the logs are getting the following
management-1 | 2024-05-07T19:18:15Z INFO management/server/account.go:1411: cache invalid. Users unknown to the cache: 1
management-1 | 2024-05-07T19:18:15Z INFO management/server/account.go:1372: refreshing cache for account cot70csrfpec73emggs0
management-1 | 2024-05-07T19:18:15Z WARN management/server/account.go:1245: user 266096520175157251 not found in IDP
@WhyAydan regarding the time, usually synchronizing the host's time is enough.
The error means that there is no user in the Zitadel with the same ID, 266096520175157251. Is this a fresh installation?
Hello, zitadel isn't a fresh install no. However Netbird is :)
any news to that? has set up my zitadel freshly and a freshly installed netbird installation and get tons of warning and the loading from netbird ui is extreme slow (25 seconds to load the peers):
management-1 | 2024-07-26T23:28:20Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:20Z INFO [context: HTTP, requestID: 0cac0d1a-5a53-4c14-8088-25990ff3a6ce] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:20Z INFO [context: HTTP, requestID: 0cac0d1a-5a53-4c14-8088-25990ff3a6ce] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:21Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:21Z INFO [requestID: 0cac0d1a-5a53-4c14-8088-25990ff3a6ce, context: HTTP] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:21Z INFO [context: HTTP, requestID: 0cac0d1a-5a53-4c14-8088-25990ff3a6ce] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:21Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:21Z WARN [context: HTTP, requestID: 0cac0d1a-5a53-4c14-8088-25990ff3a6ce] management/server/account.go:1399: cache for account cqhh3e82ft7s73fano30 reached maximum refresh attempts (2)
management-1 | 2024-07-26T23:28:21Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:21Z INFO [accountID: , userID: 277328874407788559, context: HTTP, requestID: 0ad7a559-07d7-49c1-a267-f0fdb351600a] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:21Z INFO [userID: 277328874407788559, context: HTTP, requestID: 0ad7a559-07d7-49c1-a267-f0fdb351600a, accountID: ] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:22Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:22Z INFO [accountID: , userID: 277328874407788559, context: HTTP, requestID: 0ad7a559-07d7-49c1-a267-f0fdb351600a] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:22Z INFO [context: HTTP, requestID: 0ad7a559-07d7-49c1-a267-f0fdb351600a, accountID: , userID: 277328874407788559] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:22Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:22Z WARN [context: HTTP, requestID: 0ad7a559-07d7-49c1-a267-f0fdb351600a, accountID: , userID: 277328874407788559] management/server/account.go:1399: cache for account cqhh3e82ft7s73fano30 reached maximum refresh attempts (2)
management-1 | 2024-07-26T23:28:23Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:23Z INFO [context: HTTP, requestID: b3501788-5573-43c1-b582-04cda2bf9480, accountID: , userID: 277328874407788559] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:23Z INFO [context: HTTP, requestID: b3501788-5573-43c1-b582-04cda2bf9480, accountID: , userID: 277328874407788559] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:23Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:23Z INFO [context: HTTP, requestID: b3501788-5573-43c1-b582-04cda2bf9480, accountID: , userID: 277328874407788559] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:23Z INFO [context: HTTP, requestID: b3501788-5573-43c1-b582-04cda2bf9480, accountID: , userID: 277328874407788559] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:23Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:23Z WARN [context: HTTP, requestID: b3501788-5573-43c1-b582-04cda2bf9480, accountID: , userID: 277328874407788559] management/server/account.go:1399: cache for account cqhh3e82ft7s73fano30 reached maximum refresh attempts (2)
management-1 | 2024-07-26T23:28:24Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:24Z INFO [userID: 277328874407788559, context: HTTP, requestID: b9e2a12d-1c3a-40b2-ac55-248686814556, accountID: ] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:24Z INFO [userID: 277328874407788559, context: HTTP, requestID: b9e2a12d-1c3a-40b2-ac55-248686814556, accountID: ] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:24Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:24Z INFO [requestID: b9e2a12d-1c3a-40b2-ac55-248686814556, accountID: , userID: 277328874407788559, context: HTTP] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:24Z INFO [accountID: , userID: 277328874407788559, context: HTTP, requestID: b9e2a12d-1c3a-40b2-ac55-248686814556] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:25Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:25Z WARN [context: HTTP, requestID: b9e2a12d-1c3a-40b2-ac55-248686814556, accountID: , userID: 277328874407788559] management/server/account.go:1399: cache for account cqhh3e82ft7s73fano30 reached maximum refresh attempts (2)
management-1 | 2024-07-26T23:28:25Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:25Z INFO [userID: 277328874407788559, context: HTTP, requestID: e8f42aaf-56fd-48af-b396-5040eb23fb2c, accountID: ] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:25Z INFO [context: HTTP, requestID: e8f42aaf-56fd-48af-b396-5040eb23fb2c, accountID: , userID: 277328874407788559] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:25Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:25Z INFO [context: HTTP, requestID: e8f42aaf-56fd-48af-b396-5040eb23fb2c, accountID: , userID: 277328874407788559] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:25Z INFO [userID: 277328874407788559, context: HTTP, requestID: e8f42aaf-56fd-48af-b396-5040eb23fb2c, accountID: ] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:26Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:26Z WARN [context: HTTP, requestID: e8f42aaf-56fd-48af-b396-5040eb23fb2c, accountID: , userID: 277328874407788559] management/server/account.go:1399: cache for account cqhh3e82ft7s73fano30 reached maximum refresh attempts (2)
management-1 | 2024-07-26T23:28:26Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:26Z INFO [userID: 277328874407788559, context: HTTP, requestID: b40ef1c9-ebc8-4db1-8098-a7f56fb2c1ff, accountID: ] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:26Z INFO [context: HTTP, requestID: b40ef1c9-ebc8-4db1-8098-a7f56fb2c1ff, accountID: , userID: 277328874407788559] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:26Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:26Z INFO [accountID: , userID: 277328874407788559, context: HTTP, requestID: b40ef1c9-ebc8-4db1-8098-a7f56fb2c1ff] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:27Z INFO [context: HTTP, requestID: b40ef1c9-ebc8-4db1-8098-a7f56fb2c1ff, accountID: , userID: 277328874407788559] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:27Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:27Z WARN [context: HTTP, requestID: b40ef1c9-ebc8-4db1-8098-a7f56fb2c1ff, accountID: , userID: 277328874407788559] management/server/account.go:1399: cache for account cqhh3e82ft7s73fano30 reached maximum refresh attempts (2)
management-1 | 2024-07-26T23:28:27Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:27Z INFO [context: HTTP, requestID: 6556163a-460d-491c-800a-90ef9029b418, accountID: , userID: 277328874407788559] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:27Z INFO [context: HTTP, requestID: 6556163a-460d-491c-800a-90ef9029b418, accountID: , userID: 277328874407788559] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:28Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:28Z INFO [context: HTTP, requestID: 6556163a-460d-491c-800a-90ef9029b418, accountID: , userID: 277328874407788559] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:28Z INFO [context: HTTP, requestID: 6556163a-460d-491c-800a-90ef9029b418, accountID: , userID: 277328874407788559] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:28Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:28Z WARN [context: HTTP, requestID: 6556163a-460d-491c-800a-90ef9029b418, accountID: , userID: 277328874407788559] management/server/account.go:1399: cache for account cqhh3e82ft7s73fano30 reached maximum refresh attempts (2)
management-1 | 2024-07-26T23:28:28Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:28Z INFO [context: HTTP, requestID: 6556163a-460d-491c-800a-90ef9029b418, accountID: , userID: 277328874407788559] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:28Z INFO [context: HTTP, requestID: 6556163a-460d-491c-800a-90ef9029b418, accountID: , userID: 277328874407788559] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:29Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:29Z INFO [context: HTTP, requestID: 6556163a-460d-491c-800a-90ef9029b418, accountID: , userID: 277328874407788559] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:29Z INFO [userID: 277328874407788559, context: HTTP, requestID: 6556163a-460d-491c-800a-90ef9029b418, accountID: ] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:29Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:29Z INFO [context: HTTP, requestID: 0cac0d1a-5a53-4c14-8088-25990ff3a6ce, accountID: , userID: 277328874407788559] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:29Z INFO [context: HTTP, requestID: 0cac0d1a-5a53-4c14-8088-25990ff3a6ce, accountID: , userID: 277328874407788559] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:29Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:29Z WARN [context: HTTP, requestID: 6556163a-460d-491c-800a-90ef9029b418, accountID: , userID: 277328874407788559] management/server/account.go:1399: cache for account cqhh3e82ft7s73fano30 reached maximum refresh attempts (2)
management-1 | 2024-07-26T23:28:29Z INFO [context: HTTP, requestID: 0cac0d1a-5a53-4c14-8088-25990ff3a6ce, accountID: , userID: 277328874407788559] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:30Z INFO [context: HTTP, requestID: 0cac0d1a-5a53-4c14-8088-25990ff3a6ce, accountID: , userID: 277328874407788559] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:30Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:30Z WARN [context: HTTP, requestID: 0cac0d1a-5a53-4c14-8088-25990ff3a6ce, accountID: , userID: 277328874407788559] management/server/account.go:1399: cache for account cqhh3e82ft7s73fano30 reached maximum refresh attempts (2)
management-1 | 2024-07-26T23:28:30Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:30Z INFO [accountID: , userID: 277328874407788559, context: HTTP, requestID: 0ad7a559-07d7-49c1-a267-f0fdb351600a] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:30Z INFO [accountID: , userID: 277328874407788559, context: HTTP, requestID: 0ad7a559-07d7-49c1-a267-f0fdb351600a] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:30Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:30Z INFO [requestID: 0ad7a559-07d7-49c1-a267-f0fdb351600a, accountID: , userID: 277328874407788559, context: HTTP] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:31Z INFO [context: HTTP, requestID: 0ad7a559-07d7-49c1-a267-f0fdb351600a, accountID: , userID: 277328874407788559] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:31Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:31Z WARN [context: HTTP, requestID: 0ad7a559-07d7-49c1-a267-f0fdb351600a, accountID: , userID: 277328874407788559] management/server/account.go:1399: cache for account cqhh3e82ft7s73fano30 reached maximum refresh attempts (2)
management-1 | 2024-07-26T23:28:31Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:31Z INFO [context: HTTP, requestID: 0cac0d1a-5a53-4c14-8088-25990ff3a6ce, accountID: , userID: 277328874407788559] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:31Z INFO [context: HTTP, requestID: 0cac0d1a-5a53-4c14-8088-25990ff3a6ce, accountID: , userID: 277328874407788559] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:32Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:32Z INFO [requestID: 0cac0d1a-5a53-4c14-8088-25990ff3a6ce, accountID: , userID: 277328874407788559, context: HTTP] management/server/account.go:1431: cache invalid. Users unknown to the cache: 1
management-1 | 2024-07-26T23:28:32Z INFO [requestID: 0cac0d1a-5a53-4c14-8088-25990ff3a6ce, accountID: , userID: 277328874407788559, context: HTTP] management/server/account.go:1392: refreshing cache for account cqhh3e82ft7s73fano30
management-1 | 2024-07-26T23:28:32Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
management-1 | 2024-07-26T23:28:32Z WARN [context: HTTP, requestID: 0cac0d1a-5a53-4c14-8088-25990ff3a6ce, accountID: , userID: 277328874407788559] management/server/account.go:1399: cache for account cqhh3e82ft7s73fano30 reached maximum refresh attempts (2)
management-1 | 2024-07-26T23:28:33Z WARN management/server/account.go:1265: user 277328874407788559 not found in IDP
My Setup: Zidatel v2.56.1 with postgres 16 alpine Latest Netbird (v0.28.7) Reverse Proxy Traefik (3.1) All are in docker containers.
Describe the problem
When setting up via Zitadel v2.46.7 I am unable to login straight away as the console says the following.
Error when validating JWT claims: Error parsing token: Token is not valid yet
To Reproduce
Steps to reproduce the behavior: Grab the latest version of Zitadel and try to setup the connector.
Expected behavior
Login without issues
Are you using NetBird Cloud?
Self-hosted
NetBird version
v2.3.0
Additional context
It is entirely possible that I'm the issue but who knows.