Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ImmatureSignatureError: The token is not yet valid (iat) #31

Open
CosaroLisa opened this issue Dec 18, 2024 · 0 comments
Open

ImmatureSignatureError: The token is not yet valid (iat) #31

CosaroLisa opened this issue Dec 18, 2024 · 0 comments

Comments

@CosaroLisa
Copy link

Hello,
I'm repeatedly getting this error, the only way to avoid it is to force syncronisation of the clock of my computer.
immagine

 [2024-12-18 11:46:33 +0000] [10] [ERROR] Error handling request /launch/
web-1    | Traceback (most recent call last):
web-1    |   File "/usr/local/lib/python3.9/site-packages/pylti1p3/message_launch.py", line 715, in validate_jwt_signature
web-1    |     jwt.decode(
web-1    |   File "/usr/local/lib/python3.9/site-packages/jwt/api_jwt.py", line 222, in decode
web-1    |     decoded = self.decode_complete(
web-1    |   File "/usr/local/lib/python3.9/site-packages/jwt/api_jwt.py", line 167, in decode_complete
web-1    |     self._validate_claims(
web-1    |   File "/usr/local/lib/python3.9/site-packages/jwt/api_jwt.py", line 256, in _validate_claims
web-1    |     self._validate_iat(payload, now, leeway)
web-1    |   File "/usr/local/lib/python3.9/site-packages/jwt/api_jwt.py", line 333, in _validate_iat
web-1    |     raise ImmatureSignatureError("The token is not yet valid (iat)")
web-1    | jwt.exceptions.ImmatureSignatureError: The token is not yet valid (iat)

Any suggestion on how to fix it would be greatly appreciated.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant