codelab-friendlychat-web icon indicating copy to clipboard operation
codelab-friendlychat-web copied to clipboard

Auth error:Error: Could not refresh access token

Open jmpp opened this issue 4 years ago • 0 comments

[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

jmpp avatar Jul 30 '21 09:07 jmpp