Token must be a short-lived token and in a reasonable timeframe

后端 未结 10 1234
天涯浪人
天涯浪人 2020-11-27 17:37

I am having the same error as this. In my case it is happening when the app is trying to upload a file via Google Cloud Client API.

POST https://www.googleap         


        
相关标签:
10条回答
  • 2020-11-27 18:07

    I had a similar problem when trying to reach the google cloud big query API. Adjusting my system clock and allowing windows 10 to automatically set the time and time zone solved the problem.

    0 讨论(0)
  • 2020-11-27 18:07

    It sounds obvious, but ensure the expiry exp is after the issued at time iat.

    0 讨论(0)
  • 2020-11-27 18:10

    For those getting that error for a containerized app and ending up here,

    I had the same issue when using my token from a containerized app. Rebooting Docker Desktop (Windows) did it for me.

    I had this setup for weeks before getting that issue for the first time.

    0 讨论(0)
  • 2020-11-27 18:12

    I was stumped on this for hours. I even posted this question. Turns out I had overlooked something that should have been somewhat obvious. My dev server is a Linux virtual machine. The clock on my VM was 8 days behind my local system clock. So while my local clock was correct, I overlooked the fact that my VM was several days delayed. Hopefully, this can save the absent-minded some time.

    0 讨论(0)
提交回复
热议问题