- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我的云函数运行了几个月,突然间所有依赖 firebase 身份验证的函数都遇到了这个错误:
'Error while making request: getaddrinfo EAI_AGAINidentitytoolkit.googleapis.com identitytoolkit.googleapis.com:443.Error code: EAI_AGAIN'
我的 firebase 使用的是 Blaze(付费)计划。
重新部署函数也失败并显示此消息:
Function deployment failed due to a health check failure. This usuallyindicates that your code was built successfully but failed during atest execution. Examine the logs to determine the cause. Try deployingagain in a few minutes if it appears to be transient.
我想知道是否有解决方案。谢谢!
最佳答案
详情
我也遇到了这个问题,(虽然我不使用 Firebase,但我使用 Google Cloud Platform,以及在 Google Cloud 的“App Engine”上运行的 Node 应用程序)。
我调用 Google Cloud 支持,他们承认存在一些问题;尚无 ETA 或解决方法。谷歌云支持说他们会通过电子邮件给我一个链接,我可以在其中检查问题的状态;
我会在这里发布。
这是 general link到 Google Cloud Status 仪表板,注意 specific Google Cloud issue #20007今天早上可能会影响我们,在 us-central1
地区;他们的页面没有提到 EAI_AGAIN
错误,但我敢打赌这些是相关的(并且可能也会影响 Firebase)
(我尝试了类似 increasing process.env.UV_THREADPOOL_SIZE
的变通办法,但没有奏效——这个问题刚刚今天早上开始影响我们的应用程序,而我们的应用程序没有 “很多请求”(即我应该对请求进行排队),我们的应用程序只发出一些请求——所以我还没有尝试排队)
编辑 2020 年 10 月 6 日上午 9:17 PST
从太平洋标准时间上午 9:17 开始,该问题似乎已得到解决,我的 Google Cloud 应用程序能够发出出站请求而不会出现 EAI_AGAIN 问题。谢谢@JoeLeung 和@singhnikhil。
关于node.js - 由于 EAI_AGAIN 到 identitytoolkit.googleapis.com 导致的 Firebase 云函数错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64228390/
我的云函数运行了几个月,突然间所有依赖 firebase 身份验证的函数都遇到了这个错误: 'Error while making request: getaddrinfo EAI_AGAINiden
签名的应用程序运行良好,但一旦我将应用程序上传到 Play 商店,firebase 电话身份验证就会为 https://www.googleapis.com/identitytoolkit/v3/re
我是一名优秀的程序员,十分优秀!