realm / realm-tasks

To Do app built with Realm, inspired by Clear for iOS
Other
368 stars 73 forks source link

RealmTasks for iOS/macOS does not manange to reconnect after its token expires #384

Open radu-tutueanu opened 7 years ago

radu-tutueanu commented 7 years ago

The app disconnects and fails to reconnect. Steps to reproduce:

  1. Download the 1.0 ROS.
  2. Set the access_token expiration time to 10 seconds (object-server/configuration.yml:65)
  3. Connect to the server, login, do a change. Wait 10 seconds, do another change.

logs here: https://github.com/realm/realm-sync/issues/1114#issuecomment-274096715

@jpsim @TimOliver

austinzheng commented 7 years ago

https://github.com/realm/realm-cocoa/issues/4569 should address this issue. ~I still need to do more investigation.~ (The other path for refreshing tokens works correctly as is.)