-
Notifications
You must be signed in to change notification settings - Fork 576
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting Error “Sync session became inactive” unhandled error #6631
Comments
➤ PM Bot commented: Jira ticket: RJS-2808 |
The error message I suggest that you add a connection listener to monitor the connectivity. |
Thanks @kneth We have observed few more bugs here in bugsnag with below error: SIGABRT: Abort program 0 libc.so +0x830f0 abort error |
@vatsal-gadhiya-searce Do you know under which conditions, you observe the above crashes? Do you call |
@kneth The above scenario happens when the app is minimized via hardware backpress and when the user opens the app again it will crash after 2-3 seconds. we are not calling reconnect() in our app FYI: I work in @vatsal-gadhiya-searce's team |
@kneth Could you please clarify where the "promise rejection tracking" error is originating from? We are observing an unhandled error that seems unrelated to the sync configuration we have set: sync={{
flexible: true,
onError: handleSyncError,
}} The error isn't being captured by the onError handler in our sync setup, and we are trying to determine the source of this issue. Any guidance would be greatly appreciated! |
A |
Yes, we're using the fallback component, but we're still encountering the "Sync session became inactive" warning. This error consistently appears on the main devices whenever the app starts up. Is there a way to prevent this or handle it more effectively? |
|
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.
Stacktrace & log output
Can you reproduce the bug?
Sometimes
Reproduction Steps
Steps:
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
The text was updated successfully, but these errors were encountered: