Auth error:Error: Could not refresh access token

未关闭
#643 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
firebase, google-cloud, javascript

调研方向

从 Cloud Functions for Firebase codelab 第 9 步开始,使用 cloud-functions-start repository 和 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

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

firebase/codelab-friendlychat-web 的其他 Issue

查看 firebase/codelab-friendlychat-web 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。