Closed thdoan closed 1 year ago
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
Hi @thdoan, thanks for reaching out. I would like to reproduce this behavior you’re encountering. Would it be okay if you could provide me with an MCVE I can run locally, so I can have a better look into it.
@jbalidiong thanks for offering to look into this. I'm going to close this since it's an edge case and I was able to get the errors to go away by setting up the Firebase emulator suite to authenticate locally. It seems the error only shows up when App Check fails to authenticate locally.
Operating System
Windows 10
Browser Version
Chrome 114
Firebase SDK Version
9.22.2
Firebase SDK Product:
AppCheck, Auth, Functions, Logger
Describe your project's tooling
No tooling right now.
firebase deploy
to deploy to Firebase Hostingfirebase emulators:start
to test locally <-- ISSUEDescribe the problem
My app is working fine on production, but when I tried to run it locally this error was thrown:
I traced this error to
proactive-refresh.ts
:My setup:
Steps and code to reproduce issue
firebase emulators:start
to start the emulator.Relevant code follows...
index.html:
Client script: