title: mongodb Realm app with sync feature is connecting and disconnecting in a loop because of reading error
body: <p>My app is loading and seems to create a realm, but then it is looping, just connecting and disconnecting with the following message:</p>
  <pre><code>Connection to daemon was invalidated
  Signup successful!
  Log in as user: y
  Login succeeded!
  2020-10-25...Sync: Connection[1]: Session[1]: client_reset_config = false, Realm exists = false, async open = false, client reset = falseSync: Connection[1]: Session[1]: client_reset_config = false, Realm exists = false, async open = false, client reset = false
  2020-10-25...Sync: Connection[1]: Connected to endpoint '13.54.209.90:443' (from '.....:52139')
  2020-10-25...Sync: Connection[1]: Reading failed: End of input
  2020-10-25...Sync: Connection[1]: Connection closed due to error```
  </code></pre>
  <p>Connection seems to be established (connected to endpoint), but it then says Realm exists=false!!</p>
  <p>Maybe somebody can tell me what could cause the above error and then I can provide more details of my setup.</p>