@firebase/firestore: Firestore (7.13.2): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
ive been getting this error working on react-native.
firebase connects normally, with auth()
and it gets data from firebase realtime database,
but i cant seem to get it working for firestore.
I found a few problems with this issue:
I am facing the same problem
I am facing the same problem
i have given up trying with this, i switched to react-native-firebase. if you are willing to switch and find any kind of problems while including the library in your project, feel free to contact me
@anthony-elhaddad @sanket1703 Sorry that we missed this issue.
If you still have the original set up, do you mind sharing your connection logs? You can enable detailed debug logging using firebase.firestore.setLogLevel('debug'). Thank you.
[2020-04-22T05:53:08.814Z] @firebase/firestore: Firestore (7.14.1): FirestoreClient Initializing. user= KExOo6RynESPKWF3vetxh8qbjaE3
[Wed Apr 22 2020 11:23:11.441] LOG [2020-04-22T05:53:08.944Z] @firebase/firestore: Firestore (7.14.1): MemoryPersistence Starting transaction: Synchronize last document change read time
[Wed Apr 22 2020 11:23:11.445] LOG [2020-04-22T05:53:08.950Z] @firebase/firestore: Firestore (7.14.1): MemoryPersistence Starting transaction: Get last stream token
[Wed Apr 22 2020 11:23:11.454] LOG [2020-04-22T05:53:08.953Z] @firebase/firestore: Firestore (7.14.1): MemoryPersistence Starting transaction: Get next mutation batch
[Wed Apr 22 2020 11:23:11.457] LOG [2020-04-22T05:53:08.958Z] @firebase/firestore: Firestore (7.14.1): MemoryPersistence Starting transaction: Locally write mutations
[Wed Apr 22 2020 11:23:11.466] LOG [2020-04-22T05:53:08.968Z] @firebase/firestore: Firestore (7.14.1): MemoryPersistence Starting transaction: notifyLocalViewChanges
[Wed Apr 22 2020 11:23:11.469] LOG [2020-04-22T05:53:08.971Z] @firebase/firestore: Firestore (7.14.1): MemoryPersistence Starting transaction: Get next mutation batch
[Wed Apr 22 2020 11:23:11.470] LOG [2020-04-22T05:53:08.973Z] @firebase/firestore: Firestore (7.14.1): MemoryPersistence Starting transaction: Get next mutation batch
[Wed Apr 22 2020 11:23:11.473] LOG [2020-04-22T05:53:08.979Z] @firebase/firestore: Firestore (7.14.1): Connection Creating WebChannel: https://firestore.googleapis.com/google.firestore.v1.Firestore/Write/channel [object Object]
[Wed Apr 22 2020 11:23:11.481] LOG [2020-04-22T05:53:08.986Z] @firebase/firestore: Firestore (7.14.1): MemoryPersistence Starting transaction: Allocate target
[Wed Apr 22 2020 11:23:11.486] LOG [2020-04-22T05:53:08.992Z] @firebase/firestore: Firestore (7.14.1): MemoryPersistence Starting transaction: Execute query
[Wed Apr 22 2020 11:23:11.498] LOG [2020-04-22T05:53:08.996Z] @firebase/firestore: Firestore (7.14.1): IndexFreeQueryEngine Using full collection scan to execute query: %s Query(target=Target(Medicines/p6mdUUaFWavz3obrTlIc, orderBy: [__name__ (asc)]); limitType=F)
[Wed Apr 22 2020 11:23:11.502] LOG [2020-04-22T05:53:09.005Z] @firebase/firestore: Firestore (7.14.1): Connection Creating WebChannel: https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel [object Object]
[Wed Apr 22 2020 11:23:11.516] LOG [2020-04-22T05:53:09.013Z] @firebase/firestore: Firestore (7.14.1): Connection Opening WebChannel transport.
[Wed Apr 22 2020 11:23:11.517] LOG [2020-04-22T05:53:09.020Z] @firebase/firestore: Firestore (7.14.1): Connection WebChannel sending: {"database":"projects/tra1-bfac8/databases/(default)"}
[Wed Apr 22 2020 11:23:11.540] LOG [2020-04-22T05:53:09.043Z] @firebase/firestore: Firestore (7.14.1): Connection Opening WebChannel transport.
[Wed Apr 22 2020 11:23:11.543] LOG [2020-04-22T05:53:09.045Z] @firebase/firestore: Firestore (7.14.1): Connection WebChannel sending: {"database":"projects/tra1-bfac8/databases/(default)","addTarget":{"documents":{"documents":["projects/tra1-bfac8/databases/(default)/documents/Medicines/p6mdUUaFWavz3obrTlIc"]},"targetId":2}}
[Wed Apr 22 2020 11:23:11.834] LOG [2020-04-22T05:53:09.329Z] @firebase/firestore: Firestore (7.14.1): Connection WebChannel transport opened.
[Wed Apr 22 2020 11:23:11.849] LOG [2020-04-22T05:53:09.350Z] @firebase/firestore: Firestore (7.14.1): Connection WebChannel transport opened.
[Wed Apr 22 2020 11:23:21.597] LOG Server data: undefined
Please do update me on this ASAP. I have finished my project and this issue is stopping me from deployment.
@sanket1703 Thanks for these logs. Unfortunately, these only show the connection attempt, but not any responses. This could be expected if your device did not receive any data, but it makes it hard for us to debug.
One thing that you could try is to enable experimentalForceLongPolling, which switches our client to a different networking model. You can enable it as such:
firebase.firestore().settings({ experimentalForceLongPolling: true });
If that does not help, we probably need a small repro app that we can run locally to continue this investigation.
@schmidt-sebastian @sanket1703 ill be able to make a small repo with the current problem as soon as im done with work. Hopefully to find the problem by the end of the debugging session.
Please take a look at this link https://firebase.google.com/docs/firestore/library-integrations provided by firebase.
React Native Firebase
Platforms: Android, iOS
React Native Firebase is the officially recommended React Native library for Firebase. However, it is not covered by Firebase support. Learn more about what you can do with React Native and Cloud Firestore in Getting started with Cloud Firestore on React Native.
@sanket1703 if your app is ready for deployment, you can always integrate React Native Firebase.
this repo i did explaning the integration of react-native-firebase
https://github.com/anthony-elhaddad/ReactNativeVectorFirebaseStarterKit
Please contact me for any questions.
Thanks
@anthony-elhaddad Sure Ill try react native firebase till then. Thank you.
same issue on ssr nuxt vuejs.
same with Angular Fire despite having strong network connection (LAN) that can easily stream YouTube.
If these issues persist, please provide debug logs for Firestore with and without experimentalForceLongPolling. This will give us some insight into the network traffic.
[2020-05-08T23:32:59.005Z] @firebase/firestore: Firestore (7.14.1): FirestoreClient Initializing. user= fEeMIXHBSyfqqGfOiUWlaztOl0H2
index.esm.js:106 [2020-05-08T23:32:59.030Z] @firebase/firestore: Firestore (7.14.1): MemoryPersistence Starting transaction: Get last stream token
index.esm.js:106 [2020-05-08T23:32:59.033Z] @firebase/firestore: Firestore (7.14.1): MemoryPersistence Starting transaction: Get next mutation batch
index.esm.js:106 [2020-05-08T23:32:59.047Z] @firebase/firestore: Firestore (7.14.1): MemoryPersistence Starting transaction: Allocate target
index.esm.js:106 [2020-05-08T23:32:59.051Z] @firebase/firestore: Firestore (7.14.1): MemoryPersistence Starting transaction: Execute query
index.esm.js:106 [2020-05-08T23:32:59.053Z] @firebase/firestore: Firestore (7.14.1): IndexFreeQueryEngine Using full collection scan to execute query: %s Query(target=Target(categories, filters: [uid == fEeMIXHBSyfqqGfOiUWlaztOl0H2], orderBy: [createdDate (desc), __name__ (desc)]); limitType=F)
index.esm.js:106 [2020-05-08T23:32:59.060Z] @firebase/firestore: Firestore (7.14.1): Connection Creating WebChannel: https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel [object Object]
index.esm.js:106 [2020-05-08T23:32:59.085Z] @firebase/firestore: Firestore (7.14.1): Connection Opening WebChannel transport.
[2020-05-08T23:32:59.088Z] @firebase/firestore: Firestore (7.14.1): Connection WebChannel sending: {"database":"projects/(project name has been hidden by author)/databases/(default)","addTarget":{"query":{"structuredQuery":{"from":[{"collectionId":"categories"}],"where":{"fieldFilter":{"field":{"fieldPath":"uid"},"op":"EQUAL","value":{"stringValue":"fEeMIXHBSyfqqGfOiUWlaztOl0H2"}}},"orderBy":[{"field":{"fieldPath":"createdDate"},"direction":"DESCENDING"},{"field":{"fieldPath":"__name__"},"direction":"DESCENDING"}]},"parent":"projects/(project name has been hidden by author)/databases/(default)/documents"},"targetId":2}}
index.esm.js:106 [2020-05-08T23:32:59.743Z] @firebase/firestore: Firestore (7.14.1): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
defaultLogHandler @ index.esm.js:106
push../node_modules/@firebase/logger/dist/index.esm.js.Logger.error @ index.esm.js:216
ge @ index.cjs.js:4102
t.U_ @ index.cjs.js:10427
(anonymous) @ index.cjs.js:10396
(anonymous) @ index.cjs.js:4956
(anonymous) @ index.cjs.js:5099
invoke @ zone-evergreen.js:364
run @ zone-evergreen.js:123
(anonymous) @ zone-evergreen.js:857
invokeTask @ zone-evergreen.js:399
runTask @ zone-evergreen.js:167
drainMicroTaskQueue @ zone-evergreen.js:569
invokeTask @ zone-evergreen.js:484
invokeTask @ zone-evergreen.js:1621
globalZoneAwareCallback @ zone-evergreen.js:1647
index.esm.js:106 [2020-05-08T23:32:59.768Z] @firebase/firestore: Firestore (7.14.1): Connection WebChannel transport opened.
index.esm.js:106 [2020-05-08T23:32:59.854Z] @firebase/firestore: Firestore (7.14.1): MemoryPersistence Starting transaction: Release target
index.esm.js:106 [2020-05-08T23:32:59.856Z] @firebase/firestore: Firestore (7.14.1): Connection WebChannel sending: {"database":"projects/(project name has been hidden by author)/databases/(default)","removeTarget":2}
index.esm.js:106 [2020-05-08T23:33:00.286Z] @firebase/firestore: Firestore (7.14.1): Connection WebChannel received: {"targetChange":{"targetChangeType":"ADD","targetIds":[2]}}
index.esm.js:106 [2020-05-08T23:33:00.379Z] @firebase/firestore: Firestore (7.14.1): Connection WebChannel received: {"targetChange":{"targetChangeType":"REMOVE","targetIds":[2]}}
index.esm.js:106 [2020-05-08T23:33:02.855Z] @firebase/firestore: Firestore (7.14.1): Connection WebChannel transport closed
index.esm.js:106 [2020-05-08T23:33:02.862Z] @firebase/firestore: Firestore (7.14.1): PersistentStream stream callback skipped by getCloseGuardedDispatcher.
I am using AngularFire as well.
@khmy2010 Thank you for providing the logs. I have to do some more research here. What is interesting that we are able to establish a connection quite quickly:
[2020-05-08T23:32:59.085Z] @firebase/firestore: Firestore (7.14.1): Connection Opening WebChannel transport.
[2020-05-08T23:32:59.088Z] @firebase/firestore: Firestore (7.14.1): Connection WebChannel sending: ...
[2020-05-08T23:32:59.743Z] @firebase/firestore: Firestore (7.14.1): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
[2020-05-08T23:32:59.768Z] @firebase/firestore: Firestore (7.14.1): Connection WebChannel transport opened.
[2020-05-08T23:32:59.856Z] @firebase/firestore: Firestore (7.14.1): Connection WebChannel sending: {"database":"projects/(project name has been hidden by author)/databases/(default)","removeTarget":2}
[2020-05-08T23:33:00.286Z] @firebase/firestore: Firestore (7.14.1): Connection WebChannel received: {"targetChange":{"targetChangeType":"ADD","targetIds":[2]}}
This log segment shows a successful connection within less than one second. Something must be off with our timer.

