Comments (5)
We've been able to reproduce the issue and it appears to be a regression in the Core database. The workaround is to ignore the connection error as it should be transient and Realm will eventually reconnect:
app.syncManager.errorHandler = { syncError, syncSession in
if let syncError = syncError as? SyncError {
if syncError.code == .connectionFailed {
return
}
self.error = syncError
}
}
from realm-swift.
I am using flexible sync. Any help would greatly be appreciated my app's subscription retention. Right now this is my sole income.
Sorry, to bother you @dianaafanador3 I know you have worked on this issue previously. Any suggestions or help of how I can get this issue resolved would be greatly appreciated.
Thanks.
from realm-swift.
Just to tie back to the initial response
mongodb-university/realm-template-apps#183
from realm-swift.
We've been able to reproduce the issue and it appears to be a regression in the Core database. The workaround is to ignore the connection error as it should be transient and Realm will eventually reconnect:
app.syncManager.errorHandler = { syncError, syncSession in if let syncError = syncError as? SyncError { if syncError.code == .connectionFailed { return } self.error = syncError } }
Hey,
I really appreciate you giving me this workaround it seems to work. Thank you.
from realm-swift.
This was fixed and released in 10.50.0
from realm-swift.
Related Issues (20)
- terminating due to uncaught exception of type realm::util::DecryptionFailed: Decryption failed: 'unable to decrypt after 0 seconds (retry_count=2, from=iv1 == 0, size=16384) HOT 2
- Realm Swift 10.50.0 fails to build HOT 5
- Terminating app due to uncaught exception 'RLMException', reason: 'Attempting to modify object outside of a write transaction - call begin Write Transaction on an RLMRealm instance first HOT 1
- Realm 10.50.0 Cocoapods compile warning HOT 6
- Xcode15 Realm crash HOT 2
- Version 10.47.0 AppStore Connect issues: ITMS-91065: Missing signature HOT 11
- Database has an unsupported version (24) and cannot be upgraded. HOT 10
- 'RealmSwiftObject' is not a member type of struct 'RealmSwift.Realm' HOT 2
- Install statically via SPM HOT 8
- Symbol not found: (_objc_claimAutoreleasedReturnValue) HOT 2
- Realm doesn't build when using Swift on Linux HOT 3
- Realm doesn't build when using Swift on Windows HOT 3
- Partition based Sync not supported in new Apps HOT 5
- Update packaging for Xcode 15.4 HOT 4
- AsyncOpen progress does not reflect the bootstrap change sets HOT 2
- Opening Realm files of format version 23 is not supported by this version of Realm (10.25.2) HOT 5
- CocoaPods visionOS support HOT 1
- Could not find or use auto-linked framework 'CoreAudioTypes': framework 'CoreAudioTypes' not found HOT 10
- Crash on Notification Service Extension (RESOURCE_TYPE_MEMORY) HOT 5
- Crash on Exception "[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]" HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from realm-swift.