GAM-team / got-your-back

Got Your Back (GYB) is a command line tool for backing up your Gmail messages to your computer using Gmail's API over HTTPS.
https://github.com/GAM-team/got-your-back/wiki
Apache License 2.0
2.56k stars 203 forks source link

Token used too early #469

Open dsakura opened 3 weeks ago

dsakura commented 3 weeks ago

The issue tracker is for reporting product deficiencies. How do I questions should be posted to the discussion forum at https://groups.google.com/group/got-your-back. When in doubt, start at the discussion forum and return here only when instructed to do so.

Please confirm the following:

Full steps to reproduce the issue:

  1. I confirmed that the computer and cell phone clocks were correct.
  2. I started with the code --action estimate

Expected outcome (what are you trying to do?): Testing the program with the --action stimate to be able to backup my email.

Actual outcome (what errors or bad behavior do you see instead?): This error:

The authentication flow has completed.
Traceback (most recent call last):
  File "gyb.py", line 2817, in <module>
  File "gyb.py", line 2040, in main
  File "gyb.py", line 420, in getValidOauth2TxtCredentials
  File "gyb.py", line 532, in requestOAuthAccess
  File "gyb.py", line 547, in writeCredentials
  File "gyb.py", line 562, in _getValueFromOAuth
  File "gyb.py", line 556, in _decodeIdToken
  File "google\oauth2\id_token.py", line 160, in verify_oauth2_token
  File "google\oauth2\id_token.py", line 132, in verify_token
  File "google\auth\jwt.py", line 302, in decode
  File "google\auth\jwt.py", line 216, in _verify_iat_and_exp
google.auth.exceptions.InvalidValue: Token used too early, 1719119384 < 1719119416. Check that your computer's clock is set correctly.
[11348] Failed to execute script 'gyb' due to unhandled exception!

Many thanks!