its happening actually in the firestore interfaces, it loads on my cellphone. and it was working on my laptop, it just stopped working all of a sudden.
Bump.. Having the same issue from my ReactJS app, and the Firebase Console as well.. glad to see I'm not the only one. Is there something I can do to fix this as it's holding my development up? Or is there a bigger problem here?
its happening actually in the firestore interfaces, it loads on my cellphone. and it was working on my laptop, it just stopped working all of a sudden.
Facing same issue!
Facing same issue,
When reading from Firestore just after Signin :
Signin with Google -> reading from firestore (the same issue as below)
Signin with email password -> reading from firestore (working as expected)
....
Same issues.
I am also having this issue. My project is just a simple Create React App. If I refresh the page then I am connected and the error goes away.
So I checked out one of my older commits and it works fine. This is what caused the error:

Facing same issue. I have created simple application with JavaScript and html in order to explore firestore.
If you are using the Node networking stack via React Native, we switched to @grpc/grpc-js from grpc in v7.14.0. We, however, don't recommend the Web SDK for React Native. We provide a React Native wrapper for Firestore: https://rnfirebase.io/firestore/.
We will continue investigate why connections from the Console and Browser don't resolve. It would help us a lot if somehow can confirm that this is also a regression in a recent build. Our browser build did not receive a new in network stack.
having the same problem within the past 24 hours, its randomly occurred.
Had same problem just now on my site: https://danthedevman.com/blog , see attached ; vue stack hosted on firebase, issue resolved itself after trying to load the site again in another browser tab


I have the same problem in the firebase console but only when using the Chrome browser. It works in a different browser like Edge.

