Sync: Connection[1]: Session[1]: Bad sync progress received (3) -> only on real devices


#1

I have the next code in swift:
bestScoreSync = realmSync!.objects(BestScoreSync.self).filter(“combinedPrimary = %@”, combinedPrimarySync)
bestScoreSyncSubscription = bestScoreSync!.subscribe(named: “MyScoreRecord:(combinedPrimarySync)”)
bestScoreSubscriptionToken = bestScoreSyncSubscription!.observe(.state) { [weak self] state in
print(“state: (state)”)

On simulators of xCode it works fine:
state: complete
On real devices i became this error:
state: pending
Sync: Connection[1]: Session[1]: Bad sync progress received (3)
Sync: Connection[1]: Connection closed due to error

The exact bild in debugger:
in AppDelegate setConnection -> state: pending
in WTScene at getSyncedRecords at bestPlayer -> state: pending
in WTScene at getSyncedRecords at bestScoreSync -> state: pending
2019-06-06 17:21:30.099459+0200 MagicOfWords[677:54753] Sync: Connection[1]: Connected to endpoint ‘xx.xxx.xxx.x:xxx’ (from ‘xxx.xx.xx.x:xxxxx’)
2019-06-06 17:21:31.710742+0200 MagicOfWords[677:54753] Sync: Connection[1]: Session[1]: Bad sync progress received (3)
2019-06-06 17:21:31.710941+0200 MagicOfWords[677:54753] Sync: Connection[1]: Connection closed due to error

What is the problem?
What can i do?

I founded an earlier theme with this name, but there was no useable solution for me.

With regards: Jozsef


#2

I solved the problem: i have the app deleted from my device and installed again.
No more problems!

Jozsef :wink: