Auth error:Error: Could not refresh access token
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- firebase, google-cloud, javascript
- 领域
- authentication, backend, cloud
调研方向
从 Cloud Functions for Firebase codelab 第 9 步开始,使用 cloud-functions-start repository 和 blurOffensiveImages 函数。重新执行图片上传,并检查 token-refresh 错误和 60 秒超时附近的函数日志。当函数成功完成并对识别为不当的图片进行模糊处理时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
[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
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
firebase/codelab-friendlychat-web 的其他 Issue
-
难度 5/5 一周以上 新手友好度 15/100
-
Run未关闭bug
难度 5/5 一周以上 新手友好度 10/100
firebase/codelab-friendlychat-web#877 · 2 条评论 ·
-
Go to '...'未关闭bug
难度 5/5 一周以上 新手友好度 10/100
-
Camera未关闭
难度 5/5 一周以上 新手友好度 20/100
-
Sifsin project未关闭bug
难度 5/5 一周以上 新手友好度 10/100
firebase/codelab-friendlychat-web#837 · 1 个 reaction ·
查看 firebase/codelab-friendlychat-web 的全部 Issue
相似的 Issue
-
bug
难度 1/5 1-3 小时 新手友好度 86/100
jellyfin/jellyfin-web#8865 ·
维护者通常 1 天内回复
-
area:contract P3
难度 1/5 1 小时以内 新手友好度 85/100
grafana/viz-contract#100 ·
维护者通常 1 天内回复
-
SUB-1: [CI] Update deprecated CodeQL Action v2 to v4可能已有人在做 @AnkitSatpute 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 93/100
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 84/100