Auth error:Error: Could not refresh access token

オープン
#643 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
firebase, google-cloud, javascript

調査の方向性

Cloud Functions for Firebase codelab のステップ 9 から始め、cloud-functions-start リポジトリと blurOffensiveImages 関数を使用します。画像のアップロードを再現し、token-refresh エラーと 60 秒のタイムアウト前後の関数ログを調査します。関数が正常に完了し、攻撃的と識別された画像にぼかしを入れれば完了です。

索引モデルが issue の本文から書いたものです。

説明

codelab
[REQUIRED] Codelab info

Following the Cloud Functions for Firebase codelab (step 9)

[REQUIRED] Project setup

Using the given starter repository /cloud-functions-start/

[REQUIRED] Describe the problem

After just following the instructions and deploy the "blurOffensiveImages" function, when I upload an image that should be blurred, nothing happens (it stays as it is).

(Note that I've checked on the Vision homepage if my image will be recognized as offensive, so the problem should not come from a bad detection)

I've checked the function logs and there is the same error multiple times :
Auth error:Error: Could not refresh access token.

It will then ends with Function execution took 60006 ms, finished with status: 'timeout'

It seems that there was an error with the google-gax package or something, but every solutions I've looked for said that it should be resolved now. I've tried to re-deploy multiple times, without any difference.

Code is the exact same as shown in the codelab (I made copy/paste)

We are several people to have that same problem on this codelab.

Any thoughts? Thanks :)

[Optional] Suggested fix

N/A

主要言語
JavaScript
スター
1.9k
フォーク
1.8k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

firebase/codelab-friendlychat-web のほかの issue

firebase/codelab-friendlychat-web の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。