Closed
Description
AppCheck problem
AppCheck works fine and enforced.
However, after leaving the webapp idle for a while (e.g., if I leave the tab open and go to sleep and put the laptop to sleep, then come to work the next day), Firestore stops working (as if it gets disconnected and doesn't reconnect or refresh AppCheck token).
Console error observed in production: @firebase/app-check: FirebaseError: AppCheck: Fetch server returned an HTTP error status. HTTP status: 403. (appCheck/fetch-status-error).
Console error observed on localhost: zone.js:1061 Unhandled Promise rejection: cancelled ; Zone: <root> ; Task: Promise.then ; Value: cancelled undefined
Environment
- Angular version: 14.0.2 (latest)
- Firebase SDK version: 9.8.3 (latest)
- AngularFire version: 7.4.1 (latest)
- Firebase Product: AppCheck