-
Notifications
You must be signed in to change notification settings - Fork 985
Open
Description
Are you experiencing the error Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds despite your network seeming healthy? Please visit https://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 can force long-polling as follows:
firebase.firestore().settings({ experimentalForceLongPolling: true });
Have you enabled experimentalForceLongPolling and experimentalAutoDetectLongPolling 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 visit https://debug-my.firebaseapp.com/, wait for "All tests done" (about 60 seconds), paste the results into a gist, 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.
ferlobo1985, pimmee, wujekbogdan, dgilperez, turbotobias and 21 morechristophe-g, KishiTheMechanic and AnthonyNahasTooManyJohns, davidyzeng, yeldarby, pimmee, turbotobias and 8 more