- Notifications
You must be signed in to change notification settings - Fork991
Open
Description
Are you experiencing the errorCould not reach Cloud Firestore backend. Backend didn't respond within 10 seconds despite your network seeming healthy? Please visithttps://debug-my.firebaseapp.com/ and check the results at the end. If the tests "with default options" fail (or are very slow) but the "with forceLongPolling" ones succeed, then this indicates your traffic is likely going through a proxy that is buffering responses in a way that is not compatible with Firestore.
As a workaround, you canforce long-polling as follows:
firebase.firestore().settings({ experimentalForceLongPolling: true });Have you enabledexperimentalForceLongPolling andexperimentalAutoDetectLongPolling to solve a reproducible connection issue related to a specific environment?
We would like to know:
- What environment causes the problem (app platform, antivirus software, network proxy, network conditions, etc.)?
- What is the behavior without
experimentalForceLongPollingorexperimentalAutoDetectLongPolling? - Does
experimentalAutoDetectLongPollingcompletely resolve the issue? - Does
experimentalForceLongPollingcompletely resolve the issue? - Please visithttps://debug-my.firebaseapp.com/, wait for "All tests done" (about 60 seconds), paste the results into agist, and paste the link in your comment.
If there is an existing comment concerning the environment you are using, feel free to just add a 👍 to it.