Uploaded image for project: 'Realm JavaScript SDK'
  1. Realm JavaScript SDK
  2. RJS-2808

Getting Error “Sync session became inactive” unhandled error

      How frequently does the bug occur?

      Sometimes

      Description

      We have a react native version 0.73.1 app
      We are using realm version 12.5.0

      we are getting below error sometimes and some of the records aren't updated in realm.
      We have bugsnag added to the app so added all the logs we got from the bugsnag console.

      { “reason”: “Sync session became inactive”, “code”: 1027, “isOk”: false } InvalidError Counter promise rejection tracking received a non-error. See “promise rejection tracking” tab for more detail. h3. Stacktrace & log output {code:shell}

      InvalidError promise rejection tracking received a non-error. See "promise rejection tracking" tab for more detail.
      /root/react-native/packages/react-native/ReactAndroid/hermes-engine/.cxx/MinSizeRel/652p4r5v/arm64-v8a/lib/InternalBytecode/InternalBytecode.js:494:30 onUnhandled
      (native) apply
      node_modules/react-native/Libraries/Core/Timers/JSTimers.js:213:22 anonymous
      node_modules/react-native/Libraries/Core/Timers/JSTimers.js:111:14 _callTimer
      node_modules/react-native/Libraries/Core/Timers/JSTimers.js:359:16 callTimers
      (native) apply
      node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:433:33 __callFunction
      node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:113:25 anonymous
      node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:368:10 __guard
      node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:112:16 callFunctionReturnFlushedQueue

      
      

      Can you reproduce the bug?

      Sometimes

      Reproduction Steps

      Steps:

      1. It is creating a document in the synced collection with status: Pending
      2. but when we try to update the same document status it is not updating.

      Version

      12.5.0

      What services are you using?

      Atlas Device Sync

      Are you using encryption?

      No

      Platform OS and version(s)

      Android - All versions

      Build environment

      All versions

      Cocoapods version

      No response

            Assignee:
            Unassigned Unassigned
            Reporter:
            unitosyncbot Unito Sync Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: