5
4

More than 5 years have passed since last update.

【Bigquery】Token must be a short-lived token (60 minutes) and in a reasonable timeframeとかでたときの処方箋

Posted at

ETLツールの改修をしていてふとこんなメッセージがでたのです。

多分Bigqueryからのエラーメッセージなんだと思う。

エラーの全文

Token must be a short-lived token (60 minutes) and in a reasonable timeframe. Check your iat and ex
p values and use a clock with skew to account for clock differences between systems.

まさに、
「あのぉ、さっきまでは動いていたんですけどぉ・・・なにもしてないのに壊れちゃいましたぁ・・・」
状態です。あるあるです。部下がこう言ってきても怒らないと誓っています。

結論からいうと仮想マシンをずっと動かしているとたまに時空がずれるときがあるのです。

なので、

sudo date -s "2016/12/24 11:45:14"

といった形で仮想マシンの時間を直してあげると解決するはずです。

5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4