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
experimentalForceLongPolling
orexperimentalAutoDetectLongPolling
? - Does
experimentalAutoDetectLongPolling
completely resolve the issue? - Does
experimentalForceLongPolling
completely 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.