ios - Failed to parse access token response: Error: Error while making request: getaddrinfo EAI_AGAIN accounts.google.com:443. Error code: EAI_AGAIN\
问题描述
I already used
"firebase-admin": "^6.3.0",
I did on NodeJS
var admin = require("firebase-admin");
var serviceAccount = require("path/to/serviceAccountKey.json");
admin.initializeApp({
credential: admin.credential.cert(serviceAccount),
databaseURL: "https://myapp.firebaseio.com"
});
I kept getting this in the logs
@firebase/database: FIREBASE WARNING: {"code":"app/invalid-credential","message":"Credential implementation provided to initializeApp() via the \"credential\" property failed to fetch a valid Google OAuth2 access token with the following error: \"Failed to parse access token response: Error: Error while making request: getaddrinfo EAI_AGAIN accounts.google.com:443. Error code: EAI_AGAIN\"."}
This used to work like 2 weeks ago. I don't know what changed.
How would one go about and debug this further?
解决方案
推荐阅读
- javascript - 如何将来自 DOM 的用户输入存储在 Javascript 变量中?
- python - 如何识别和去除乱码?
- coffeescript - Atom 编辑器中特定关键字的语法高亮显示
- node.js - nodejs mssql 连接 ETIMEDOUT
- google-sheets - Sumif 在可变日期之间具有多个条件
- assembly - 将指向 Rust 数组的指针传递到 x86-64 Asm -- 指针减一
- c - 错误:类型冲突,错误:形式参数 2 的类型不完整
- javascript - Javascript Onclick 滚动和高亮示例
- android - 一起使用 ARCore 和 Vision SDK Android
- django - Django 应用 + 第 3 方的模板目录