Could not reach Cloud Firestore backend. Backend didn’t respond within 10 seconds.—– react-native

@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.

7 thoughts on “Could not reach Cloud Firestore backend. Backend didn’t respond within 10 seconds.—– react-native

  1. @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.

  2. image

    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.

  3. 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?

    image

    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.

  4. 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)

    ….