Search code examples
firebasegoogle-cloud-firestore

Firebase Cloud Firestore throws "client is offline"


About 3 out of 4 times loading the page I get this error from the firestore client SDK (web). This slows development down tremendously. Auth, Realtime DB and Storage work perfectly fine.

Failed to get document because the client is offline.

Error

Is there something I can do about this?


Solution

  • There's currently an interaction between the clients and routing on the backend that results in this problem. As a result the client believes the network is failing and goes offline.

    We'll be rolling out a fix for this soon. Exact times I can't promise but this is among our top priority issues to fix.

    Thanks for your patience.