Open WhyAydan opened 1 month 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 :)
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.