Auth error:Error: Could not refresh access token

Aperta
#643 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
firebase, google-cloud, javascript

Direzione di ricerca

Inizia con il Cloud Functions for Firebase codelab, passaggio 9, usando il repository cloud-functions-start e la funzione blurOffensiveImages. Riproduci il caricamento dell'immagine e ispeziona i log della funzione in corrispondenza dell'errore token-refresh e del timeout di 60 secondi. Il lavoro è completato quando la funzione viene eseguita correttamente e sfoca le immagini identificate come offensive.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
JavaScript
Stelle
1.9k
Fork
1.8k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di firebase/codelab-friendlychat-web

Tutte le issue di firebase/codelab-friendlychat-web

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.