Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firestore web Could not reach firestore backend

This is the error message : @firebase/firestore: Firestore (4.12.1): Could not reach Firestore backend

I am building a web app and it was working fine today and after a couple of login / logouts , I started receiving this error message. I have initialized the firestore config again and the problem persists. same error message was being thrown with firestore 4.11.0 version.

like image 785
shikhar Avatar asked Mar 31 '18 15:03

shikhar


1 Answers

For future viewers, this error occurs when the Firebase SDK is unable to reach the Cloud Firestore service for a variety of reasons. We've since moved from Beta to General Availability for the service and SDKs and made several improvements since this was first asked.

A prime reason for this error is network connectivity where we cannot get a response from the service in a reasonable timeframe and then revert to offline mode (if enabled).

Another possible reason in Javascript libraries/frameworks are messing with functionality we rely upon in a now compatible way.

If you continue to encounter this issue and don't believe it's network connectivity relate, post a question on our discussion group or as a Github issue against the relevant client library.

like image 155
Dan McGrath Avatar answered Sep 28 '22 02:09

Dan McGrath