Description
- Operating System version: osx
- Firebase SDK version: "firebase-admin": "^11.9.0", "firebase-functions": "^3.21.0",
- Firebase Product: appcheck
- Node.js version: 20
- NPM version: 10.8
calling this:
const decodedToken = await configs.admin.auth().verifyIdToken(idToken);
const uid = decodedToken?.uid;
returns this error:
Failed to validate AppCheck token. FirebaseAppCheckError: Error fetching Json Web Keys: socket hang up
at AppCheckTokenVerifier.mapJwtErrorToAppCheckError (/layers/google.nodejs.yarn/yarn_modules/node_modules/firebase-admin/lib/app-check/token-verifier.js:144:16)
at /layers/google.nodejs.yarn/yarn_modules/node_modules/firebase-admin/lib/app-check/token-verifier.js:119:24
at async checkAppCheckToken (/layers/google.nodejs.yarn/yarn_modules/node_modules/firebase-functions/lib/common/providers/https.js:355:28)
at async /layers/google.nodejs.yarn/yarn_modules/node_modules/firebase-functions/lib/common/providers/https.js:283:33
at async Promise.all (index 1)
at async checkTokens (/layers/google.nodejs.yarn/yarn_modules/node_modules/firebase-
This started happening in the last 2-3 hours.