I'm also facing the same issue I've shared the library versions and logs, hope that will suffice for debugging.
Note: _Another thing I noticed, sometimes chrome stuck while this issue._
| Library | Version |
| :---: | :-: |
| redux-firestore | ^0.13.0 |
| react-redux-firebase | ^3.4.0 |
| firebase | ^7.14.4 |
| react | ^16.13.1 |
[2020-05-17T12:35:57.144Z] @firebase/firestore: Firestore (7.14.3): FirestoreClient Initializing. user= null
[2020-05-17T12:35:57.202Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Get last stream token
[2020-05-17T12:35:57.202Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Get last stream token
[2020-05-17T12:35:57.214Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Allocate target
[2020-05-17T12:35:57.218Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Execute query
[2020-05-17T12:35:57.220Z] @firebase/firestore: Firestore (7.14.3): IndexFreeQueryEngine Using full collection scan to execute query: %s Query(target=Target(todos, orderBy: [__name__ (asc)]); limitType=F)
[2020-05-17T12:35:57.227Z] @firebase/firestore: Firestore (7.14.3): Connection Creating WebChannel: https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel [object Object]
[2020-05-17T12:35:57.758Z] @firebase/firestore: Firestore (7.14.3): Connection Opening WebChannel transport.
[2020-05-17T12:35:57.765Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel sending: {"database":"projects/pubg-test-692b3/databases/(default)","addTarget":{"query":{"structuredQuery":{"from":[{"collectionId":"todos"}],"orderBy":[{"field":{"fieldPath":"__name__"},"direction":"ASCENDING"}]},"parent":"projects/pubg-test-692b3/databases/(default)/documents"},"targetId":2}}
FWIW, I have a site blocking proxy installed on my Mac (Freedom) and turning it off just fixed this issue for me in Chrome. Did this after saw someone mentioned it at the bottom of #1457
Same issue here: [2020-05-18T03:37:55.038Z] @firebase/firestore: Firestore (7.14.3): OnlineStateTracker Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
It works on Safari and broke half of the time in Chrome when trying to get user doc after they log in with Google.
The same issue when trying to get user doc after they log in with Google AnD Facebook, but it's working fine when email password Signin.
i can confirm that it works on safari and not working on Opera, Firefox and Chrome !!!
To summarize some of the measures that you can take:
experimentalForceLongPolling (via FirebaseFirestore.settings()) will fix your issue. This is a temporary step as we plan to enable this mode automatically (and selectively) in the future.experimentalForceLongPolling introduces some per-request overhead, but it may unblock Firestore in your specific environment.experimentalForceLongPolling for your project for the Web Console.Update: I am able to connect to the Firestore Backend with ReactNative on iOS Simulator. My dependencies are:
"base-64": "^0.1.0",
"expo": "~37.0.3",
"firebase": "^7.14.4",
"react": "~16.9.0",
"react-dom": "~16.9.0",
"react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz",
"react-native-screens": "~2.2.0",
"react-native-web": "~0.11.7"
If you have a reproduction app that showcases your issue, I can certainly take another look.
Same issue here on firebase (js sdk for web). A ton of customers started complaining about having to login a lot more often than usual.
I am developing locally and I get this pretty often while being connected to the internet with the browser as active ... when saving the actual file.
https://youtu.be/6xRyvFAVLdQ -- check this out.
Solved with:
firebase.firestore().settings({ experimentalForceLongPolling: true });
(Web SDK v7.14.4)
@petrkrejcik You da man, mind giving me a lil explanation of that one liner??
@TooManyJohns I'm not the appropriate person to explain that, I've just used what @schmidt-sebastian suggested above in https://github.com/firebase/firebase-js-sdk/issues/2923#issuecomment-618183242
I used firebase.firestore().settings({ experimentalForceLongPolling: true }); and still got the same error:
[2020-05-21T00:11:42.818Z] @firebase/firestore: Firestore (7.14.3): OnlineStateTracker Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
My initialization code:
if (!firebase.apps.length) {
firebase.firestore().settings({ experimentalForceLongPolling: true });
firebase.initializeApp(firebaseConfig[process.env.REACT_APP_FIREBASE_ENV!]);
}
Can you try calling firebase.firestore().settings() after firebase.initializeApp()? firebase.initializeApp() modifies global state that might undo your setting (but I am not 100% certain - on other platforms it throws an error if it is called after app startup).
Thank you @schmidt-sebastian for taking a look. I tried your suggestion as well but got the same error. settings() function also says it "Must be set before invoking any other methods."
New initialization code:
if (!firebase.apps.length) {
firebase.initializeApp(firebaseConfig[process.env.REACT_APP_FIREBASE_ENV!]);
firebase.firestore().settings({ experimentalForceLongPolling: true });
}
export const db = firebase.firestore();
It always works in Safari, and also works when I first load a page in Chrome, but for subsequent firestore DB calls, it intermittent throws the Firestore connection error, even when though our Internet is very good.
I have the same issue on AngularFire with an Angular 8 project.
I'm developing remotely on a Chromebook on Chrome 83.0.4103.50 on the beta channel. As IDE I'm using GitPod.
As I experienced the problem, it more often occurs when the Chrome dev-tools are enabled.
So when I switch them off, the PWA is mostly working as expected. When I turn on the dev-tools, I mostly get the firebase connection error:
@firebase/firestore: Firestore (7.14.3): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
The error does not just occur after 10 seconds. It is fired nearly immediately.
Furthermore on the home-page of my application, where there is not much Firestore traffic the problem only sometimes occurs. On another page with heavy traffic the error happens every time on my device.
log without experimentalForceLongPolling
[2020-05-21T16:01:25.897Z] @firebase/firestore: Firestore (7.14.3): FirestoreClient Initializing. user= null
index.esm.js:106 [2020-05-21T16:01:25.902Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Get last stream token
index.esm.js:106 [2020-05-21T16:01:25.903Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Get next mutation batch
index.esm.js:106 [2020-05-21T16:01:25.906Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Allocate target
index.esm.js:106 [2020-05-21T16:01:25.907Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Execute query
index.esm.js:106 [2020-05-21T16:01:25.909Z] @firebase/firestore: Firestore (7.14.3): IndexFreeQueryEngine Using full collection scan to execute query: %s Query(target=Target(tables, filters: [code == 292v45], orderBy: [__name__ (asc)]); limitType=F)
index.esm.js:106 [2020-05-21T16:01:25.913Z] @firebase/firestore: Firestore (7.14.3): Connection Creating WebChannel: https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel [object Object]
index.esm.js:106 [2020-05-21T16:01:25.916Z] @firebase/firestore: Firestore (7.14.3): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
index.esm.js:106 [2020-05-21T16:01:25.943Z] @firebase/firestore: Firestore (7.14.3): Connection Opening WebChannel transport.
index.esm.js:106 [2020-05-21T16:01:25.946Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel sending: QUERY_DATA
index.esm.js:106 [2020-05-21T16:01:26.040Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel transport opened.
index.esm.js:106 [2020-05-21T16:01:26.290Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":{"targetChangeType":"ADD","targetIds":[2]}}
index.esm.js:106 [2020-05-21T16:01:26.291Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"documentChange": SOME_DATA}
index.esm.js:106 [2020-05-21T16:01:26.296Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange": SOME_DATA}
index.esm.js:106 [2020-05-21T16:01:26.296Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange": SOME_DATA}
index.esm.js:106 [2020-05-21T16:01:26.297Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange": SOME_DATA}
index.esm.js:106 [2020-05-21T16:01:26.299Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Get last remote snapshot version
index.esm.js:106 [2020-05-21T16:01:26.301Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Apply remote event
index.esm.js:106 [2020-05-21T16:01:26.305Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: notifyLocalViewChanges
index.esm.js:106 [2020-05-21T16:01:26.306Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Get last remote snapshot version
index.esm.js:106 [2020-05-21T16:01:26.307Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Apply remote event
index.esm.js:106 [2020-05-21T16:01:26.310Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: notifyLocalViewChanges
index.esm.js:106 [2020-05-21T16:01:26.334Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Allocate target
index.esm.js:106 [2020-05-21T16:01:26.336Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Execute query
index.esm.js:106 [2020-05-21T16:01:26.337Z] @firebase/firestore: Firestore (7.14.3): IndexFreeQueryEngine Using full collection scan to execute query: %s Query(SOME_QUERY)
index.esm.js:106 [2020-05-21T16:01:26.339Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel sending: SOME_DATA
index.esm.js:106 [2020-05-21T16:01:26.410Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange": SOME_DATA}
index.esm.js:106 [2020-05-21T16:01:26.479Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"documentChange": SOME_DATA}
index.esm.js:106 [2020-05-21T16:01:26.480Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange": SOME_DATA}
index.esm.js:106 [2020-05-21T16:01:26.480Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange": SOME_DATA}
index.esm.js:106 [2020-05-21T16:01:26.481Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Get last remote snapshot version
index.esm.js:106 [2020-05-21T16:01:26.486Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Apply remote event
index.esm.js:106 [2020-05-21T16:01:26.487Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: notifyLocalViewChanges
index.esm.js:106 [2020-05-21T16:01:26.494Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Allocate target
index.esm.js:106 [2020-05-21T16:01:26.504Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Execute query
index.esm.js:106 [2020-05-21T16:01:26.504Z] @firebase/firestore: Firestore (7.14.3): IndexFreeQueryEngine Using full collection scan to execute query: %s Query(SOME_QUERY)
index.esm.js:106 [2020-05-21T16:01:26.506Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel sending: SOME_QUERY
index.esm.js:106 [2020-05-21T16:01:26.513Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Allocate target
index.esm.js:106 [2020-05-21T16:01:26.530Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Execute query
index.esm.js:106 [2020-05-21T16:01:26.537Z] @firebase/firestore: Firestore (7.14.3): IndexFreeQueryEngine Using full collection scan to execute query: %s Query(SOME_QUERY)
index.esm.js:106 [2020-05-21T16:01:26.537Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel sending: SOME_DATA
index.esm.js:106 [2020-05-21T16:01:26.656Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"documentChange": SOME_DATA}
MANY DOCUMENT CHANGE EVENTS
index.esm.js:106 [2020-05-21T16:01:26.673Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"documentChange": SOME_DATA}
index.esm.js:106 [2020-05-21T16:01:26.684Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange": SOME_DATA}
index.esm.js:106 [2020-05-21T16:01:26.706Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Release target
index.esm.js:106 [2020-05-21T16:01:26.709Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel sending: {DATABASE,"removeTarget":2}
index.esm.js:106 [2020-05-21T16:01:26.712Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Release target
index.esm.js:106 [2020-05-21T16:01:26.714Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel sending: {DATABASE,"removeTarget":6}
index.esm.js:106 [2020-05-21T16:01:26.820Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange": SOME_DATA}
index.esm.js:106 [2020-05-21T16:01:26.820Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"documentChange": SOME_DATA}
index.esm.js:106 [2020-05-21T16:01:26.820Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange": SOME_DATA}
index.esm.js:106 [2020-05-21T16:01:26.821Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange": SOME_DATA}
index.esm.js:106 [2020-05-21T16:01:26.821Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange": SOME_DATA}
index.esm.js:106 [2020-05-21T16:01:26.822Z] @firebase/firestore: Firestore (7.14.3): WatchChangeAggregator Detected inactive target 6
index.esm.js:106 [2020-05-21T16:01:26.822Z] @firebase/firestore: Firestore (7.14.3): WatchChangeAggregator Detected inactive target 2
index.esm.js:106 [2020-05-21T16:01:26.828Z] @firebase/firestore: Firestore (7.14.3): WatchChangeAggregator Detected inactive target 2
index.esm.js:106 [2020-05-21T16:01:26.829Z] @firebase/firestore: Firestore (7.14.3): WatchChangeAggregator Detected inactive target 6
index.esm.js:106 [2020-05-21T16:01:26.829Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Get last remote snapshot version
index.esm.js:106 [2020-05-21T16:01:26.838Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Apply remote event
index.esm.js:106 [2020-05-21T16:01:26.872Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: notifyLocalViewChanges
index.esm.js:106 [2020-05-21T16:01:26.938Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":{"targetChangeType":"REMOVE","targetIds":[2]}}
index.esm.js:106 [2020-05-21T16:01:26.945Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":{"targetChangeType":"REMOVE","targetIds":[6]}}
When I turn on experimentalForceLongPolling, the error persists on the page with more heavy Firestore traffic. This is the log with long polling:
index.esm.js:106 [2020-05-21T16:27:46.563Z] @firebase/firestore: Firestore (7.14.3): FirestoreClient Initializing. user= null
index.esm.js:106 [2020-05-21T16:27:46.571Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Get last stream token
index.esm.js:106 [2020-05-21T16:27:46.572Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Get next mutation batch
index.esm.js:106 [2020-05-21T16:27:46.779Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Allocate target
index.esm.js:106 [2020-05-21T16:27:46.784Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Execute query
index.esm.js:106 [2020-05-21T16:27:46.786Z] @firebase/firestore: Firestore (7.14.3): IndexFreeQueryEngine Using full collection scan to execute query: %s Query(SOME_QUERY)
index.esm.js:106 [2020-05-21T16:27:46.796Z] @firebase/firestore: Firestore (7.14.3): Connection Creating WebChannel: https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel [object Object]
index.esm.js:106 [2020-05-21T16:27:46.822Z] @firebase/firestore: Firestore (7.14.3): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
defaultLogHandler @ index.esm.js:106
index.esm.js:106 [2020-05-21T16:27:46.830Z] @firebase/firestore: Firestore (7.14.3): Connection Opening WebChannel transport.
index.esm.js:106 [2020-05-21T16:27:46.833Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel sending: SOME_QUERY
index.esm.js:106 [2020-05-21T16:27:46.899Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel transport opened.
index.esm.js:106 [2020-05-21T16:27:46.959Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:46.959Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"documentChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:47.286Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:47.286Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:47.286Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:47.288Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Get last remote snapshot version
index.esm.js:106 [2020-05-21T16:27:47.290Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Apply remote event
index.esm.js:106 [2020-05-21T16:27:47.294Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: notifyLocalViewChanges
index.esm.js:106 [2020-05-21T16:27:47.294Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Get last remote snapshot version
index.esm.js:106 [2020-05-21T16:27:47.295Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Apply remote event
index.esm.js:106 [2020-05-21T16:27:47.296Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: notifyLocalViewChanges
index.esm.js:106 [2020-05-21T16:27:47.320Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Allocate target
index.esm.js:106 [2020-05-21T16:27:47.324Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Execute query
index.esm.js:106 [2020-05-21T16:27:47.324Z] @firebase/firestore: Firestore (7.14.3): IndexFreeQueryEngine Using full collection scan to execute query: %s Query(SOME_QUERY)
index.esm.js:106 [2020-05-21T16:27:47.329Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel sending: SOME_QUERY
index.esm.js:106 [2020-05-21T16:27:47.492Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:47.573Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"documentChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:47.574Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:47.575Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:47.578Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Get last remote snapshot version
index.esm.js:106 [2020-05-21T16:27:47.578Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Apply remote event
index.esm.js:106 [2020-05-21T16:27:47.583Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: notifyLocalViewChanges
index.esm.js:106 [2020-05-21T16:27:47.605Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Allocate target
index.esm.js:106 [2020-05-21T16:27:47.644Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Execute query
index.esm.js:106 [2020-05-21T16:27:47.644Z] @firebase/firestore: Firestore (7.14.3): IndexFreeQueryEngine Using full collection scan to execute query: %s Query(SOME_QUERY)
index.esm.js:106 [2020-05-21T16:27:47.646Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel sending: SOME_QUERY
index.esm.js:106 [2020-05-21T16:27:47.651Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Allocate target
index.esm.js:106 [2020-05-21T16:27:47.655Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Execute query
index.esm.js:106 [2020-05-21T16:27:47.655Z] @firebase/firestore: Firestore (7.14.3): IndexFreeQueryEngine Using full collection scan to execute query: %s Query(SOME_QUERY)
index.esm.js:106 [2020-05-21T16:27:47.656Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel sending: SOME_QUERY
index.esm.js:106 [2020-05-21T16:27:47.695Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Release target
index.esm.js:106 [2020-05-21T16:27:47.698Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel sending: SOME_QUERY
index.esm.js:106 [2020-05-21T16:27:47.705Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Release target
index.esm.js:106 [2020-05-21T16:27:47.708Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel sending: SOME_QUERY
index.esm.js:106 [2020-05-21T16:27:47.907Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:48.089Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:48.107Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:48.108Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:48.109Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"documentChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:48.111Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:48.112Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:48.120Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"documentChange":SOME_DATA}
MANY DOCUMENT CHANGE EVENTS
index.esm.js:106 [2020-05-21T16:27:48.163Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"documentChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:48.166Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:48.168Z] @firebase/firestore: Firestore (7.14.3): Connection WebChannel received: {"targetChange":SOME_DATA}
index.esm.js:106 [2020-05-21T16:27:48.170Z] @firebase/firestore: Firestore (7.14.3): WatchChangeAggregator Detected inactive target 6
index.esm.js:106 [2020-05-21T16:27:48.173Z] @firebase/firestore: Firestore (7.14.3): WatchChangeAggregator Detected inactive target 6
index.esm.js:106 [2020-05-21T16:27:48.178Z] @firebase/firestore: Firestore (7.14.3): WatchChangeAggregator Detected inactive target 6
2index.esm.js:106 [2020-05-21T16:27:48.182Z] @firebase/firestore: Firestore (7.14.3): WatchChangeAggregator Detected inactive target 6
3index.esm.js:106 [2020-05-21T16:27:48.183Z] @firebase/firestore: Firestore (7.14.3): WatchChangeAggregator Detected inactive target 6
index.esm.js:106 [2020-05-21T16:27:48.184Z] @firebase/firestore: Firestore (7.14.3): WatchChangeAggregator Detected inactive target 6
2index.esm.js:106 [2020-05-21T16:27:48.193Z] @firebase/firestore: Firestore (7.14.3): WatchChangeAggregator Detected inactive target 6
3index.esm.js:106 [2020-05-21T16:27:48.194Z] @firebase/firestore: Firestore (7.14.3): WatchChangeAggregator Detected inactive target 6
2index.esm.js:106 [2020-05-21T16:27:48.195Z] @firebase/firestore: Firestore (7.14.3): WatchChangeAggregator Detected inactive target 6
index.esm.js:106 [2020-05-21T16:27:48.198Z] @firebase/firestore: Firestore (7.14.3): WatchChangeAggregator Detected inactive target 6
2index.esm.js:106 [2020-05-21T16:27:48.205Z] @firebase/firestore: Firestore (7.14.3): WatchChangeAggregator Detected inactive target 6
index.esm.js:106 [2020-05-21T16:27:48.206Z] @firebase/firestore: Firestore (7.14.3): WatchChangeAggregator Detected inactive target 6
index.esm.js:106 [2020-05-21T16:27:48.206Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Get last remote snapshot version
index.esm.js:106 [2020-05-21T16:27:48.208Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: Apply remote event
index.esm.js:106 [2020-05-21T16:27:48.210Z] @firebase/firestore: Firestore (7.14.3): MemoryPersistence Starting transaction: notifyLocalViewChanges
This error keeps me from working on my app. It even occurs on the production deployment, when Chrome dev-tools are on.
Is there any workaround for this? Any downgrade? I didn't find any yet.
OK, I checked my last package updates in the repo.
For me, downgrading from "firebase": "^7.14.4" to "firebase": "^7.14.1" via npm install [email protected] --save worked as a workaround. Now the error is gone and I can keep on working.
Remember: I'm working on an Angular 8 project with AngularFire installed (if that matters).
I hope this helps someone.
can the contributors explain what's the 10seconds checking trying to solve at the first place? And does the problem it intends to solve really solve?
In my usage experience, 100% of the time it fires within 1second (to include page load, it's less than 5 seconds)
Perhaps from there, we can re-evaluate whether is this checking really necessarily, as currently, it introduces more problems then it trying to solve, which, in my perspective, is very, very counterintuitive and counterproductive.
@davemecha Downgrade to "firebase": "^7.14.1" works for me. Thank you!
The 10s timeout transitions the client into offline mode. In offline mode, we return results for all queries from cache, even if we have no current data. On top of that, offline mode flips all active queries back to "fromCache: true". This design has served as well across platforms and has been part of Firestore since its initial public release.
The question here is why the timeout fires early - and I don't yet have an explanation. I will keep you updated should I find the root cause.
I figured out what is happening. We added a visibility handler to enable faster IndexedDB recovery, but it seems to fast-forward all delayed tasks. I will address this in the next release, but note that we have a long weekend coming up (including this Friday). Please use 7.14.1 in the meantime.
Offending code: https://github.com/firebase/firebase-js-sdk/blob/fb9005955420ab854bc585275216ff410a2bdbd7/packages/firestore/src/util/async_queue.ts#L239
Same here with Android device failing a React Native app. In development mode with managed workflow via Expo SDK 37 client app. Nothing helps, tried so far:
firebase 7.14.1.firebase.firestore().settings({ experimentalForceLongPolling: true }) on firebase versions 7.14.1, 7.14.4 and 7.14.5.@schmidt-sebastian also the root of the problem might be in some recent change in Firebase cloud service itself, no matter the firebase module specific version.
I think so because the earlier deploy of my app with Expo 36 and firebase version 7.6.1 now being tested via the Expo Client on Android device is getting super long responses from Firebase service. Like tens of seconds long on Android. When it was milliseconds before.
* No problems on iOS though.
** Can't use react-native-firebase as it's not supported by Expo Managed Workflows.
In my case, Encounters Error using Google sign-in method, Email/Password method is ok.
@firebase/firestore: Firestore (7.14.5): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
This typically indicates that your device does not have a healthy Internet connection at the moment. The client will operate in offline mode until it is able to successfully connect to the backend.
i'm using redux-saga (where the stuff is happening),
i now execute my code under client with :
if(typeof window !== 'undefined'){ .... }
and i've got a new error :
DOMException: Failed to execute 'transaction' on 'IDBDatabase': The database connection is closing.
at qk (webpack-internal:///./node_modules/@firebase/auth/dist/auth.esm.js:279:187)
at eval (webpack-internal:///./node_modules/@firebase/auth/dist/auth.esm.js:280:81)
at e.g (webpack-internal:///./node_modules/@firebase/auth/dist/auth.esm.js:76:101)
at Nc (webpack-internal:///./node_modules/@firebase/auth/dist/auth.esm.js:79:195)
at Jc (webpack-internal:///./node_modules/@firebase/auth/dist/auth.esm.js:79:85)
at D.k.ec (webpack-internal:///./node_modules/@firebase/auth/dist/auth.esm.js:78:303)
at sc (webpack-internal:///./node_modules/@firebase/auth/dist/auth.esm.js:72:786)
@Temkit Please open a different issue to diagnose your problem with Firebase Auth.
Same issue with firebase 7.14.5.
@firebase/firestore: Firestore (7.14.5): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
Same issue with firebase 7.14.2.
@firebase/firestore: Firestore (7.14.2): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
This will be fixed in this week's release, which should go out either later today or tomorrow.
Same issue with @firebase/testing
win10
node v14.3.0
openjdk 14.0.1 2020-04-14
OpenJDK Runtime Environment (build 14.0.1+7)
OpenJDK 64-Bit Server VM (build 14.0.1+7, mixed mode, sharing)
firebase cli 8.4.1
const firebase = require('@firebase/testing');
((async () => {
const app = firebase.initializeTestApp({
projectId: 'projid',
});
app.firestore().settings({ experimentalForceLongPolling: true });
const db = app.firestore();
const ref = db.doc('foo/bar');
ref.get();
})());
@firebase/firestore: Firestore (7.14.5): Could not reach Cloud Firestore backend. Connection failed 1 times. Most recent error: FirebaseError: [code=not-found]: 5 NOT_FOUND: The project projid does not exist or it does not contain an active Cloud Datastore or Cloud Firestore database.
[debug] [2020-06-02T10:45:58.302Z] ----------------------------------------------------------------------
[debug] [2020-06-02T10:45:58.304Z] Command: C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\firebase-tools\lib\bin\firebase.js emulators:start
[debug] [2020-06-02T10:45:58.304Z] CLI Version: 8.4.1
[debug] [2020-06-02T10:45:58.306Z] Platform: win32
[debug] [2020-06-02T10:45:58.306Z] Node Version: v14.3.0
[debug] [2020-06-02T10:45:58.307Z] Time: Tue Jun 02 2020 12:45:58 GMT+0200 (kรถzรฉp-eurรณpai nyรกri idล)
[debug] [2020-06-02T10:45:58.307Z] ----------------------------------------------------------------------
[debug] [2020-06-02T10:45:58.307Z]
[debug] [2020-06-02T10:45:58.315Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[debug] [2020-06-02T10:45:58.315Z] > authorizing via signed-in user
[info] i emulators: Starting emulators: firestore {"metadata":{"emulator":{"name":"hub"},"message":"Starting emulators: firestore"}}
[debug] [2020-06-02T10:46:00.340Z] [hub] writing locator at C:\Users\User\AppData\Local\Temp\hub-oniks-84195.json
[debug] [2020-06-02T10:46:02.361Z] Ignoring unsupported arg: projectId {"metadata":{"emulator":{"name":"firestore"},"message":"Ignoring unsupported arg: projectId"}}
[debug] [2020-06-02T10:46:02.362Z] Ignoring unsupported arg: auto_download {"metadata":{"emulator":{"name":"firestore"},"message":"Ignoring unsupported arg: auto_download"}}
[debug] [2020-06-02T10:46:02.362Z] Starting Firestore Emulator with command {"binary":"java","args":["-Duser.language=en","-jar","C:\\Users\\User\\.cache\\firebase\\emulators\\cloud-firestore-emulator-v1.11.4.jar","--host","localhost","--port",8080,"--rules","C:\\Users\\User\\Documents\\GitHub\\oniks_2\\firebase\\firestore.rules"],"optionalArgs":["port","webchannel_port","host","rules","functions_emulator","seed_from_export"],"joinArgs":false} {"metadata":{"emulator":{"name":"firestore"},"message":"Starting Firestore Emulator with command {\"binary\":\"java\",\"args\":[\"-Duser.language=en\",\"-jar\",\"C:\\\\Users\\\\User\\\\.cache\\\\firebase\\\\emulators\\\\cloud-firestore-emulator-v1.11.4.jar\",\"--host\",\"localhost\",\"--port\",8080,\"--rules\",\"C:\\\\Users\\\\User\\\\Documents\\\\GitHub\\\\oniks_2\\\\firebase\\\\firestore.rules\"],\"optionalArgs\":[\"port\",\"webchannel_port\",\"host\",\"rules\",\"functions_emulator\",\"seed_from_export\"],\"joinArgs\":false}"}}
[info] i firestore: Firestore Emulator logging to firestore-debug.log {"metadata":{"emulator":{"name":"firestore"},"message":"Firestore Emulator logging to \u001b[1mfirestore-debug.log\u001b[22m"}}
[debug] [2020-06-02T10:46:03.149Z] API endpoint: http://localhost {"metadata":{"emulator":{"name":"firestore"},"message":"API endpoint: http://localhost"}}
[debug] [2020-06-02T10:46:03.149Z] :8080
If you are using a library that supports the FIRESTORE_EMULATOR_HOST environment variable, run:
export FIRESTORE_EMULATOR_HOST=localhost:8080
Dev App Server is now running.
{"metadata":{"emulator":{"name":"firestore"},"message":":8080\nIf you are using a library that supports the FIRESTORE_EMULATOR_HOST environment variable, run:\r\n\n export FIRESTORE_EMULATOR_HOST=localhost:8080\n\nDev App Server is now running.\n\r\n"}}
[debug] [2020-06-02T10:46:07.392Z] Ignoring unsupported arg: auto_download {"metadata":{"emulator":{"name":"ui"},"message":"Ignoring unsupported arg: auto_download"}}
[debug] [2020-06-02T10:46:07.392Z] Ignoring unsupported arg: port {"metadata":{"emulator":{"name":"ui"},"message":"Ignoring unsupported arg: port"}}
[debug] [2020-06-02T10:46:07.392Z] Starting Emulator UI with command {"binary":"node","args":["C:\\Users\\User\\.cache\\firebase\\emulators\\ui-v1.0.0\\server.bundle.js"],"optionalArgs":[],"joinArgs":false} {"metadata":{"emulator":{"name":"ui"},"message":"Starting Emulator UI with command {\"binary\":\"node\",\"args\":[\"C:\\\\Users\\\\User\\\\.cache\\\\firebase\\\\emulators\\\\ui-v1.0.0\\\\server.bundle.js\"],\"optionalArgs\":[],\"joinArgs\":false}"}}
[info] i ui: Emulator UI logging to ui-debug.log {"metadata":{"emulator":{"name":"ui"},"message":"Emulator UI logging to \u001b[1mui-debug.log\u001b[22m"}}
[debug] [2020-06-02T10:46:07.502Z] Web / API server started at http://localhost:4000
{"metadata":{"emulator":{"name":"ui"},"message":"Web / API server started at http://localhost:4000\n"}}
[info]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ All emulators ready! View status and logs at http://localhost:4000 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Emulator โ Host:Port โ View in Emulator UI โ
โโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Firestore โ localhost:8080 โ http://localhost:4000/firestore โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Other reserved ports: 4400, 4500
Issues? Report them at https://github.com/firebase/firebase-tools/issues and attach the *-debug.log files.
```
API endpoint: http://localhost:8080
If you are using a library that supports the FIRESTORE_EMULATOR_HOST environment variable, run:
export FIRESTORE_EMULATOR_HOST=localhost:8080
Dev App Server is now running.
without polling
@firebase/firestore: Firestore (7.14.5): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds.
This typically indicates that your device does not have a healthy Internet connection at the moment.
[debug] [2020-06-02T10:52:18.852Z] ----------------------------------------------------------------------
[debug] [2020-06-02T10:52:18.855Z] Command: C:Program Filesnodejsnode.exe C:Program Filesnodejsnode_modulesfirebase-toolslibbinfirebase.js emulators:start
[debug] [2020-06-02T10:52:18.855Z] CLI Version: 8.4.1
[debug] [2020-06-02T10:52:18.855Z] Platform: win32
[debug] [2020-06-02T10:52:18.855Z] Node Version: v14.3.0
[debug] [2020-06-02T10:52:18.856Z] Time: Tue Jun 02 2020 12:52:18 GMT+0200 (kรถzรฉp-eurรณpai nyรกri idล)
[debug] [2020-06-02T10:52:18.856Z] ----------------------------------------------------------------------
[debug] [2020-06-02T10:52:18.856Z]
[debug] [2020-06-02T10:52:18.862Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[debug] [2020-06-02T10:52:18.862Z] > authorizing via signed-in user
[info] i emulators: Starting emulators: firestore {"metadata":{"emulator":{"name":"hub"},"message":"Starting emulators: firestore"}}
[debug] [2020-06-02T10:52:20.888Z] [hub] writing locator at C:UsersUserAppDataLocalTemphub-oniks-84195.json
[debug] [2020-06-02T10:52:22.911Z] Ignoring unsupported arg: projectId {"metadata":{"emulator":{"name":"firestore"},"message":"Ignoring unsupported arg: projectId"}}
[debug] [2020-06-02T10:52:22.912Z] Ignoring unsupported arg: auto_download {"metadata":{"emulator":{"name":"firestore"},"message":"Ignoring unsupported arg: auto_download"}}
[debug] [2020-06-02T10:52:22.912Z] Starting Firestore Emulator with command {"binary":"java","args":["-Duser.language=en","-jar","C:\Users\User\.cache\firebase\emulators\cloud-firestore-emulator-v1.11.4.jar","--host","localhost","--port",8080,"--rules","C:\Users\User\Documents\GitHub\oniks_2\firebase\firestore.rules"],"optionalArgs":["port","webchannel_port","host","rules","functions_emulator","seed_from_export"],"joinArgs":false} {"metadata":{"emulator":{"name":"firestore"},"message":"Starting Firestore Emulator with command {"binary":"java","args":["-Duser.language=en","-jar","C:\\Users\\User\\.cache\\firebase\\emulators\\cloud-firestore-emulator-v1.11.4.jar","--host","localhost","--port",8080,"--rules","C:\\Users\\User\\Documents\\GitHub\\oniks_2\\firebase\\firestore.rules"],"optionalArgs":["port","webchannel_port","host","rules","functions_emulator","seed_from_export"],"joinArgs":false}"}}
[info] i firestore: Firestore Emulator logging to firestore-debug.log {"metadata":{"emulator":{"name":"firestore"},"message":"Firestore Emulator logging to u001b[1mfirestore-debug.logu001b[22m"}}
[debug] [2020-06-02T10:52:23.695Z] API endpoint: http://localhost {"metadata":{"emulator":{"name":"firestore"},"message":"API endpoint: http://localhost"}}
[debug] [2020-06-02T10:52:23.695Z] :8080
If you are using a library that supports the FIRESTORE_EMULATOR_HOST environment variable, run:
export FIRESTORE_EMULATOR_HOST=localhost:8080
Dev App Server is now running.
{"metadata":{"emulator":{"name":"firestore"},"message":":8080nIf you are using a library that supports the FIRESTORE_EMULATOR_HOST environment variable, run:rnn export FIRESTORE_EMULATOR_HOST=localhost:8080nnDev App Server is now running.nrn"}}
[debug] [2020-06-02T10:52:27.945Z] Ignoring unsupported arg: auto_download {"metadata":{"emulator":{"name":"ui"},"message":"Ignoring unsupported arg: auto_download"}}
[debug] [2020-06-02T10:52:27.945Z] Ignoring unsupported arg: port {"metadata":{"emulator":{"name":"ui"},"message":"Ignoring unsupported arg: port"}}
[debug] [2020-06-02T10:52:27.945Z] Starting Emulator UI with command {"binary":"node","args":["C:\Users\User\.cache\firebase\emulators\ui-v1.0.0\server.bundle.js"],"optionalArgs":[],"joinArgs":false} {"metadata":{"emulator":{"name":"ui"},"message":"Starting Emulator UI with command {"binary":"node","args":["C:\\Users\\User\\.cache\\firebase\\emulators\\ui-v1.0.0\\server.bundle.js"],"optionalArgs":[],"joinArgs":false}"}}
[info] i ui: Emulator UI logging to ui-debug.log {"metadata":{"emulator":{"name":"ui"},"message":"Emulator UI logging to u001b[1mui-debug.logu001b[22m"}}
[debug] [2020-06-02T10:52:28.051Z] Web / API server started at http://localhost:4000
{"metadata":{"emulator":{"name":"ui"},"message":"Web / API server started at http://localhost:4000n"}}
[info]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ All emulators ready! View status and logs at http://localhost:4000 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Emulator โ Host:Port โ View in Emulator UI โ
โโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Firestore โ localhost:8080 โ http://localhost:4000/firestore โ
โโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Other reserved ports: 4400, 4500
Issues? Report them at https://github.com/firebase/firebase-tools/issues and attach the *-debug.log files.
[debug] [2020-06-02T10:52:35.910Z] Jun 02, 2020 12:52:35 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead
INFO: Detected HTTP/2 connection.
{"metadata":{"emulator":{"name":"firestore"},"message":"Jun 02, 2020 12:52:35 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelReadrnINFO: Detected HTTP/2 connection.rn"}}
[debug] [2020-06-02T10:52:50.994Z] Jun 02, 2020 12:52:50 PM io.netty.channel.DefaultChannelPipeline onUnhandledInboundException
WARNING: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:345)
at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:376)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:832)
{"metadata":{"emulator":{"name":"firestore"},"message":"Jun 02, 2020 12:52:50 PM io.netty.channel.DefaultChannelPipeline onUnhandledInboundExceptionrnWARNING: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.rnjava.net.SocketException: Connection resetrntat java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:345)rntat java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:376)rntat io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)rntat io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)rntat io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)rntat io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)rntat io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)rntat io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)rntat io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)rntat io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)rntat io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)rntat io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)rntat io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)rntat java.base/java.lang.Thread.run(Thread.java:832)rnrn"}}
API endpoint: http://localhost:8080
If you are using a library that supports the FIRESTORE_EMULATOR_HOST environment variable, run:
export FIRESTORE_EMULATOR_HOST=localhost:8080
Dev App Server is now running.
Jun 02, 2020 12:52:35 PM io.gapi.emulators.netty.HttpVersionRoutingHandler channelRead
INFO: Detected HTTP/2 connection.
Jun 02, 2020 12:52:50 PM io.netty.channel.DefaultChannelPipeline onUnhandledInboundException
WARNING: An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
java.net.SocketException: Connection reset
at java.base/sun.nio.ch.SocketChannelImpl.throwConnectionReset(SocketChannelImpl.java:345)
at java.base/sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:376)
at io.netty.buffer.PooledByteBuf.setBytes(PooledByteBuf.java:253)
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:1133)
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:350)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:148)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:714)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:576)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:493)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:832)
```
@Producer86 Try updating firebase to 7.14.6.
@Producer86 Try updating firebase to 7.14.6.
this is interesting because
"@firebase/testing": {
"version": "0.19.6",
"resolved": "https://registry.npmjs.org/@firebase/testing/-/testing-0.19.6.tgz",
"integrity": "sha512-LuOUDvHobZ7nAHZnmkiPLwzQAZtryrfQvyXggsVS+vC9URarLPUmgkYe1yyyt93kcmFEwebkVkBbmJMYCpVvsA==",
"requires": {
"@firebase/logger": "0.2.4",
"@firebase/util": "0.2.47",
"@types/request": "2.48.4",
"firebase": "7.14.6",
"request": "2.88.2"
}
yet the message says 7.14.5
Sounds dumb, but make sure to restart your localhost. I had the same issue once while testing.
Can relate to that, but restarted it before each try.
What does your package-lock.json say?
did shrinkwrap
{
"name": "firebaserules",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@firebase/analytics": {
"version": "0.3.5",
"resolved": "https://registry.npmjs.org/@firebase/analytics/-/analytics-0.3.5.tgz",
"integrity": "sha512-p+h1s9A8EjGWfjAObu8ei46JoN2Ogbtl1RzqW7HjcPuclOIOmPTXKEXXCEXgO79OLxnzzezVeBtHPSx6r6gxJA==",
"requires": {
"@firebase/analytics-types": "0.3.1",
"@firebase/component": "0.1.12",
"@firebase/installations": "0.4.10",
"@firebase/logger": "0.2.4",
"@firebase/util": "0.2.47",
"tslib": "1.11.1"
}
},
"@firebase/analytics-types": {
"version": "0.3.1",
"resolved": "https://registry.npmjs.org/@firebase/analytics-types/-/analytics-types-0.3.1.tgz",
"integrity": "sha512-63vVJ5NIBh/JF8l9LuPrQYSzFimk7zYHySQB4Dk9rVdJ8kV/vGQoVTvRu1UW05sEc2Ug5PqtEChtTHU+9hvPcA=="
},
"@firebase/app": {
"version": "0.6.4",
"resolved": "https://registry.npmjs.org/@firebase/app/-/app-0.6.4.tgz",
"integrity": "sha512-E1Zw6yeZYdYYFurMnklKPvE+q/xleHXs7bmcVgyhgAEg3Gv6/qXI4+4GdWh+iF7wmQ3Liesh51xqfdpvHBwAMQ==",
"requires": {
"@firebase/app-types": "0.6.1",
"@firebase/component": "0.1.12",
"@firebase/logger": "0.2.4",
"@firebase/util": "0.2.47",
"dom-storage": "2.1.0",
"tslib": "1.11.1",
"xmlhttprequest": "1.8.0"
}
},
"@firebase/app-types": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/@firebase/app-types/-/app-types-0.6.1.tgz",
"integrity": "sha512-L/ZnJRAq7F++utfuoTKX4CLBG5YR7tFO3PLzG1/oXXKEezJ0kRL3CMRoueBEmTCzVb/6SIs2Qlaw++uDgi5Xyg=="
},
"@firebase/auth": {
"version": "0.14.6",
"resolved": "https://registry.npmjs.org/@firebase/auth/-/auth-0.14.6.tgz",
"integrity": "sha512-7gaEUWhUubWBGfOXAZvpTpJqBJT9KyG83RXC6VnjSQIfNUaarHZ485WkzERil43A6KvIl+f4kHxfZShE6ZCK3A==",
"requires": {
"@firebase/auth-types": "0.10.1"
}
},
"@firebase/auth-interop-types": {
"version": "0.1.5",
"resolved": "https://registry.npmjs.org/@firebase/auth-interop-types/-/auth-interop-types-0.1.5.tgz",
"integrity": "sha512-88h74TMQ6wXChPA6h9Q3E1Jg6TkTHep2+k63OWg3s0ozyGVMeY+TTOti7PFPzq5RhszQPQOoCi59es4MaRvgCw=="
},
"@firebase/auth-types": {
"version": "0.10.1",
"resolved": "https://registry.npmjs.org/@firebase/auth-types/-/auth-types-0.10.1.tgz",
"integrity": "sha512-/+gBHb1O9x/YlG7inXfxff/6X3BPZt4zgBv4kql6HEmdzNQCodIRlEYnI+/da+lN+dha7PjaFH7C7ewMmfV7rw=="
},
"@firebase/component": {
"version": "0.1.12",
"resolved": "https://registry.npmjs.org/@firebase/component/-/component-0.1.12.tgz",
"integrity": "sha512-03w800MxR/EW1m7N0Q46WNcngwdDIHDWpFPHTdbZEI6U/HuLks5RJQlBxWqb1P73nYPkN8YP3U8gTdqrDpqY3Q==",
"requires": {
"@firebase/util": "0.2.47",
"tslib": "1.11.1"
}
},
"@firebase/database": {
"version": "0.6.3",
"resolved": "https://registry.npmjs.org/@firebase/database/-/database-0.6.3.tgz",
"integrity": "sha512-gHoCISHQVLoq+rGu+PorYxMkhsjhXov3ocBxz/0uVdznNhrbKkAZaEKF+dIAsUPDlwSYeZuwWuik7xcV3DtRaw==",
"requires": {
"@firebase/auth-interop-types": "0.1.5",
"@firebase/component": "0.1.12",
"@firebase/database-types": "0.5.1",
"@firebase/logger": "0.2.4",
"@firebase/util": "0.2.47",
"faye-websocket": "0.11.3",
"tslib": "1.11.1"
}
},
"@firebase/database-types": {
"version": "0.5.1",
"resolved": "https://registry.npmjs.org/@firebase/database-types/-/database-types-0.5.1.tgz",
"integrity": "sha512-onQxom1ZBYBJ648w/VNRzUewovEDAH7lvnrrpCd69ukkyrMk6rGEO/PQ9BcNEbhlNtukpsqRS0oNOFlHs0FaSA==",
"requires": {
"@firebase/app-types": "0.6.1"
}
},
"@firebase/firestore": {
"version": "1.14.6",
"resolved": "https://registry.npmjs.org/@firebase/firestore/-/firestore-1.14.6.tgz",
"integrity": "sha512-9TfM4BFQAhyn+gmayX80wZEAO27bUBy471pba/oAYM9UrvPp1US9Bn/QzeuA/hxBSZXcN5zWNcs1Ibyt8eAreg==",
"requires": {
"@firebase/component": "0.1.12",
"@firebase/firestore-types": "1.10.3",
"@firebase/logger": "0.2.4",
"@firebase/util": "0.2.47",
"@firebase/webchannel-wrapper": "0.2.41",
"@grpc/grpc-js": "0.8.1",
"@grpc/proto-loader": "^0.5.0",
"tslib": "1.11.1"
}
},
"@firebase/firestore-types": {
"version": "1.10.3",
"resolved": "https://registry.npmjs.org/@firebase/firestore-types/-/firestore-types-1.10.3.tgz",
"integrity": "sha512-DcYTJbva/gYK3i9q1Jw4tUkuSGQY5tXizSU/yytJgsRZNQrLEbrbHza9n6MAxcBbMSgcWZ24XzCGELtlKgMbSw=="
},
"@firebase/functions": {
"version": "0.4.44",
"resolved": "https://registry.npmjs.org/@firebase/functions/-/functions-0.4.44.tgz",
"integrity": "sha512-Nbw+V/jYqfgq7wscsSDidqIzx8TrnmA2wRD1auCFNmf+gSJg8o+gNyCDdNHZI407jvrZcxp3nG1eMbqwmmnp7Q==",
"requires": {
"@firebase/component": "0.1.12",
"@firebase/functions-types": "0.3.17",
"@firebase/messaging-types": "0.4.5",
"isomorphic-fetch": "2.2.1",
"tslib": "1.11.1"
}
},
"@firebase/functions-types": {
"version": "0.3.17",
"resolved": "https://registry.npmjs.org/@firebase/functions-types/-/functions-types-0.3.17.tgz",
"integrity": "sha512-DGR4i3VI55KnYk4IxrIw7+VG7Q3gA65azHnZxo98Il8IvYLr2UTBlSh72dTLlDf25NW51HqvJgYJDKvSaAeyHQ=="
},
"@firebase/installations": {
"version": "0.4.10",
"resolved": "https://registry.npmjs.org/@firebase/installations/-/installations-0.4.10.tgz",
"integrity": "sha512-Nf7VK9++0eQzjdvBkBNNaOdxPjFiKD0EllLCIQycHozF97BmuFUqb2Ik5L2JaWspWg7vxLNacLHvW48nPGx4Zw==",
"requires": {
"@firebase/component": "0.1.12",
"@firebase/installations-types": "0.3.4",
"@firebase/util": "0.2.47",
"idb": "3.0.2",
"tslib": "1.11.1"
}
},
"@firebase/installations-types": {
"version": "0.3.4",
"resolved": "https://registry.npmjs.org/@firebase/installations-types/-/installations-types-0.3.4.tgz",
"integrity": "sha512-RfePJFovmdIXb6rYwtngyxuEcWnOrzdZd9m7xAW0gRxDIjBT20n3BOhjpmgRWXo/DAxRmS7bRjWAyTHY9cqN7Q=="
},
"@firebase/logger": {
"version": "0.2.4",
"resolved": "https://registry.npmjs.org/@firebase/logger/-/logger-0.2.4.tgz",
"integrity": "sha512-akHkOU7izYB1okp/B5sxClGjjw6KvZdSHyjNM5pKd67Zg5W6PsbkI/GFNv21+y6LkUkJwDRbdeDgJoYXWT3mMA=="
},
"@firebase/messaging": {
"version": "0.6.16",
"resolved": "https://registry.npmjs.org/@firebase/messaging/-/messaging-0.6.16.tgz",
"integrity": "sha512-TAPISK5y3xbxUw81HxLDP6YPsRryU6Nl8Z7AjNnem13BoN9LJ2/wCi9RDMfPnQhAn0h0N+mpxy/GB+0IlEARlg==",
"requires": {
"@firebase/component": "0.1.12",
"@firebase/installations": "0.4.10",
"@firebase/messaging-types": "0.4.5",
"@firebase/util": "0.2.47",
"idb": "3.0.2",
"tslib": "1.11.1"
}
},
"@firebase/messaging-types": {
"version": "0.4.5",
"resolved": "https://registry.npmjs.org/@firebase/messaging-types/-/messaging-types-0.4.5.tgz",
"integrity": "sha512-sux4fgqr/0KyIxqzHlatI04Ajs5rc3WM+WmtCpxrKP1E5Bke8xu/0M+2oy4lK/sQ7nov9z15n3iltAHCgTRU3Q=="
},
"@firebase/performance": {
"version": "0.3.5",
"resolved": "https://registry.npmjs.org/@firebase/performance/-/performance-0.3.5.tgz",
"integrity": "sha512-FCUxK3IsJuthSosXzCA/B3Lz0o51QLjS1PuHFSxW4zwnMN2p5LrJBof47D2qB/ZYLey8xR4u2IGHOjvSDyKA9w==",
"requires": {
"@firebase/component": "0.1.12",
"@firebase/installations": "0.4.10",
"@firebase/logger": "0.2.4",
"@firebase/performance-types": "0.0.13",
"@firebase/util": "0.2.47",
"tslib": "1.11.1"
}
},
"@firebase/performance-types": {
"version": "0.0.13",
"resolved": "https://registry.npmjs.org/@firebase/performance-types/-/performance-types-0.0.13.tgz",
"integrity": "sha512-6fZfIGjQpwo9S5OzMpPyqgYAUZcFzZxHFqOyNtorDIgNXq33nlldTL/vtaUZA8iT9TT5cJlCrF/jthKU7X21EA=="
},
"@firebase/polyfill": {
"version": "0.3.36",
"resolved": "https://registry.npmjs.org/@firebase/polyfill/-/polyfill-0.3.36.tgz",
"integrity": "sha512-zMM9oSJgY6cT2jx3Ce9LYqb0eIpDE52meIzd/oe/y70F+v9u1LDqk5kUF5mf16zovGBWMNFmgzlsh6Wj0OsFtg==",
"requires": {
"core-js": "3.6.5",
"promise-polyfill": "8.1.3",
"whatwg-fetch": "2.0.4"
},
"dependencies": {
"whatwg-fetch": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-2.0.4.tgz",
"integrity": "sha512-dcQ1GWpOD/eEQ97k66aiEVpNnapVj90/+R+SXTPYGHpYBBypfKJEQjLrvMZ7YXbKm21gXd4NcuxUTjiv1YtLng=="
}
}
},
"@firebase/remote-config": {
"version": "0.1.21",
"resolved": "https://registry.npmjs.org/@firebase/remote-config/-/remote-config-0.1.21.tgz",
"integrity": "sha512-EwDNU1mT+8Jn66IUwwNP5SM8AbaI7wmCXjp7djZtTXNrpPoh3xqzSRM1vTgp4Uu/mHffEDfbydsoJAIftADIfQ==",
"requires": {
"@firebase/component": "0.1.12",
"@firebase/installations": "0.4.10",
"@firebase/logger": "0.2.4",
"@firebase/remote-config-types": "0.1.9",
"@firebase/util": "0.2.47",
"tslib": "1.11.1"
}
},
"@firebase/remote-config-types": {
"version": "0.1.9",
"resolved": "https://registry.npmjs.org/@firebase/remote-config-types/-/remote-config-types-0.1.9.tgz",
"integrity": "sha512-G96qnF3RYGbZsTRut7NBX0sxyczxt1uyCgXQuH/eAfUCngxjEGcZQnBdy6mvSdqdJh5mC31rWPO4v9/s7HwtzA=="
},
"@firebase/storage": {
"version": "0.3.34",
"resolved": "https://registry.npmjs.org/@firebase/storage/-/storage-0.3.34.tgz",
"integrity": "sha512-vuR1PpGdaCk25D2dT2trfmZZjpdfOn0rPTksvoqg7TAPLeoVsVoDyT2LgF3Arna/jqx52sAIRx1HLrlvzE1pgA==",
"requires": {
"@firebase/component": "0.1.12",
"@firebase/storage-types": "0.3.12",
"@firebase/util": "0.2.47",
"tslib": "1.11.1"
}
},
"@firebase/storage-types": {
"version": "0.3.12",
"resolved": "https://registry.npmjs.org/@firebase/storage-types/-/storage-types-0.3.12.tgz",
"integrity": "sha512-DDV6Fs6aYoGw3w/zZZTkqiipxihnsvHf6znbeZYjIIHit3tr1uLJdGPDPiCTfZcTGPpg2ux6ZmvNDvVgJdHALw=="
},
"@firebase/testing": {
"version": "0.19.6",
"resolved": "https://registry.npmjs.org/@firebase/testing/-/testing-0.19.6.tgz",
"integrity": "sha512-LuOUDvHobZ7nAHZnmkiPLwzQAZtryrfQvyXggsVS+vC9URarLPUmgkYe1yyyt93kcmFEwebkVkBbmJMYCpVvsA==",
"requires": {
"@firebase/logger": "0.2.4",
"@firebase/util": "0.2.47",
"@types/request": "2.48.4",
"firebase": "7.14.6",
"request": "2.88.2"
}
},
"@firebase/util": {
"version": "0.2.47",
"resolved": "https://registry.npmjs.org/@firebase/util/-/util-0.2.47.tgz",
"integrity": "sha512-RjcIvcfswyxYhf0OMXod+qeI/933wl9FGLIszf0/O1yMZ/s8moXcse7xnOpMjmQPRLB9vHzCMoxW5X90kKg/bQ==",
"requires": {
"tslib": "1.11.1"
}
},
"@firebase/webchannel-wrapper": {
"version": "0.2.41",
"resolved": "https://registry.npmjs.org/@firebase/webchannel-wrapper/-/webchannel-wrapper-0.2.41.tgz",
"integrity": "sha512-XcdMT5PSZHiuf7LJIhzKIe+RyYa25S3LHRRvLnZc6iFjwXkrSDJ8J/HWO6VT8d2ZTbawp3VcLEjRF/VN8glCrA=="
},
"@grpc/grpc-js": {
"version": "0.8.1",
"resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-0.8.1.tgz",
"integrity": "sha512-e8gSjRZnOUefsR3obOgxG9RtYW2Mw83hh7ogE2ByCdgRhoX0mdnJwBcZOami3E0l643KCTZvORFwfSEi48KFIQ==",
"requires": {
"semver": "^6.2.0"
}
},
"@grpc/proto-loader": {
"version": "0.5.4",
"resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.5.4.tgz",
"integrity": "sha512-HTM4QpI9B2XFkPz7pjwMyMgZchJ93TVkL3kWPW8GDMDKYxsMnmf4w2TNMJK7+KNiYHS5cJrCEAFlF+AwtXWVPA==",
"requires": {
"lodash.camelcase": "^4.3.0",
"protobufjs": "^6.8.6"
}
},
"@protobufjs/aspromise": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz",
"integrity": "sha1-m4sMxmPWaafY9vXQiToU00jzD78="
},
"@protobufjs/base64": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz",
"integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg=="
},
"@protobufjs/codegen": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz",
"integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg=="
},
"@protobufjs/eventemitter": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz",
"integrity": "sha1-NVy8mLr61ZePntCV85diHx0Ga3A="
},
"@protobufjs/fetch": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz",
"integrity": "sha1-upn7WYYUr2VwDBYZ/wbUVLDYTEU=",
"requires": {
"@protobufjs/aspromise": "^1.1.1",
"@protobufjs/inquire": "^1.1.0"
}
},
"@protobufjs/float": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz",
"integrity": "sha1-Xp4avctz/Ap8uLKR33jIy9l7h9E="
},
"@protobufjs/inquire": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz",
"integrity": "sha1-/yAOPnzyQp4tyvwRQIKOjMY48Ik="
},
"@protobufjs/path": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz",
"integrity": "sha1-bMKyDFya1q0NzP0hynZz2Nf79o0="
},
"@protobufjs/pool": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz",
"integrity": "sha1-Cf0V8tbTq/qbZbw2ZQbWrXhG/1Q="
},
"@protobufjs/utf8": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz",
"integrity": "sha1-p3c2C1s5oaLlEG+OhY8v0tBgxXA="
},
"@types/caseless": {
"version": "0.12.2",
"resolved": "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.2.tgz",
"integrity": "sha512-6ckxMjBBD8URvjB6J3NcnuAn5Pkl7t3TizAg+xdlzzQGSPSmBcXf8KoIH0ua/i+tio+ZRUHEXp0HEmvaR4kt0w=="
},
"@types/long": {
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/@types/long/-/long-4.0.1.tgz",
"integrity": "sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w=="
},
"@types/node": {
"version": "14.0.9",
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.0.9.tgz",
"integrity": "sha512-0sCTiXKXELOBxvZLN4krQ0FPOAA7ij+6WwvD0k/PHd9/KAkr4dXel5J9fh6F4x1FwAQILqAWkmpeuS6mjf1iKA=="
},
"@types/request": {
"version": "2.48.4",
"resolved": "https://registry.npmjs.org/@types/request/-/request-2.48.4.tgz",
"integrity": "sha512-W1t1MTKYR8PxICH+A4HgEIPuAC3sbljoEVfyZbeFJJDbr30guDspJri2XOaM2E+Un7ZjrihaDi7cf6fPa2tbgw==",
"requires": {
"@types/caseless": "*",
"@types/node": "*",
"@types/tough-cookie": "*",
"form-data": "^2.5.0"
}
},
"@types/tough-cookie": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/@types/tough-cookie/-/tough-cookie-4.0.0.tgz",
"integrity": "sha512-I99sngh224D0M7XgW1s120zxCt3VYQ3IQsuw3P3jbq5GG4yc79+ZjyKznyOGIQrflfylLgcfekeZW/vk0yng6A=="
},
"ajv": {
"version": "6.12.2",
"resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.2.tgz",
"integrity": "sha512-k+V+hzjm5q/Mr8ef/1Y9goCmlsK4I6Sm74teeyGvFk1XrOsbsKLjEdrvny42CZ+a8sXbk8KWpY/bDwS+FLL2UQ==",
"requires": {
"fast-deep-equal": "^3.1.1",
"fast-json-stable-stringify": "^2.0.0",
"json-schema-traverse": "^0.4.1",
"uri-js": "^4.2.2"
}
},
"asn1": {
"version": "0.2.4",
"resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz",
"integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==",
"requires": {
"safer-buffer": "~2.1.0"
}
},
"assert-plus": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz",
"integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
},
"asynckit": {
"version": "0.4.0",
"resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
"integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k="
},
"aws-sign2": {
"version": "0.7.0",
"resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz",
"integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg="
},
"aws4": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/aws4/-/aws4-1.10.0.tgz",
"integrity": "sha512-3YDiu347mtVtjpyV3u5kVqQLP242c06zwDOgpeRnybmXlYYsLbtTrUBUm8i8srONt+FWobl5aibnU1030PeeuA=="
},
"bcrypt-pbkdf": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz",
"integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=",
"requires": {
"tweetnacl": "^0.14.3"
}
},
"caseless": {
"version": "0.12.0",
"resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz",
"integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
},
"combined-stream": {
"version": "1.0.8",
"resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
"requires": {
"delayed-stream": "~1.0.0"
}
},
"core-js": {
"version": "3.6.5",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz",
"integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA=="
},
"core-util-is": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
},
"dashdash": {
"version": "1.14.1",
"resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz",
"integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=",
"requires": {
"assert-plus": "^1.0.0"
}
},
"delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
},
"dom-storage": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/dom-storage/-/dom-storage-2.1.0.tgz",
"integrity": "sha512-g6RpyWXzl0RR6OTElHKBl7nwnK87GUyZMYC7JWsB/IA73vpqK2K6LT39x4VepLxlSsWBFrPVLnsSR5Jyty0+2Q=="
},
"ecc-jsbn": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz",
"integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=",
"requires": {
"jsbn": "~0.1.0",
"safer-buffer": "^2.1.0"
}
},
"encoding": {
"version": "0.1.12",
"resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.12.tgz",
"integrity": "sha1-U4tm8+5izRq1HsMjgp0flIDHS+s=",
"requires": {
"iconv-lite": "~0.4.13"
}
},
"extend": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
},
"extsprintf": {
"version": "1.3.0",
"resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz",
"integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
},
"fast-deep-equal": {
"version": "3.1.1",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz",
"integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA=="
},
"fast-json-stable-stringify": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
"integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw=="
},
"faye-websocket": {
"version": "0.11.3",
"resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.3.tgz",
"integrity": "sha512-D2y4bovYpzziGgbHYtGCMjlJM36vAl/y+xUyn1C+FVx8szd1E+86KwVw6XvYSzOP8iMpm1X0I4xJD+QtUb36OA==",
"requires": {
"websocket-driver": ">=0.5.1"
}
},
"firebase": {
"version": "7.14.6",
"resolved": "https://registry.npmjs.org/firebase/-/firebase-7.14.6.tgz",
"integrity": "sha512-W7nN57T+slfSYtUoCD7Jup/P+V8velhjbtJUlO4+gYXCG0TT83ah3B+89LlVwOrL3tVAl68GdA892vdXVsY6zQ==",
"requires": {
"@firebase/analytics": "0.3.5",
"@firebase/app": "0.6.4",
"@firebase/app-types": "0.6.1",
"@firebase/auth": "0.14.6",
"@firebase/database": "0.6.3",
"@firebase/firestore": "1.14.6",
"@firebase/functions": "0.4.44",
"@firebase/installations": "0.4.10",
"@firebase/messaging": "0.6.16",
"@firebase/performance": "0.3.5",
"@firebase/polyfill": "0.3.36",
"@firebase/remote-config": "0.1.21",
"@firebase/storage": "0.3.34",
"@firebase/util": "0.2.47"
}
},
"forever-agent": {
"version": "0.6.1",
"resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz",
"integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE="
},
"form-data": {
"version": "2.5.1",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-2.5.1.tgz",
"integrity": "sha512-m21N3WOmEEURgk6B9GLOE4RuWOFf28Lhh9qGYeNlGq4VDXUlJy2th2slBNU8Gp8EzloYZOibZJ7t5ecIrFSjVA==",
"requires": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.6",
"mime-types": "^2.1.12"
}
},
"getpass": {
"version": "0.1.7",
"resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz",
"integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=",
"requires": {
"assert-plus": "^1.0.0"
}
},
"har-schema": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz",
"integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI="
},
"har-validator": {
"version": "5.1.3",
"resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz",
"integrity": "sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g==",
"requires": {
"ajv": "^6.5.5",
"har-schema": "^2.0.0"
}
},
"http-parser-js": {
"version": "0.5.2",
"resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.2.tgz",
"integrity": "sha512-opCO9ASqg5Wy2FNo7A0sxy71yGbbkJJXLdgMK04Tcypw9jr2MgWbyubb0+WdmDmGnFflO7fRbqbaihh/ENDlRQ=="
},
"http-signature": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz",
"integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=",
"requires": {
"assert-plus": "^1.0.0",
"jsprim": "^1.2.2",
"sshpk": "^1.7.0"
}
},
"iconv-lite": {
"version": "0.4.24",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
"integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
"requires": {
"safer-buffer": ">= 2.1.2 < 3"
}
},
"idb": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/idb/-/idb-3.0.2.tgz",
"integrity": "sha512-+FLa/0sTXqyux0o6C+i2lOR0VoS60LU/jzUo5xjfY6+7sEEgy4Gz1O7yFBXvjd7N0NyIGWIRg8DcQSLEG+VSPw=="
},
"is-stream": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
"integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ="
},
"is-typedarray": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
"integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
},
"isomorphic-fetch": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz",
"integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=",
"requires": {
"node-fetch": "^1.0.1",
"whatwg-fetch": ">=0.10.0"
}
},
"isstream": {
"version": "0.1.2",
"resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz",
"integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
},
"jsbn": {
"version": "0.1.1",
"resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz",
"integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM="
},
"json-schema": {
"version": "0.2.3",
"resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz",
"integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM="
},
"json-schema-traverse": {
"version": "0.4.1",
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
"integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
},
"json-stringify-safe": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
"integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="
},
"jsprim": {
"version": "1.4.1",
"resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz",
"integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=",
"requires": {
"assert-plus": "1.0.0",
"extsprintf": "1.3.0",
"json-schema": "0.2.3",
"verror": "1.10.0"
}
},
"lodash.camelcase": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz",
"integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY="
},
"long": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz",
"integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA=="
},
"mime-db": {
"version": "1.44.0",
"resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz",
"integrity": "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg=="
},
"mime-types": {
"version": "2.1.27",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz",
"integrity": "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==",
"requires": {
"mime-db": "1.44.0"
}
},
"node-fetch": {
"version": "1.7.3",
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz",
"integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==",
"requires": {
"encoding": "^0.1.11",
"is-stream": "^1.0.1"
}
},
"oauth-sign": {
"version": "0.9.0",
"resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz",
"integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ=="
},
"performance-now": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz",
"integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
},
"promise-polyfill": {
"version": "8.1.3",
"resolved": "https://registry.npmjs.org/promise-polyfill/-/promise-polyfill-8.1.3.tgz",
"integrity": "sha512-MG5r82wBzh7pSKDRa9y+vllNHz3e3d4CNj1PQE4BQYxLme0gKYYBm9YENq+UkEikyZ0XbiGWxYlVw3Rl9O/U8g=="
},
"protobufjs": {
"version": "6.9.0",
"resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-6.9.0.tgz",
"integrity": "sha512-LlGVfEWDXoI/STstRDdZZKb/qusoAWUnmLg9R8OLSO473mBLWHowx8clbX5/+mKDEI+v7GzjoK9tRPZMMcoTrg==",
"requires": {
"@protobufjs/aspromise": "^1.1.2",
"@protobufjs/base64": "^1.1.2",
"@protobufjs/codegen": "^2.0.4",
"@protobufjs/eventemitter": "^1.1.0",
"@protobufjs/fetch": "^1.1.0",
"@protobufjs/float": "^1.0.2",
"@protobufjs/inquire": "^1.1.0",
"@protobufjs/path": "^1.1.2",
"@protobufjs/pool": "^1.1.0",
"@protobufjs/utf8": "^1.1.0",
"@types/long": "^4.0.1",
"@types/node": "^13.7.0",
"long": "^4.0.0"
},
"dependencies": {
"@types/node": {
"version": "13.13.9",
"resolved": "https://registry.npmjs.org/@types/node/-/node-13.13.9.tgz",
"integrity": "sha512-EPZBIGed5gNnfWCiwEIwTE2Jdg4813odnG8iNPMQGrqVxrI+wL68SPtPeCX+ZxGBaA6pKAVc6jaKgP/Q0QzfdQ=="
}
}
},
"psl": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz",
"integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ=="
},
"punycode": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz",
"integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
},
"qs": {
"version": "6.5.2",
"resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz",
"integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA=="
},
"request": {
"version": "2.88.2",
"resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz",
"integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==",
"requires": {
"aws-sign2": "~0.7.0",
"aws4": "^1.8.0",
"caseless": "~0.12.0",
"combined-stream": "~1.0.6",
"extend": "~3.0.2",
"forever-agent": "~0.6.1",
"form-data": "~2.3.2",
"har-validator": "~5.1.3",
"http-signature": "~1.2.0",
"is-typedarray": "~1.0.0",
"isstream": "~0.1.2",
"json-stringify-safe": "~5.0.1",
"mime-types": "~2.1.19",
"oauth-sign": "~0.9.0",
"performance-now": "^2.1.0",
"qs": "~6.5.2",
"safe-buffer": "^5.1.2",
"tough-cookie": "~2.5.0",
"tunnel-agent": "^0.6.0",
"uuid": "^3.3.2"
},
"dependencies": {
"form-data": {
"version": "2.3.3",
"resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz",
"integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==",
"requires": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.6",
"mime-types": "^2.1.12"
}
}
}
},
"safe-buffer": {
"version": "5.2.1",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
"integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
},
"safer-buffer": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
"integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
},
"semver": {
"version": "6.3.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
"integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw=="
},
"sshpk": {
"version": "1.16.1",
"resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz",
"integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==",
"requires": {
"asn1": "~0.2.3",
"assert-plus": "^1.0.0",
"bcrypt-pbkdf": "^1.0.0",
"dashdash": "^1.12.0",
"ecc-jsbn": "~0.1.1",
"getpass": "^0.1.1",
"jsbn": "~0.1.0",
"safer-buffer": "^2.0.2",
"tweetnacl": "~0.14.0"
}
},
"tough-cookie": {
"version": "2.5.0",
"resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz",
"integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==",
"requires": {
"psl": "^1.1.28",
"punycode": "^2.1.1"
}
},
"tslib": {
"version": "1.11.1",
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.11.1.tgz",
"integrity": "sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA=="
},
"tunnel-agent": {
"version": "0.6.0",
"resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz",
"integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=",
"requires": {
"safe-buffer": "^5.0.1"
}
},
"tweetnacl": {
"version": "0.14.5",
"resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz",
"integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
},
"uri-js": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz",
"integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==",
"requires": {
"punycode": "^2.1.0"
}
},
"uuid": {
"version": "3.4.0",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz",
"integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A=="
},
"verror": {
"version": "1.10.0",
"resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz",
"integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=",
"requires": {
"assert-plus": "^1.0.0",
"core-util-is": "1.0.2",
"extsprintf": "^1.2.0"
}
},
"websocket-driver": {
"version": "0.7.4",
"resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.4.tgz",
"integrity": "sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==",
"requires": {
"http-parser-js": ">=0.5.1",
"safe-buffer": ">=5.1.0",
"websocket-extensions": ">=0.1.1"
}
},
"websocket-extensions": {
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.3.tgz",
"integrity": "sha512-nqHUnMXmBzT0w570r2JpJxfiSD1IzoI+HGVdd3aZ0yNi3ngvQ4jv1dtHt5VGxfI2yj5yqImPhOK4vmIh2xMbGg=="
},
"whatwg-fetch": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz",
"integrity": "sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q=="
},
"xmlhttprequest": {
"version": "1.8.0",
"resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz",
"integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw="
}
}
}
Also checked web ui, works fine, firestore is up, can create new collection, document.
Cloned https://github.com/firebase/emulators-codelab.git
Tests fail there too right at the before hook times out, the hosted app works tho (kinda, never mind login button not showing), it can populate and read the mock data.
Hi everyone. I'm new at this.
I'm having the same issue:
I tried with 7.14.6 firebase version and didn't worked. Then I tried with 7.14.1 version and didnt't worked too.
Problem:

I'm working in a firebase and react native app.

Broken with Angular Universal running on the Firebase Functions backend. My workaround was to use the REST API in this environment.
@schmidt-sebastian I know this is already closed but could you give us a quick heads up about this, please?
After upgrading to 7.14.6 the error still exists for me. Especially in Safari I can see it all the time
Are you still seeing these messages if in intervals much shorter than 10 seconds? If yes, the underlying issue hasn't been fixed and we have to take another stab. If not, you are probably behind a network that doesn't support our WebChannel protocol properly and you should try to use experimentalForceLongPolling.
Ah, sorry for the misleading expression. I am having it, when my app makes a request very soon after initializing. Firefox for example can handel it most of the time. Safari shows that errror on every startup.
@vandres Can you share your logs?
Don't know why is says "7.14.5", I've installed 7.14.6
[Log] [2020-06-04T17:00:57.445Z] @firebase/firestore: โ "Firestore (7.14.5): FirestoreClient" โ "Initializing. user=" โ "null" (vendor.js, line 179863)
[Log] [2020-06-04T17:00:57.451Z] @firebase/firestore: โ "Firestore (7.14.5): MemoryPersistence" โ "Starting transaction:" โ "Get last stream token" (vendor.js, line 179863)
[Log] [2020-06-04T17:00:57.452Z] @firebase/firestore: โ "Firestore (7.14.5): MemoryPersistence" โ "Starting transaction:" โ "Get next mutation batch" (vendor.js, line 179863)
[Log] [2020-06-04T17:00:57.454Z] @firebase/firestore: โ "Firestore (7.14.5): MemoryPersistence" โ "Starting transaction:" โ "Allocate target" (vendor.js, line 179863)
[Log] [2020-06-04T17:00:57.455Z] @firebase/firestore: โ "Firestore (7.14.5): MemoryPersistence" โ "Starting transaction:" โ "Execute query" (vendor.js, line 179863)
[Log] [2020-06-04T17:00:57.456Z] @firebase/firestore: โ "Firestore (7.14.5): IndexFreeQueryEngine" โ "Using full collection scan to execute query:" โ "Query(target=Target(indices/communities, orderBy: [__name__ (asc)]); limitType=F)" (vendor.js, line 179863)
[Log] [2020-06-04T17:00:57.554Z] @firebase/firestore: โ "Firestore (7.14.5): PersistentStream" โ "close with error: FirebaseError: [code=unknown]: Fetching auth token failed: getToken aborted due to token change." (vendor.js, line 179863)
[Error] [2020-06-04T17:00:57.555Z] @firebase/firestore: โ "Firestore (7.14.5): Could not reach Cloud Firestore backend. Connection failed 1 times. Most recent error: FirebaseError: [code=unknown]โฆ"
(anonyme Funktion) (vendor.js:179863)
defaultLogHandler (vendor.js:145831)
(anonyme Funktion) (vendor.js:145941)
ye (vendor.js:134075)
(anonyme Funktion) (vendor.js:140455)
(anonyme Funktion) (vendor.js:140436)
(anonyme Funktion) (vendor.js:140695)
step (vendor.js:147803)
(anonyme Funktion) (vendor.js:147777)
ZoneAwarePromise (polyfills.js:1156)
__awaiter (vendor.js:147773)
(anonyme Funktion)
(anonyme Funktion) (vendor.js:140018)
step (vendor.js:147803)
(anonyme Funktion) (vendor.js:147777)
ZoneAwarePromise (polyfills.js:1156)
__awaiter (vendor.js:147773)
(anonyme Funktion) (vendor.js:138024)
run (polyfills.js:319)
(anonyme Funktion) (polyfills.js:1053)
runTask (polyfills.js:363)
drainMicroTaskQueue (polyfills.js:765)
invokeTask (polyfills.js:680)
invokeTask (polyfills.js:1817)
globalZoneAwareCallback (polyfills.js:1843)
[Log] [2020-06-04T17:00:57.557Z] @firebase/firestore: โ "Firestore (7.14.5): FirestoreClient" โ "Credential Changed. Current user: null" (vendor.js, line 179863)
[Log] [2020-06-04T17:00:57.557Z] @firebase/firestore: โ "Firestore (7.14.5): RemoteStore" โ "RemoteStore restarting streams for new credential" (vendor.js, line 179863)
[Log] [2020-06-04T17:00:57.558Z] @firebase/firestore: โ "Firestore (7.14.5): MemoryPersistence" โ "Starting transaction:" โ "Get last stream token" (vendor.js, line 179863)
[Log] [2020-06-04T17:00:57.558Z] @firebase/firestore: โ "Firestore (7.14.5): MemoryPersistence" โ "Starting transaction:" โ "Get next mutation batch" (vendor.js, line 179863)
[Log] [2020-06-04T17:00:57.559Z] @firebase/firestore: โ "Firestore (7.14.5): Connection" โ "Creating WebChannel: https://firestore.googleapis.com/google.firestore.v1.Firestore/Listen/channel [object Object]" (vendor.js, line 179863)
[Log] [2020-06-04T17:00:57.705Z] @firebase/firestore: โ "Firestore (7.14.5): Connection" โ "Opening WebChannel transport." (vendor.js, line 179863)
still seeing this error on version 7.15.0
Having the same issue. It happens right after Google Sign In. Works otherwise.
@d5u, @romshiri .. if you are working on React Native platform. Switch to RNFirebase as your dependency. It works fine there. I have just done the switch 1 mins ago, tested everything is working fine.
"@react-native-firebase/app": "^7.2.0",
"@react-native-firebase/auth": "^8.0.4",
"@react-native-firebase/firestore": "^7.1.5",
@vandres I think I might have an idea of how to solve the problem you are hitting (#3184)
Having the same issue and none of the workarounds above made a difference. Seeing that is a firestore issue would it be an option to switch to realtime database?
@RalucaPenciuc Are you sure you upgraded to 7.14.6 or 7.15.0 ? I've had this issue before as well, downgraded to 7.14.1 (until 7.14.6 was released), now upgraded to the latest, and I'm all good.
Regards
@schmidt-sebastian I found a workaround for my problem. I wait with all my requests for an onAuthChange, even if the user is null. But I hope they will accept your PR, because this workaround is a little annoying.
@RalucaPenciuc Are you sure you upgraded to
7.14.6or7.15.0? I've had this issue before as well, downgraded to 7.14.1 (until 7.14.6 was released), now upgraded to the latest, and I'm all good.Regards
It's all good now even though I did nothing in particular. I downgraded to 7.14.1 and eventually deleted the { experimentalForceLongPolling: true } line. It remained just a small error about a corrupt entry in my db and that's all. Super weird.
I guess it has something to do with firebase networking. User location in particular (region, country).
For me the problem was temporary, with firestore and firebase.auth. The problem was on a physical android device in Russia.
In the same time from the same location one of my emulated Android device but with DNS proxy set up to 8.8.8.8 (Google DNS) was working fine.
And I see people are complaining from outside of US.
https://github.com/firebase/firebase-js-sdk/pull/3184 is merged and should be released this week.
It's probably a bug in the most recent version of Firebase (7.14.6), I tried switching to an older version and it worked for me!
Change your Firebase version in your package.json to: "firebase": "7.14.6"
Then add the base-64 package: https://www.npmjs.com/package/base-64
Add this code snippet to your App.js:
import {decode, encode} from 'base-64';
if (!global.btoa) {
global.btoa = encode;
}
if (!global.atob) {
global.atob = decode;
}
Run npm install in your root folder of your project
Try again and it should work!
The temp solution worked for me
firebase.firestore().settings({ experimentalForceLongPolling: true });
In my case, I was able to set persistence to none and that fixed the issue:
.signInWithCustomToken(custom_token)
.then(() => {
firebase_app.setPersistence(
firebase.auth.Auth.Persistence.NONE
)
})
https://firebase.google.com/docs/auth/web/auth-state-persistence
Just confirming that #3184 (released on v7.15.1) fixed this issue for me.
Hi guys
I've tried manually downgrading to 7.14.6 by ediging package.json file
Then erased package-lock and node_modules folder, did npm install, etc. w/o luck
Tried @TommyLeong suggestion
replaced firebase line in package.json, with these
"@react-native-firebase/app": "^7.2.0",
"@react-native-firebase/auth": "^8.0.4",
"@react-native-firebase/firestore": "^7.1.5",
and now npx react-native run-android does not even build
Task :app:stripDebugDebugSymbols UP-TO-DATE
Compatible side by side NDK version was not found.
Task :app:mergeDexDebug FAILED
Is there any chance I can force to install 7.15.1 as @wceolin ?
Because when error shows, it always show firebase/firestore 7.15.0
Thakns
Just confirming that #3184 (released on v7.15.1) fixed this issue for me.
@wceolin @schmidt-sebastian the issue is fixed for me, but there's an issue on Safari where the App does not hydrate quick enough. Sometimes I have to close the current tab and open another one to get my Firestore data. The same thing happens on iOS (Safari)
Hi guys
I've tried manually downgrading to 7.14.6 by ediging package.json file
Then erased package-lock and node_modules folder, did npm install, etc. w/o luckTried @TommyLeong suggestion
replaced firebase line in package.json, with these
"@react-native-firebase/app": "^7.2.0",
"@react-native-firebase/auth": "^8.0.4",
"@react-native-firebase/firestore": "^7.1.5",
and now npx react-native run-android does not even buildTask :app:stripDebugDebugSymbols UP-TO-DATE
Compatible side by side NDK version was not found.
Task :app:mergeDexDebug FAILEDIs there any chance I can force to install 7.15.1 as @wceolin ?
Because when error shows, it always show firebase/firestore 7.15.0
Thakns
Did you reinstall your node_module after replacing the pacakge.json?
I followed something similar to jasperlanting10 and finally it worked for me.
I'm using firebase 7.15.1
First set the "experimentalForceLongPolling: true
...
export const db = firebase.firestore();
db.settings({experimentalForceLongPolling: true});
...
Then in my index.js I setup a global.atob and global.btoa
Something like this;
global.atob = function atob(input) {
var keyStr = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='
var output = ''
var chr1, chr2, chr3
var enc1, enc2, enc3, enc4
var i = 0
input = input.replace(/[^A-Za-z0-9\+\/\=]/g, '')
do {
enc1 = keyStr.indexOf(input.charAt(i++))
enc2 = keyStr.indexOf(input.charAt(i++))
enc3 = keyStr.indexOf(input.charAt(i++))
enc4 = keyStr.indexOf(input.charAt(i++))
chr1 = (enc1 << 2) | (enc2 >> 4)
chr2 = ((enc2 & 15) << 4) | (enc3 >> 2)
chr3 = ((enc3 & 3) << 6) | enc4
output = output + String.fromCharCode(chr1)
if (enc3 !== 64) {
output = output + String.fromCharCode(chr2)
}
if (enc4 !== 64) {
output = output + String.fromCharCode(chr3)
}
} while (i < input.length)
return output
}
global.btoa = function btoa (input) {
chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
let str = input;
let output = "";
for (let block = 0, charCode, i = 0, map = chars;
str.charAt(i | 0) || (map = '=', i % 1);
output += map.charAt(63 & block >> 8 - i % 1 * 8)) {
charCode = str.charCodeAt(i += 3/4);
if (charCode > 0xFF) {
throw new Error("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");
}
block = block << 8 | charCode;
}
return output;
}
Did you reinstall your node_module after replacing the pacakge.json?
Yea, of course @TommyLeong
Same problem @kabeza have u solved?
Same problem @kabeza have u solved?
Nope.
Tried downgrading to 7.14.6, no luck (I've edited package.json, deleted node_modules folder and then reinstalled all again with npm install). I recompiled and still got the error regarding firebase/firestore 7.15.0. Maybe I downgraded incorrectly
https://i.imgur.com/BYclBwJ.jpg
Tried replacing with NeactNative Firebase, no luck (but this is far more complex than editing package.json and reinstalling. It involves more tasks)
I guess I'll have to go with axios and rest api instead
@kabeza I have been able to solve with react-native-firebase. Completely uninstall the app, like, remove it from the home screen, delete it completly and then try to install it again. Solved for me.
@kabeza I have been able to solve with react-native-firebase. Completely uninstall the app, like, remove it from the home screen, delete it completly and then try to install it again. Solved for me.
The problem is that when I replace firebase with rnfirebase in package.json, reinstall everything with npm, etc. the app doesn't even build, doesn't compile
https://i.imgur.com/XdBCOu9.jpg
I've replaced this line
"firebase": "^7.15.0",
with these
"@react-native-firebase/app": "^7.2.0",
"@react-native-firebase/auth": "^8.0.4",
"@react-native-firebase/firestore": "^7.1.5",
Don't know if that's the way to do it but I've read it here
Most helpful comment
This will be fixed in this week's release, which should go out either later today or tomorrow.