title: Firebase Cloud Firestore throws "client is offline"
body: <p>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.</p>
  
  <pre><code>Failed to get document because the client is offline.
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/EVocB.png" rel="noreferrer"><img src="https://i.stack.imgur.com/EVocB.png" alt="Error"></a></p>
  
  <p>Is there something I can do about this?</p>