Uploaded image for project: 'Realm Core'
  1. Realm Core
  2. RCORE-1982

Opening realm with cached user while offline results in fatal error and session does not retry connection

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: Sync
    • None

      This ticket was created based on the customer reported issue in HELP-55798 and is a P2, since that ticket is also P2.

      With the changes for updating the use of app::Config::base_url and adding the App::update_base_url() function, the first SyncSession opened after app start will always request the user creds to be updated (and thereby updating the location info) if the location had not been requested via another App HTTP request.

      If the Realm is opened while the client is offline, this results in a fatal error due to the resolve failed or offline error returned while requesting the location, which is reported to the client via the registered error_handler and the SyncSession becomes inactive without retrying the connection attempt.

            Assignee:
            michael.wilkersonbarker@mongodb.com Michael Wilkerson-Barker (Inactive)
            Reporter:
            michael.wilkersonbarker@mongodb.com Michael Wilkerson-Barker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: