firebase / firebase/codelab-friendlychat-web
Auth error:Error: Could not refresh access token
- Dominant language
- JavaScript
- Stars
- 1.9k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
### [REQUIRED] Codelab info
Following the [Cloud Functions for Firebase](https://firebase.google.com/codelabs/firebase-cloud-functions#8) codelab (step 9)
### [REQUIRED] Project setup
Using the given starter repository [/cloud-functions-start/](https://github.com/firebase/codelab-friendlychat-web/tree/main/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](https://cloud.google.com/vision/) 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
Contributor guide
Assessment
This issue has not been assessed yet.