Hi,
I’m using flexible sync for syncing the game state in a game project and never had any problems before.
However, today after I let my app test by ~50 users suddenly the following errors popped up after a few hours of testing and a few users were complaining about sync not working anymore until they restarted the app.
This happened during a time frame of ~1-2 hours and then everything worked normally again. I hope this error doesn’t occur again, otherwise I cannot use flexible sync in my project until it’s stable…
What could be the reason? Was there any update from your side between May 23 20:06:11+02:00 and May 23 21:46:05+02:00? Or is it a bug?
I’m using Unity 2020.3.33f1 and Realm Unity v10.11.1.
These are the error logs I got during this time frame:
translator failed to complete processing batch: failed to update resume token document: connection pool for realmcluster-shard-00-01.kx2p2.mesh.mongodb.net:30444 was cleared because another operation failed with: connection() error occurred during connection handshake: read tcp 127.0.0.1:36740->127.0.0.1:30444: read: connection reset by peer
recoverable event subscription error encountered: failed to load unsynced documents cache: error querying for unsynced documents while initializing unsynced documents cache: connection() error occurred during connection handshake: read tcp 127.0.0.1:52668->127.0.0.1:30444: read: connection reset by peer
message handler failed with error: error handling "upload" message: error updating sync progress: connection(realmcluster-shard-00-01.kx2p2.mesh.mongodb.net:30444[-98435]) socket was unexpectedly closed: EOF
Logs:
[
"Connection was active for: 1m56s"
]
translator failed to complete processing batch: failed to flush instructions to client history: allocating new client versions failed: error incrementing the version counter for (appID="62079d369f7c7cf6d91c56d9", fileIdent=2): connection pool for realmcluster-shard-00-01.kx2p2.mesh.mongodb.net:30444 was cleared because another operation failed with: connection() error occurred during connection handshake: read tcp 127.0.0.1:44172->127.0.0.1:30444: read: connection reset by peer
ending session with error: integrating changesets failed: error creating new integration attempt: failed to get latest server version while integrating changesets: connection(realmcluster-shard-00-01.kx2p2.mesh.mongodb.net:30444[-2701]) socket was unexpectedly closed: EOF (ProtocolErrorCode=201)
integrating changesets failed: error creating new integration attempt: failed to get latest server version while integrating changesets: connection(realmcluster-shard-00-01.kx2p2.mesh.mongodb.net:30444[-2701]) socket was unexpectedly closed: EOF (ProtocolErrorCode=201)
translator failed to complete processing batch: failed to update resume token document: connection() error occurred during connection handshake: read tcp 127.0.0.1:41830->127.0.0.1:30444: read: connection reset by peer
translator failed to complete processing batch: failed to update resume token document: connection() error occurred during connection handshake: EOF
Thanks in advance!