Crash happens: Multiple sync agents attempted to join the same session

Goals
Realm Sync normally
Actual Results
Very often crash with this error
terminating with uncaught exception of type realm::MultipleSyncAgents:
Multiple sync agents attempted to join the same session

libc++abi.dylib: terminating with uncaught exception of type realm::MultipleSyncAgents: Multiple sync agents attempted to join the same session
Exception backtrace:
0   Realm                               0x0000000113de1b78 _ZN5realm2DB7do_openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEbbNS_9DBOptionsE + 6620
1   Realm                               0x0000000113de3870 _ZN5realm2DB4openERNS_11ReplicationENS_9DBOptionsE + 244
2   Realm                               0x0000000113de8358 _ZN5realm2DB6createERNS_11ReplicationENS_9DBOptionsE + 392
3   Realm                               0x0000000113b9fde8 _ZN5realm5_impl21ClientFileAccessCache4Slot4openEv + 620
4   Realm                               0x0000000113bef6fc _ZN12_GLOBAL__N_111SessionImpl12access_realmEv + 28
5   Realm                               0x0000000113baa780 _ZN5realm5_impl14ClientImplBase7Session8activateEv + 604
6   Realm                               0x0000000113baa41c _ZN5realm5_impl14ClientImplBase10Connection16activate_sessionENSt3__110unique_ptrINS1_7SessionENS3_14default_deleteIS5_EEEE + 244
7   Realm                               0x0000000113bebd28 _ZN5realm4util7network7Trigger8ExecOperIZN12_GLOBAL__N_110ClientImplC1ENS_4sync6Client6ConfigEEUlvE_E19recycle_and_executeEv + 2104
8   Realm                               0x0000000113cb0bb8 _ZN5realm4util7network7Service4Impl3runEv + 404
9   Realm                               0x0000000113be4fb0 _ZN5realm4sync6Client3runEv + 36
10  Realm                               0x0000000113b000f0 _ZZN5realm5_impl10SyncClientC1ENSt3__110unique_ptrINS_4util6LoggerENS2_14default_deleteIS5_EEEERKNS_16SyncClientConfigENS2_10shared_ptrIKNS_11SyncManagerEEEENKUlvE0_clEv + 232
11  Realm                               0x0000000113afffc0 _ZNSt3__1L8__invokeIZN5realm5_impl10SyncClientC1ENS_10unique_ptrINS1_4util6LoggerENS_14default_deleteIS6_EEEERKNS1_16SyncClientConfigENS_10shared_ptrIKNS1_11SyncManagerEEEEUlvE0_JEEEDTclclsr3std3__1E7forwardIT_Efp_Espclsr3std3__1E7forwardIT0_Efp0_EEEOSI_DpOSJ_ + 28
12  Realm                               0x0000000113afff20 _ZNSt3__1L16__thread_executeINS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEZN5realm5_impl10SyncClientC1ENS1_INS6_4util6LoggerENS3_ISA_EEEERKNS6_16SyncClientConfigENS_10shared_ptrIKNS6_11SyncManagerEEEEUlvE0_JEJEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE + 32
13  Realm                               0x0000000113aff64c _ZNSt3__1L14__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN5realm5_impl10SyncClientC1ENS2_INS7_4util6LoggerENS4_ISB_EEEERKNS7_16SyncClientConfigENS_10shared_ptrIKNS7_11SyncManagerEEEEUlvE0_EEEEEPvSN_ + 116
14  libsystem_pthread.dylib             0x00000001f396ab40 _pthread_start + 320
15  libsystem_pthread.dylib             0x00000001f3973768 thread_start + 8

Code Sample
    public static func writeAsync<T: Object>(obj: T) {
        guard let config = realmConfig else { return }
        realmQueue.async {
            autoreleasepool {
                do {
                    let realm = try? Realm(configuration: config)
                    try realm?.write {
                        realm?.add(obj)
                    }
                }
                catch {
                    print("writeAsync error: \(error.localizedDescription)")
                }
            }
        }
    }

Is there any chance that the mongoDB Sync doesn't cover the realm object writing and sync at the same times?
Version of Realm and Tooling
Realm framework version: 10.2.0
Xcode version: 12.2
iOS/OSX version: iOS 14.2.1

After upgrade Realm to the 10.3.0, I use Realm.asyncOpen(configuration:……) function like this:
    public static func writeAsync<T: Object>(obj: T) {
        guard let config = realmConfig else { return }
        Realm.asyncOpen(configuration: config, callbackQueue: realmQueue) { (result) in
            switch result {
            case .success(let realm):
                try? realm.write {
                    realm.add(obj)
                }
            case .failure(let error):
                print("writeAsync error: \(error.localizedDescription)")
            }
        }
    }

The crash didn't happens, but asyncOpen often come to failure:
io.realm.sync code 107
Bad progress information(DOWNLOAD)

@mpobrien this error is thrown when bad sync progress is received from the server. Any thoughts?

@fealebenpae as well

"Bad progress information(DOWNLOAD)" means that the client considers data sent by the server to be invalid, but it's very suspicious to me that Multiple sync agents attempted to join the same session also appeared here. While multiple parties are allowed to access A Realm file simultaneously, at most one of them is allowed to be a "sync agent". The sync agent is the process that talks to the server, and carries out the synchronization. If somehow this invariant was violated, I might expect that two sync agents trying to handle the same set of messages could play havoc with how the validation works.
It is possible though that a server bug could result in that error, too. If you can provide the verbose log output showing the upload/download payloads from the sync connection, we may be able to confirm.

It is possible though that a server bug could result in that error, too. If you can provide the verbose log output showing the upload/download payloads from the sync connection, we may be able to confirm.

@mpobrien Hello, Can you give me some advice about how to print the verbose log output showing the upload/download payloads from the sync connection ?

@zyphs21 from Swift
let app = App(id: "my-app-id")
app.syncManager.logLevel = .all

@zyphs21 from Swift
let app = App(id: "my-app-id")
app.syncManager.logLevel = .all

@mpobrien I'm having the same issue as well.
The first time my app launches, it throws the MultipleSyncAgents exception. The next app launch does not throw this exception, but after ~30-60 minutes, relaunching the app causes the exception again. Here are my verbose sync logs:
2021-02-19 10:46:38.055280-0800 FitGenie[10410:2738100] Sync: Realm sync client ([realm-core-10.5.0], [realm-sync-10.0.0-beta.11])
2021-02-19 10:46:38.055366-0800 FitGenie[10410:2738100] Sync: Supported protocol versions: 2-2
2021-02-19 10:46:38.055428-0800 FitGenie[10410:2738100] Sync: Platform: iOS Darwin 20.3.0 Darwin Kernel Version 20.3.0: Tue Jan  5 18:34:51 PST 2021; root:xnu-7195.80.35~2/RELEASE_ARM64_T8030 iPhone12,1
2021-02-19 10:46:38.055465-0800 FitGenie[10410:2738100] Sync: Build mode: Release
2021-02-19 10:46:38.055498-0800 FitGenie[10410:2738100] Sync: Config param: max_open_files = 256
2021-02-19 10:46:38.055545-0800 FitGenie[10410:2738100] Sync: Config param: one_connection_per_session = 1
2021-02-19 10:46:38.055681-0800 FitGenie[10410:2738100] Sync: Config param: connect_timeout = 120000 ms
2021-02-19 10:46:38.055867-0800 FitGenie[10410:2738100] Sync: Config param: connection_linger_time = 30000 ms
2021-02-19 10:46:38.056087-0800 FitGenie[10410:2738100] Sync: Config param: ping_keepalive_period = 60000 ms
2021-02-19 10:46:38.056238-0800 FitGenie[10410:2738100] Sync: Config param: pong_keepalive_timeout = 120000 ms
2021-02-19 10:46:38.056404-0800 FitGenie[10410:2738100] Sync: Config param: fast_reconnect_limit = 60000 ms
2021-02-19 10:46:38.056463-0800 FitGenie[10410:2738100] Sync: Config param: disable_upload_compaction = 0
2021-02-19 10:46:38.056571-0800 FitGenie[10410:2738100] Sync: Config param: tcp_no_delay = 0
2021-02-19 10:46:38.056783-0800 FitGenie[10410:2738100] Sync: Config param: disable_sync_to_disk = 0
2021-02-19 10:46:38.056850-0800 FitGenie[10410:2738100] Sync: User agent string: 'RealmSync/10.0.0-beta.11 (iOS Darwin 20.3.0 Darwin Kernel Version 20.3.0: Tue Jan  5 18:34:51 PST 2021; root:xnu-7195.80.35~2/RELEASE_ARM64_T8030 iPhone12,1) RealmObjectiveC/10.6.0 MY_APP_ID'
2021-02-19 10:46:38.058889-0800 FitGenie[10410:2738384] Sync: Connection[1]: WebSocket::Websocket()
2021-02-19 10:46:38.059559-0800 FitGenie[10410:2738384] Sync: Connection[1]: Session[1]: Binding '/var/mobile/Containers/Data/Application/9C4CC4DC-7DC8-4163-A802-6B72AB2D10EF/Documents/mongodb-realm/MY_APP_ID/5fd942b079ac94bd7ddf3389/%22user%3D5fd942b079ac94bd7ddf3389%22.realm' to '"user=5fd942b079ac94bd7ddf3389"'
2021-02-19 10:46:38.059643-0800 FitGenie[10410:2738384] Sync: Connection[1]: Session[1]: Activating
2021-02-19 10:46:38.059811-0800 FitGenie[10410:2738384] Sync: Connection[1]: Session[1]: client_reset_config = false, Realm exists = true, async open = false, client reset = false
2021-02-19 10:46:38.059857-0800 FitGenie[10410:2738384] Sync: Opening Realm file: /var/mobile/Containers/Data/Application/9C4CC4DC-7DC8-4163-A802-6B72AB2D10EF/Documents/mongodb-realm/MY_APP_ID/5fd942b079ac94bd7ddf3389/%22user%3D5fd942b079ac94bd7ddf3389%22.realm
2021-02-19 10:46:38.060688-0800 FitGenie[10410:2738384] Sync: Connection[1]: Session[1]: client_file_ident = 15, client_file_ident_salt =<PHONE_NUMBER>474156753
2021-02-19 10:46:38.060731-0800 FitGenie[10410:2738384] Sync: Connection[1]: Session[1]: last_version_available  = 59
2021-02-19 10:46:38.060762-0800 FitGenie[10410:2738384] Sync: Connection[1]: Session[1]: progress_server_version = 326
2021-02-19 10:46:38.060796-0800 FitGenie[10410:2738384] Sync: Connection[1]: Session[1]: progress_client_version = 58
2021-02-19 10:46:38.060830-0800 FitGenie[10410:2738384] Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/9C4CC4DC-7DC8-4163-A802-6B72AB2D10EF/Documents/mongodb-realm/MY_APP_ID/5fd942b079ac94bd7ddf3389/%22user%3D5fd942b079ac94bd7ddf3389%22.realm
2021-02-19 10:46:38.060889-0800 FitGenie[10410:2738384] Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 7460778, downloadable(total) = 7460778, uploaded = 6499, uploadable = 6499, reliable_download_progress = 0, snapshot version = 59
2021-02-19 10:46:38.061032-0800 FitGenie[10410:2738384] Sync: Connection[1]: Resolving 'ws.realm.mongodb.com:443'
2021-02-19 10:46:38.123305-0800 FitGenie[10410:2738384] Sync: Connection[1]: Connecting to endpoint '<IP_ADDRESS>:443' (1/2)
2021-02-19 10:46:38.162240-0800 FitGenie[10410:2738384] Sync: Connection[1]: Connected to endpoint '<IP_ADDRESS>:443' (from '<IP_ADDRESS>:55497')
2021-02-19 10:46:38.385120-0800 FitGenie[10410:2738384] Sync: Connection[1]: WebSocket::initiate_client_handshake()
2021-02-19 10:46:38.385793-0800 FitGenie[10410:2738384] Sync: Connection[1]: HTTP request =
GET /api/client/v2.0/app/MY_APP_ID/realm-sync HTTP/1.1

Host: ws.realm.mongodb.com

Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYwMjE3YWU0NjlmODFhMjE1Njg1OTgzZCIsImJhYXNfZG9tYWluX2lkIjoiNWZkOTBiOTQzMzgyYzJjM2RjNjA3MDQxIiwiZXhwIjoxNjEzNjgxMzQ1LCJpYXQiOjE2MTM2Nzk1NDUsImlzcyI6IjYwMjE2YWU0NjlmODFhMjE1Njg1OTg0NiIsInN0aXRjaF9kZXZJZCI6IjYuMjE3YWU0NjlmODFhMjE1Njg1OTgzZCIsInN0aQRjaF9kb21haW5JZCI6IjVmZDkwYjk0MzM4MmMyYzNkYzYwNzA0MSIsInN1YiI6IjVmZDk0MmIwNzlhYzk9YmQ3ZGRmMzM4OSIsInR5cCI6ImFjY2VzcyJ9.gLGAJTd7sfaJawDWnB_hLl-QTollsxB_-J2z6gdJPdo

Connection: Upgrade

Sec-WebSocket-Key: 7Yhz4al49HCkinxONdiSpg==

Sec-WebSocket-Protocol: com.mongodb.realm-sync/2

Sec-WebSocket-Version: 13

Upgrade: websocket

User-Agent: RealmSync/10.0.0-beta.11 (iOS Darwin 20.3.0 Darwin Kernel Version 20.3.0: Tue Jan  5 18:34:51 PST 2021; root:xnu-7195.80.35~2/RELEASE_ARM64_T8030 iPhone12,1) RealmObjectiveC/10.6.0 MY_APP_ID
2021-02-19 10:46:38.522797-0800 FitGenie[10410:2738384] Sync: Connection[1]: WebSocket::handle_http_response_received()
2021-02-19 10:46:38.522949-0800 FitGenie[10410:2738384] Sync: Connection[1]: HTTP response = HTTP/1.1 401 Unauthorized

cache-control: no-cache, no-store, must-revalidate

connection: close

content-length: 190

content-type: application/json

date: Fri, 19 Feb 2021 18:46:38 GMT

server: envoy

vary: Origin

x-envoy-max-retries: 0

x-frame-options: DENY
2021-02-19 10:46:38.523038-0800 FitGenie[10410:2738384] Sync: Connection[1]: Websocket: Expected HTTP response 101 Switching Protocols, but received:
HTTP/1.1 401 Unauthorized

cache-control: no-cache, no-store, must-revalidate

connection: close

content-length: 190

content-type: application/json

date: Fri, 19 Feb 2021 18:46:38 GMT

server: envoy

vary: Origin

x-envoy-max-retries: 0

x-frame-options: DENY
2021-02-19 10:46:38.523092-0800 FitGenie[10410:2738384] Sync: Connection[1]: Connection closed due to error
2021-02-19 10:46:38.526495-0800 FitGenie[10410:2738384] Sync: Connection[1]: Allowing reconnection in 3480072 milliseconds
2021-02-19 10:46:38.526568-0800 FitGenie[10410:2738384] Sync: Connection[1]: Session[1]: Initiating deactivation
2021-02-19 10:46:38.526618-0800 FitGenie[10410:2738384] Sync: Connection[1]: Session[1]: Deactivation completed
2021-02-19 10:46:38.526671-0800 FitGenie[10410:2738384] Sync: Closing Realm file: /var/mobile/Containers/Data/Application/9C4CC4DC-7DC8-4163-A802-6B72AB2D10EF/Documents/mongodb-realm/MY_APP_ID/5fd942b079ac94bd7ddf3389/%22user%3D5fd942b079ac94bd7ddf3389%22.realm
2021-02-19 10:46:38.537488-0800 FitGenie[10410:2738384] Sync: Connection[1]: Destroying connection object
2021-02-19 10:46:38.909419-0800 FitGenie[10410:2738384] Sync: Connection[2]: WebSocket::Websocket()
2021-02-19 10:46:38.911074-0800 FitGenie[10410:2738384] Sync: Connection[2]: Session[2]: Binding '/var/mobile/Containers/Data/Application/9C4CC4DC-7DC8-4163-A802-6B72AB2D10EF/Documents/mongodb-realm/MY_APP_ID/5fd942b079ac94bd7ddf3389/%22user%3D5fd942b079ac94bd7ddf3389%22.realm' to '"user=5fd942b079ac94bd7ddf3389"'
2021-02-19 10:46:38.911142-0800 FitGenie[10410:2738384] Sync: Connection[2]: Session[2]: Activating
2021-02-19 10:46:38.911215-0800 FitGenie[10410:2738384] Sync: Connection[2]: Session[2]: client_reset_config = false, Realm exists = true, async open = false, client reset = false
2021-02-19 10:46:38.911268-0800 FitGenie[10410:2738384] Sync: Opening Realm file: /var/mobile/Containers/Data/Application/9C4CC4DC-7DC8-4163-A802-6B72AB2D10EF/Documents/mongodb-realm/MY_APP_ID/5fd942b079ac94bd7ddf3389/%22user%3D5fd942b079ac94bd7ddf3389%22.realm
2021-02-19 10:46:38.912630-0800 FitGenie[10410:2738384] Sync: Connection[2]: Session[2]: client_file_ident = 15, client_file_ident_salt =<PHONE_NUMBER>474156753
2021-02-19 10:46:38.913345-0800 FitGenie[10410:2738384] Sync: Connection[2]: Session[2]: last_version_available  = 59
2021-02-19 10:46:38.913448-0800 FitGenie[10410:2738384] Sync: Connection[2]: Session[2]: progress_server_version = 326
2021-02-19 10:46:38.913500-0800 FitGenie[10410:2738384] Sync: Connection[2]: Session[2]: progress_client_version = 58
2021-02-19 10:46:38.913558-0800 FitGenie[10410:2738384] Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/9C4CC4DC-7DC8-4163-A802-6B72AB2D10EF/Documents/mongodb-realm/MY_APP_ID/5fd942b079ac94bd7ddf3389/%22user%3D5fd942b079ac94bd7ddf3389%22.realm
2021-02-19 10:46:38.914370-0800 FitGenie[10410:2738384] Sync: Connection[2]: Session[2]: Progress handler called, downloaded = 7460778, downloadable(total) = 7460778, uploaded = 6499, uploadable = 6499, reliable_download_progress = 0, snapshot version = 59
2021-02-19 10:46:38.914458-0800 FitGenie[10410:2738384] Sync: Connection[2]: Resolving 'ws.realm.mongodb.com:443'
2021-02-19 10:46:38.917553-0800 FitGenie[10410:2738384] Sync: Connection[2]: Connecting to endpoint '<IP_ADDRESS>:443' (1/1)
2021-02-19 10:46:38.958140-0800 FitGenie[10410:2738384] Sync: Connection[2]: Connected to endpoint '<IP_ADDRESS>:443' (from '<IP_ADDRESS>:55498')
2021-02-19 10:46:39.133761-0800 FitGenie[10410:2738384] Sync: Connection[2]: WebSocket::initiate_client_handshake()
2021-02-19 10:46:39.133981-0800 FitGenie[10410:2738384] Sync: Connection[2]: HTTP request =
GET /api/client/v2.0/app/MY_APP_ID/realm-sync HTTP/1.1

Host: ws.realm.mongodb.com

Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYwMjE3YWU0NjlmODFhMjE1Njg1OTgzZCIsImJhYXNfZG9tYWluX2lkIjoiNWZkOTBiOTQzMzgyYzJjM2RjNjA3MDQxIiwiZXhwIjoxNjEzNjgxMzQ1LCJpYXQiOjE2MTM2Nzk1NDUsImlzcyI6IjYwMjE2YWU0NjlmODFhMjE1Njg1OTg0NiIsInN0aXRjaF9kZXZJZCI6IjYuMjE3YWU0NjlmODFhMjE1Njg1OTgzZCIsInN0aQRjaF9kb21haW5JZCI6IjVmZDkwYjk0MzM4MmMyYzNkYzYwNzA0MSIsInN1YiI6IjVmZDk0MmIwNzlhYzk9YmQ3ZGRmMzM4OSIsInR5cCI6ImFjY2VzcyJ9.gLGAJTd7sfaJawDWnB_hLl-QTollsxB_-J2z6gdJPdo

Connection: Upgrade

Sec-WebSocket-Key: TyjSOBiVKAn5Lqo+GGvjdQ==

Sec-WebSocket-Protocol: com.mongodb.realm-sync/2

Sec-WebSocket-Version: 13

Upgrade: websocket

User-Agent: RealmSync/10.0.0-beta.11 (iOS Darwin 20.3.0 Darwin Kernel Version 20.3.0: Tue Jan  5 18:34:51 PST 2021; root:xnu-7195.80.35~2/RELEASE_ARM64_T8030 iPhone12,1) RealmObjectiveC/10.6.0 MY_APP_ID
2021-02-19 10:46:39.211975-0800 FitGenie[10410:2738384] Sync: Connection[3]: WebSocket::Websocket()
2021-02-19 10:46:39.212166-0800 FitGenie[10410:2738384] Sync: Connection[3]: Session[3]: Binding '/var/mobile/Containers/Data/Application/9C4CC4DC-7DC8-4163-A802-6B72AB2D10EF/Documents/mongodb-realm/MY_APP_ID/5fd942b079ac94bd7ddf3389/%22user%3D5fd942b079ac94bd7ddf3389%22.realm' to '"user=5fd942b079ac94bd7ddf3389"'
2021-02-19 10:46:39.212242-0800 FitGenie[10410:2738384] Sync: Connection[3]: Session[3]: Activating
2021-02-19 10:46:39.212453-0800 FitGenie[10410:2738384] Sync: Connection[3]: Session[3]: client_reset_config = false, Realm exists = true, async open = false, client reset = false
2021-02-19 10:46:39.212559-0800 FitGenie[10410:2738384] Sync: Opening Realm file: /var/mobile/Containers/Data/Application/9C4CC4DC-7DC8-4163-A802-6B72AB2D10EF/Documents/mongodb-realm/MY_APP_ID/5fd942b079ac94bd7ddf3389/%22user%3D5fd942b079ac94bd7ddf3389%22.realm
libc++abi.dylib: terminating with uncaught exception of type realm::MultipleSyncAgents: Multiple sync agents attempted to join the same session
Exception backtrace:
0   Realm                               0x0000000109478730 _ZN5realm2DB7do_openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEbbNS_9DBOptionsE + 6620
1   Realm                               0x000000010947a428 _ZN5realm2DB4openERNS_11ReplicationENS_9DBOptionsE + 244
2   Realm                               0x000000010947f0a4 _ZN5realm2DB6createERNS_11ReplicationENS_9DBOptionsE + 392
3   Realm                               0x000000010966a99c _ZN5realm5_impl21ClientFileAccessCache4Slot4openEv + 620
4   Realm                               0x0000000109643dc4 _ZN12_GLOBAL__N_111SessionImpl12access_realmEv + 28
5   Realm                               0x000000010967508c _ZN5realm5_impl14ClientImplBase7Session8activateEv + 604
6   Realm                               0x0000000109674d28 _ZN5realm5_impl14ClientImplBase10Connection16activate_sessionENSt3__110unique_ptrINS1_7SessionENS3_14default_deleteIS5_EEEE + 244
7   Realm                               0x00000001096403f0 _ZN5realm4util7network7Trigger8ExecOperIZN12_GLOBAL__N_110ClientImplC1ENS_4sync6Client6ConfigEEUlvE_E19recycle_and_executeEv + 2104
8   Realm                               0x00000001097225f8 _ZN5realm4util7network7Service4Impl3runEv + 404
9   Realm                               0x00000001096392d4 _ZN5realm4sync6Client3runEv + 36
10  Realm                               0x00000001098196d8 _ZNSt3__114__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN5realm5_impl10SyncClientC1ENS2_INS7_4util6LoggerENS4_ISB_EEEERKNS7_16SyncClientConfigENS_10shared_ptrIKNS7_11SyncManagerEEEEUlvE0_EEEEEPvSN_ + 44
11  libsystem_pthread.dylib             0x00000001ef567cb0 _pthread_start + 320
12  libsystem_pthread.dylib             0x00000001ef570778 thread_start + 8
terminating with uncaught exception of type realm::MultipleSyncAgents: Multiple sync agents attempted to join the same session
Exception backtrace:
0   Realm                               0x0000000109478730 _ZN5realm2DB7do_openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEbbNS_9DBOptionsE + 6620
1   Realm                               0x000000010947a428 _ZN5realm2DB4openERNS_11ReplicationENS_9DBOptionsE + 244
2   Realm                               0x000000010947f0a4 _ZN5realm2DB6createERNS_11ReplicationENS_9DBOptionsE + 392
3   Realm                               0x000000010966a99c _ZN5realm5_impl21ClientFileAccessCache4Slot4openEv + 620
4   Realm                               0x0000000109643dc4 _ZN12_GLOBAL__N_111SessionImpl12access_realmEv + 28
5   Realm                               0x000000010967508c _ZN5realm5_impl14ClientImplBase7Session8activateEv + 604
6   Realm                               0x0000000109674d28 _ZN5realm5_impl14ClientImplBase10Connection16activate_sessionENSt3__110unique_ptrINS1_7SessionENS3_14default_deleteIS5_EEEE + 244
7   Realm                               0x00000001096403f0 _ZN5realm4util7network7Trigger8ExecOperIZN12_GLOBAL__N_110ClientImplC1ENS_4sync6Client6ConfigEEUlvE_E19recycle_and_executeEv + 2104
8   Realm                               0x00000001097225f8 _ZN5realm4util7network7Service4Impl3runEv + 404
9   Realm                               0x00000001096392d4 _ZN5realm4sync6Client3runEv + 36
10  Realm                               0x00000001098196d8 _ZNSt3__114__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN5realm5_impl10SyncClientC1ENS2_INS7_4util6LoggerENS4_ISB_EEEERKNS7_16SyncClientConfigENS_10shared_ptrIKNS7_11SyncManagerEEEEUlvE0_EEEEEPvSN_ + 44
11  libsystem_pthread.dylib             0x00000001ef567cb0 _pthread_start + 320
12  libsystem_pthread.dylib             0x00000001ef570778 thread_start + 8

The documentation mentions this:

The Realm() initializer is convenient, but upon first open of a given realm, it writes the schema to disk. The Realm server interprets this initial local schema as a write. If the realm is read-only, then the operation fails, causing the client to error out. Therefore, it is always recommended to use the Realm.asyncOpen() method the first time you open any given read-only realm.

I have a read-only and a read-write realm that both open synchronously at launch and immediately perform reads and writes. I have since changed both of them to be opened async and am not seeing the MultipleSyncAgents exception anymore.
I'm not 100% clear on what was causing the exception, but my guess is it might have something to do with performing operations at launch before opening a Realm async.
My question now is can I safely open a read-write realm synchronously at launch and avoid this exception? When I attempted to open just my read-only realm async while opening my read-write realm synchronously, I still got the MultipleSyncAgents exception. Both had to be opened async to run safely.

Hello ! I am experiencing exactly the same issue with exactly the same case.
First opening everything is working as excepted and relauching the app after 30-60 minutes, the app crash with exactly the same error.
In my case I don't have any read-only realm, they are all read-write.
I see that opening the Realm using AsyncOpen() can help with that, but I am really interested in using the Realm(configuration:)
Can you help me with that ? thanks

Hello ! I am experiencing exactly the same issue with exactly the same case.
First opening everything is working as excepted and relauching the app after 30-60 minutes, the app crash with exactly the same error.
In my case I don't have any read-only realm, they are all read-write.
I see that opening the Realm using AsyncOpen() can help with that, but I am really interested in using the Realm(configuration:)
Can you help me with that ? thanks

@erdem-inan updating to version 10.7.2 fixed the issue for me

Hey @obianachebe !
Thanks for the reply,
but I am still getting the issue on my side with version 10.7.2, with exactly the same case
Thanks for the help

I was getting the same issue, but turns out that my sync'd realm was also open in Realm Browser when I was trying to run the app on the simulator. As soon as I close the Realm Browser, the issue is gone :)

Hey @sidkamaria1337 !
Thanks for the help, I will try that :)

This crash happen always if you have multiply realms.
Tested on 10.7.2
I created some class which prevent multiply connection, so I suspend all session then run with in serialization order. I used suspend resume functions

@obianachebe you need check after some time. this issue happen when sync manager trying to sync data with realm.  tested on v10.7.4 (last version)
Also I want to say above recommendation not helping fully, crash happening again after some time. can anyone check this @realm-support

@jlavyan I haven't run into this issue on newer realm versions, and I have multiple realms running simultaneously. Maybe post your verbose Realm logs and related code to see if something else is causing the issue?

Thanks for response @obianachebe
This is full log MultipleSyncAgents: Multiple sync agents attempted to join the same session .  Let me know if I can provide or help something

`logLevel = .all`
20:29:04.488700+0400  Metal API Validation Enabled
20:29:05.946621+0400  [Client] Updating selectors after delegate removal failed with: Error Domain=NSCocoaErrorDomain Code=4099 "The connection to service on pid 89 named com.apple.commcenter.coretelephony.xpc was invalidated from this process." UserInfo={NSDebugDescription=The connection to service on pid 89 named com.apple.commcenter.coretelephony.xpc was invalidated from this process.}
20:29:05.990124+0400 App[11312:5855015] [core] "Error returned from daemon: Error Domain=com.apple.accounts Code=7 "(null)""
20:29:06.027224+0400  Sync: Realm sync client ([realm-core-10.6.0], [realm-sync-10.0.0-beta.11])
20:29:06.027285+0400  Sync: Supported protocol versions: 2-2
20:29:06.027329+0400  Sync: Platform: iOS Darwin 20.3.0 Darwin Kernel Version 20.3.0: Tue Jan  5 18:34:51 PST 2021; root:xnu-7195.80.35~2/RELEASE_ARM64_T8020 iPhone11,6
20:29:06.027351+0400  Sync: Build mode: Release
20:29:06.027374+0400  Sync: Config param: max_open_files = 256
20:29:06.027409+0400  Sync: Config param: one_connection_per_session = 1
20:29:06.027432+0400  Sync: Config param: connect_timeout = 120000 ms
20:29:06.027452+0400  Sync: Config param: connection_linger_time = 30000 ms
20:29:06.027634+0400  Sync: Config param: ping_keepalive_period = 60000 ms
20:29:06.027755+0400  Sync: Config param: pong_keepalive_timeout = 120000 ms
20:29:06.027870+0400  Sync: Config param: fast_reconnect_limit = 60000 ms
20:29:06.027988+0400  Sync: Config param: disable_upload_compaction = 0
20:29:06.028133+0400  Sync: Config param: tcp_no_delay = 0
20:29:06.028261+0400  Sync: Config param: disable_sync_to_disk = 0
20:29:06.028412+0400  Sync: User agent string: 'RealmSync/10.0.0-beta.11 (iOS Darwin 20.3.0 Darwin Kernel Version 20.3.0: Tue Jan  5 18:34:51 PST 2021; root:xnu-7195.80.35~2/RELEASE_ARM64_T8020 iPhone11,6) RealmObjectiveC/10.7.4 highlight-qjzzw'
20:29:06.030666+0400  Sync: Connection[1]: WebSocket::Websocket()
20:29:06.030905+0400  Sync: Connection[1]: Session[1]: Binding '/var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm' to '"609147274aebc17559a76b29"'
20:29:06.031022+0400  Sync: Connection[1]: Session[1]: Activating
20:29:06.031489+0400  Sync: Connection[1]: Session[1]: client_reset_config = false, Realm exists = true, async open = false, client reset = false
20:29:06.031673+0400  Sync: Opening Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:06.034498+0400  Sync: Connection[1]: Session[1]: client_file_ident = 2270, client_file_ident_salt =<PHONE_NUMBER>28687853
20:29:06.034564+0400  Sync: Connection[1]: Session[1]: last_version_available  = 14553
20:29:06.034585+0400  Sync: Connection[1]: Session[1]: progress_server_version = 6898
20:29:06.034602+0400  Sync: Connection[1]: Session[1]: progress_client_version = 14547
20:29:06.034626+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:06.034660+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 0, snapshot version = 14553
20:29:06.034705+0400  Sync: Connection[1]: Resolving 'ws.eu-central-1.aws.realm.mongodb.com:443'
20:29:06.038320+0400  Sync: Connection[1]: Connecting to endpoint '<IP_ADDRESS>:443' (1/1)
20:29:06.092392+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:06.092464+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 0, snapshot version = 14553
20:29:06.105742+0400  Sync: Connection[1]: Connected to endpoint '<IP_ADDRESS>:443' (from '<IP_ADDRESS>:61575')
20:29:06.351181+0400  Sync: Connection[1]: WebSocket::initiate_client_handshake()
20:29:06.351555+0400  Sync: Connection[1]: HTTP request =
GET /api/client/v2.0/app/highlight-qjzzw/realm-sync HTTP/1.1
Host: ws.eu-central-1.aws.realm.mongodb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYwOTE0NzJhNGFlYmMxNzU1OWE3NmI0NiIsImJhYXNfZG9tYWluX2lkIjoiNjA1MzZlMjZhMTE4MTM1OWY5YmMwOTJjIiwiZXhwIjoxNjIwMTQ3MjM2LCJpYXQiOjE2MjAxNDU0MzYsImlzcyI6IjYwOTE0NzJhNGFlYmMxNzU1OWE3NmI0NyIsInN0aXRjaF9kZXZJZCI6IjYwOTE0NzJhNGFlYmMxNzU1OWE3NmI0NiIsInN0aXRjaF9kb21haW5JZCI6IjYwNTM2ZTI2YTExODEzNTlmOWJjMDkyYyIsInN1YiI6IjYwOTE0NzI3NGFlYmMxNzU1OWE3NmIyOSIsInR5cCI6ImFjY2VzcyJ9.84LZDB8uPxa25N27qVadNAOLj87IbNdsSam3J7QWLx4
Connection: Upgrade
Sec-WebSocket-Key: 38WuZ3cvZdaN5wh62qmI2w==
Sec-WebSocket-Protocol: com.mongodb.realm-sync/2
Sec-WebSocket-Version: 13
Upgrade: websocket
User-Agent: RealmSync/10.0.0-beta.11 (iOS Darwin 20.3.0 Darwin Kernel Version 20.3.0: Tue Jan  5 18:34:51 PST 2021; root:xnu-7195.80.35~2/RELEASE_ARM64_T8020 iPhone11,6) RealmObjectiveC/10.7.4 highlight-qjzzw
20:29:06.366200+0400  Sync: Connection[2]: WebSocket::Websocket()
20:29:06.366622+0400  Sync: Connection[2]: Session[2]: Binding '/var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174683fc32b34ee90ccb9/%22609174683fc32b34ee90ccb9%22.realm' to '"609174683fc32b34ee90ccb9"'
20:29:06.366668+0400  Sync: Connection[2]: Session[2]: Activating
20:29:06.366704+0400  Sync: Connection[2]: Session[2]: client_reset_config = false, Realm exists = true, async open = false, client reset = false
20:29:06.366731+0400  Sync: Opening Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174683fc32b34ee90ccb9/%22609174683fc32b34ee90ccb9%22.realm
20:29:06.369615+0400  Sync: Connection[2]: Session[2]: client_file_ident = 2306, client_file_ident_salt =<PHONE_NUMBER>00544441
20:29:06.369691+0400  Sync: Connection[2]: Session[2]: last_version_available  = 21
20:29:06.369718+0400  Sync: Connection[2]: Session[2]: progress_server_version = 10
20:29:06.369746+0400  Sync: Connection[2]: Session[2]: progress_client_version = 16
20:29:06.369780+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174683fc32b34ee90ccb9/%22609174683fc32b34ee90ccb9%22.realm
20:29:06.369812+0400  Sync: Connection[2]: Session[2]: Progress handler called, downloaded = 4273, downloadable(total) = 4273, uploaded = 327, uploadable = 327, reliable_download_progress = 0, snapshot version = 21
20:29:06.369840+0400  Sync: Connection[2]: Resolving 'ws.eu-central-1.aws.realm.mongodb.com:443'
20:29:06.373162+0400  Sync: Connection[2]: Connecting to endpoint '<IP_ADDRESS>:443' (1/1)
20:29:06.373391+0400  Sync: Connection[3]: WebSocket::Websocket()
20:29:06.373506+0400  Sync: Connection[3]: Session[3]: Binding '/var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916ec6012dfb59fd37cf14/%2260916ec6012dfb59fd37cf14%22.realm' to '"60916ec6012dfb59fd37cf14"'
20:29:06.373799+0400  Sync: Connection[3]: Session[3]: Activating
20:29:06.373969+0400  Sync: Connection[3]: Session[3]: client_reset_config = false, Realm exists = true, async open = false, client reset = false
20:29:06.374103+0400  Sync: Opening Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916ec6012dfb59fd37cf14/%2260916ec6012dfb59fd37cf14%22.realm
20:29:06.377228+0400  Sync: Connection[3]: Session[3]: client_file_ident = 2296, client_file_ident_salt =<PHONE_NUMBER>551219957
20:29:06.377290+0400  Sync: Connection[3]: Session[3]: last_version_available  = 21
20:29:06.377314+0400  Sync: Connection[3]: Session[3]: progress_server_version = 5
20:29:06.377336+0400  Sync: Connection[3]: Session[3]: progress_client_version = 9
20:29:06.377364+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916ec6012dfb59fd37cf14/%2260916ec6012dfb59fd37cf14%22.realm
20:29:06.377397+0400  Sync: Connection[3]: Session[3]: Progress handler called, downloaded = 2892, downloadable(total) = 2892, uploaded = 109, uploadable = 109, reliable_download_progress = 0, snapshot version = 21
20:29:06.377427+0400  Sync: Connection[3]: Resolving 'ws.eu-central-1.aws.realm.mongodb.com:443'
20:29:06.380283+0400  Sync: Connection[3]: Connecting to endpoint '<IP_ADDRESS>:443' (1/1)
20:29:06.419444+0400  Sync: Connection[4]: WebSocket::Websocket()
20:29:06.420275+0400  Sync: Connection[4]: Session[4]: Binding '/var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916d733fc32b34ee9087c3/%2260916d733fc32b34ee9087c3%22.realm' to '"60916d733fc32b34ee9087c3"'
20:29:06.420320+0400  Sync: Connection[4]: Session[4]: Activating
20:29:06.420358+0400  Sync: Connection[4]: Session[4]: client_reset_config = false, Realm exists = true, async open = false, client reset = false
20:29:06.420384+0400  Sync: Opening Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916d733fc32b34ee9087c3/%2260916d733fc32b34ee9087c3%22.realm
20:29:06.421774+0400  Sync: Connection[4]: Session[4]: client_file_ident = 2276, client_file_ident_salt =<PHONE_NUMBER>276122135
20:29:06.421813+0400  Sync: Connection[4]: Session[4]: last_version_available  = 29
20:29:06.421835+0400  Sync: Connection[4]: Session[4]: progress_server_version = 7
20:29:06.421854+0400  Sync: Connection[4]: Session[4]: progress_client_version = 12
20:29:06.421878+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916d733fc32b34ee9087c3/%2260916d733fc32b34ee9087c3%22.realm
20:29:06.421911+0400  Sync: Connection[4]: Session[4]: Progress handler called, downloaded = 3513, downloadable(total) = 3513, uploaded = 218, uploadable = 218, reliable_download_progress = 0, snapshot version = 29
20:29:06.421944+0400  Sync: Connection[4]: Resolving 'ws.eu-central-1.aws.realm.mongodb.com:443'
20:29:06.424979+0400  Sync: Connection[4]: Connecting to endpoint '<IP_ADDRESS>:443' (1/1)
20:29:06.426322+0400  Sync: Connection[5]: WebSocket::Websocket()
20:29:06.426502+0400  Sync: Connection[5]: Session[5]: Binding '/var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916e964aebc17559a8da37/%2260916e964aebc17559a8da37%22.realm' to '"60916e964aebc17559a8da37"'
20:29:06.426819+0400  Sync: Connection[5]: Session[5]: Activating
20:29:06.427087+0400  Sync: Connection[5]: Session[5]: client_reset_config = false, Realm exists = true, async open = false, client reset = false
20:29:06.427131+0400  Sync: Opening Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916e964aebc17559a8da37/%2260916e964aebc17559a8da37%22.realm
20:29:06.427745+0400  Sync: Connection[5]: Session[5]: client_file_ident = 2289, client_file_ident_salt =<PHONE_NUMBER>554673163
20:29:06.427774+0400  Sync: Connection[5]: Session[5]: last_version_available  = 17
20:29:06.427795+0400  Sync: Connection[5]: Session[5]: progress_server_version = 1
20:29:06.427812+0400  Sync: Connection[5]: Session[5]: progress_client_version = 0
20:29:06.427837+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916e964aebc17559a8da37/%2260916e964aebc17559a8da37%22.realm
20:29:06.427867+0400  Sync: Connection[5]: Session[5]: Progress handler called, downloaded = 1993, downloadable(total) = 1993, uploaded = 0, uploadable = 0, reliable_download_progress = 0, snapshot version = 17
20:29:06.428534+0400  Sync: Connection[5]: Resolving 'ws.eu-central-1.aws.realm.mongodb.com:443'
20:29:06.430784+0400  Sync: Connection[6]: WebSocket::Websocket()
20:29:06.431030+0400  Sync: Connection[6]: Session[6]: Binding '/var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174cc4aebc17559a91935/%22609174cc4aebc17559a91935%22.realm' to '"609174cc4aebc17559a91935"'
20:29:06.431207+0400  Sync: Connection[6]: Session[6]: Activating
20:29:06.431408+0400  Sync: Connection[6]: Session[6]: client_reset_config = false, Realm exists = true, async open = false, client reset = false
20:29:06.431499+0400  Sync: Opening Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174cc4aebc17559a91935/%22609174cc4aebc17559a91935%22.realm
20:29:06.435602+0400  Sync: Connection[6]: Session[6]: client_file_ident = 2313, client_file_ident_salt =<PHONE_NUMBER>571732930
20:29:06.436572+0400  Sync: Connection[6]: Session[6]: last_version_available  = 19
20:29:06.437005+0400  Sync: Connection[6]: Session[6]: progress_server_version = 12
20:29:06.437616+0400  Sync: Connection[6]: Session[6]: progress_client_version = 18
20:29:06.438195+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174cc4aebc17559a91935/%22609174cc4aebc17559a91935%22.realm
20:29:06.438415+0400  Sync: Connection[6]: Session[6]: Progress handler called, downloaded = 4872, downloadable(total) = 4872, uploaded = 436, uploadable = 436, reliable_download_progress = 0, snapshot version = 19
20:29:06.439911+0400  Sync: Connection[5]: Connecting to endpoint '<IP_ADDRESS>:443' (1/1)
20:29:06.440155+0400  Sync: Connection[7]: WebSocket::Websocket()
20:29:06.440216+0400  Sync: Connection[7]: Session[7]: Binding '/var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916e6d012dfb59fd37cbe8/%2260916e6d012dfb59fd37cbe8%22.realm' to '"60916e6d012dfb59fd37cbe8"'
20:29:06.440240+0400  Sync: Connection[7]: Session[7]: Activating
20:29:06.440271+0400  Sync: Connection[7]: Session[7]: client_reset_config = false, Realm exists = true, async open = false, client reset = false
20:29:06.441660+0400  Sync: Opening Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916e6d012dfb59fd37cbe8/%2260916e6d012dfb59fd37cbe8%22.realm
20:29:06.442261+0400  Sync: Connection[7]: Session[7]: client_file_ident = 2283, client_file_ident_salt =<PHONE_NUMBER>846477990
20:29:06.442294+0400  Sync: Connection[7]: Session[7]: last_version_available  = 18
20:29:06.442314+0400  Sync: Connection[7]: Session[7]: progress_server_version = 1
20:29:06.442334+0400  Sync: Connection[7]: Session[7]: progress_client_version = 0
20:29:06.442356+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916e6d012dfb59fd37cbe8/%2260916e6d012dfb59fd37cbe8%22.realm
20:29:06.442384+0400  Sync: Connection[7]: Session[7]: Progress handler called, downloaded = 1993, downloadable(total) = 1993, uploaded = 0, uploadable = 0, reliable_download_progress = 0, snapshot version = 18
20:29:06.442406+0400  Sync: Connection[8]: WebSocket::Websocket()
20:29:06.444644+0400  Sync: Connection[8]: Session[8]: Binding '/var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609175a34aebc17559a9205e/%22609175a34aebc17559a9205e%22.realm' to '"609175a34aebc17559a9205e"'
20:29:06.445337+0400  Sync: Connection[8]: Session[8]: Activating
20:29:06.445602+0400  Sync: Connection[8]: Session[8]: client_reset_config = false, Realm exists = true, async open = false, client reset = false
20:29:06.446044+0400  Sync: Opening Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609175a34aebc17559a9205e/%22609175a34aebc17559a9205e%22.realm
20:29:06.448793+0400  Sync: Connection[8]: Session[8]: client_file_ident = 2320, client_file_ident_salt =<PHONE_NUMBER>668523156
20:29:06.449350+0400  Sync: Connection[8]: Session[8]: last_version_available  = 11
20:29:06.449467+0400  Sync: Connection[8]: Session[8]: progress_server_version = 7
20:29:06.449595+0400  Sync: Connection[8]: Session[8]: progress_client_version = 10
20:29:06.450108+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609175a34aebc17559a9205e/%22609175a34aebc17559a9205e%22.realm
20:29:06.450538+0400  Sync: Connection[8]: Session[8]: Progress handler called, downloaded = 3513, downloadable(total) = 3513, uploaded = 218, uploadable = 218, reliable_download_progress = 0, snapshot version = 11
20:29:06.450626+0400  Sync: Connection[6]: Resolving 'ws.eu-central-1.aws.realm.mongodb.com:443'
20:29:06.450661+0400  Sync: Connection[7]: Resolving 'ws.eu-central-1.aws.realm.mongodb.com:443'
20:29:06.450690+0400  Sync: Connection[8]: Resolving 'ws.eu-central-1.aws.realm.mongodb.com:443'
20:29:06.452210+0400  Sync: Connection[2]: Connected to endpoint '<IP_ADDRESS>:443' (from '<IP_ADDRESS>:61576')
20:29:06.452673+0400  Sync: Connection[3]: Connected to endpoint '<IP_ADDRESS>:443' (from '<IP_ADDRESS>:61577')
20:29:06.454370+0400  Sync: Connection[6]: Connecting to endpoint '<IP_ADDRESS>:443' (1/1)
20:29:06.456326+0400  Sync: Connection[7]: Connecting to endpoint '<IP_ADDRESS>:443' (1/1)
20:29:06.458024+0400  Sync: Connection[8]: Connecting to endpoint '<IP_ADDRESS>:443' (1/1)
20:29:06.482270+0400  Sync: Connection[1]: WebSocket::handle_http_response_received()
20:29:06.482339+0400  Sync: Connection[1]: HTTP response = HTTP/1.1 101 Switching Protocols
cache-control: no-cache, no-store, must-revalidate
connection: Upgrade
date: Tue, 04 May 2021 16:29:06 GMT
sec-websocket-accept: H7Y2HlWRWr1u1WJj/Pp2DpYbkoY=
sec-websocket-protocol: com.mongodb.realm-sync/2
server: envoy
upgrade: websocket
vary: Origin
x-frame-options: DENY
20:29:06.482378+0400  Sync: Connection[1]: Negotiated protocol version: 2
20:29:06.482404+0400  Sync: Connection[1]: Will emit a ping in 3148 milliseconds
20:29:06.482431+0400  Sync: Connection[1]: Session[1]: Sending: BIND(path='"609147274aebc17559a76b29"', signed_user_token_size=469, need_client_file_ident=0, is_subserver=0)
20:29:06.482511+0400  Sync: Connection[1]: Session[1]: Sending: IDENT(client_file_ident=2270, client_file_ident_salt=434780089828687853, scan_server_version=6898, scan_client_version=14547, latest_server_version=6898, latest_server_version_salt=8935742688973242319)
20:29:06.482540+0400  Sync: Connection[1]: Session[1]: Sending: MARK(request_ident=1)
20:29:06.486030+0400  Sync: Connection[4]: Connected to endpoint '<IP_ADDRESS>:443' (from '<IP_ADDRESS>:61578')
20:29:06.504530+0400  Sync: Connection[5]: Connected to endpoint '<IP_ADDRESS>:443' (from '<IP_ADDRESS>:61579')
20:29:06.528878+0400  Sync: Connection[6]: Connected to endpoint '<IP_ADDRESS>:443' (from '<IP_ADDRESS>:61580')
20:29:06.528977+0400  Sync: Connection[8]: Connected to endpoint '<IP_ADDRESS>:443' (from '<IP_ADDRESS>:61582')
20:29:06.529032+0400  Sync: Connection[7]: Connected to endpoint '<IP_ADDRESS>:443' (from '<IP_ADDRESS>:61581')
20:29:06.628284+0400  Sync: Connection[1]: Download message compression: is_body_compressed = 0, compressed_body_size=0, uncompressed_body_size=0
20:29:06.628345+0400  Sync: Connection[1]: Session[1]: Received: DOWNLOAD(download_server_version=6898, download_client_version=14547, latest_server_version=6898, latest_server_version_salt=8935742688973242319, upload_client_version=14553, upload_server_version=6898, downloadable_bytes=0, num_changesets=0, ...)
20:29:06.628378+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:06.630025+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:06.630082+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14554
20:29:06.630591+0400  Sync: Connection[1]: Session[1]: Received: MARK(request_ident=1)
20:29:06.630622+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:06.630652+0400  Sync: Connection[1]: Session[1]: Sending: UPLOAD(progress_client_version=14554, progress_server_version=6898, locked_server_version=6898, num_changesets=0)
20:29:06.688954+0400  Sync: Connection[2]: WebSocket::initiate_client_handshake()
20:29:06.689048+0400  Sync: Connection[2]: HTTP request =
GET /api/client/v2.0/app/highlight-qjzzw/realm-sync HTTP/1.1
Host: ws.eu-central-1.aws.realm.mongodb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYwOTE3NDZhM2ZjMzJiMzRlZTkwY2NkMiIsImJhYXNfZG9tYWluX2lkIjoiNjA1MzZlMjZhMTE4MTM1OWY5YmMwOTJjIiwiZXhwIjoxNjIwMTQ3MDU4LCJpYXQiOjE2MjAxNDUyNTgsImlzcyI6IjYwOTE3NDZhM2ZjMzJiMzRlZTkwY2NkMyIsInN0aXRjaF9kZXZJZCI6IjYwOTE3NDZhM2ZjMzJiMzRlZTkwY2NkMiIsInN0aXRjaF9kb21haW5JZCI6IjYwNTM2ZTI2YTExODEzNTlmOWJjMDkyYyIsInN1YiI6IjYwOTE3NDY4M2ZjMzJiMzRlZTkwY2NiOSIsInR5cCI6ImFjY2VzcyJ9.zdsbiTXBS4P282k0xlFToftCR5RixI2HPKbyGf-6_og
Connection: Upgrade
Sec-WebSocket-Key: 8Z3Icp9X+L+5XFvCMHQdIQ==
Sec-WebSocket-Protocol: com.mongodb.realm-sync/2
Sec-WebSocket-Version: 13
Upgrade: websocket
User-Agent: RealmSync/10.0.0-beta.11 (iOS Darwin 20.3.0 Darwin Kernel Version 20.3.0: Tue Jan  5 18:34:51 PST 2021; root:xnu-7195.80.35~2/RELEASE_ARM64_T8020 iPhone11,6) RealmObjectiveC/10.7.4 highlight-qjzzw
20:29:06.696078+0400  Sync: Connection[3]: WebSocket::initiate_client_handshake()
20:29:06.696150+0400  Sync: Connection[3]: HTTP request =
GET /api/client/v2.0/app/highlight-qjzzw/realm-sync HTTP/1.1
Host: ws.eu-central-1.aws.realm.mongodb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYwOTE2ZWM2MDEyZGZiNTlmZDM3Y2YxNiIsImJhYXNfZG9tYWluX2lkIjoiNjA1MzZlMjZhMTE4MTM1OWY5YmMwOTJjIiwiZXhwIjoxNjIwMTQ1NjE0LCJpYXQiOjE2MjAxNDM4MTQsImlzcyI6IjYwOTE2ZWM2MDEyZGZiNTlmZDM3Y2YxNyIsInN0aXRjaF9kZXZJZCI6IjYwOTE2ZWM2MDEyZGZiNTlmZDM3Y2YxNiIsInN0aXRjaF9kb21haW5JZCI6IjYwNTM2ZTI2YTExODEzNTlmOWJjMDkyYyIsInN1YiI6IjYwOTE2ZWM2MDEyZGZiNTlmZDM3Y2YxNCIsInR5cCI6ImFjY2VzcyJ9.gvpfK6bKNI04Y2D5UCvAckbh2zHwC-GZz8hfaQULqqk
Connection: Upgrade
Sec-WebSocket-Key: SuDPiM36exP5DZPOx9o1zA==
Sec-WebSocket-Protocol: com.mongodb.realm-sync/2
Sec-WebSocket-Version: 13
Upgrade: websocket
User-Agent: RealmSync/10.0.0-beta.11 (iOS Darwin 20.3.0 Darwin Kernel Version 20.3.0: Tue Jan  5 18:34:51 PST 2021; root:xnu-7195.80.35~2/RELEASE_ARM64_T8020 iPhone11,6) RealmObjectiveC/10.7.4 highlight-qjzzw
20:29:06.731957+0400  Sync: Connection[4]: WebSocket::initiate_client_handshake()
20:29:06.732050+0400  Sync: Connection[4]: HTTP request =
GET /api/client/v2.0/app/highlight-qjzzw/realm-sync HTTP/1.1
Host: ws.eu-central-1.aws.realm.mongodb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYwOTE2ZDczM2ZjMzJiMzRlZTkwODdjNSIsImJhYXNfZG9tYWluX2lkIjoiNjA1MzZlMjZhMTE4MTM1OWY5YmMwOTJjIiwiZXhwIjoxNjIwMTQ3MTU5LCJpYXQiOjE2MjAxNDUzNTksImlzcyI6IjYwOTE2ZDczM2ZjMzJiMzRlZTkwODdjNiIsInN0aXRjaF9kZXZJZCI6IjYwOTE2ZDczM2ZjMzJiMzRlZTkwODdjNSIsInN0aXRjaF9kb21haW5JZCI6IjYwNTM2ZTI2YTExODEzNTlmOWJjMDkyYyIsInN1YiI6IjYwOTE2ZDczM2ZjMzJiMzRlZTkwODdjMyIsInR5cCI6ImFjY2VzcyJ9.Gv58maUxh3vN3JYxTFU8cp_BLU1uZfUs5zznwStoS1I
Connection: Upgrade
Sec-WebSocket-Key: T7p/4dXKQVllPcjQJsx3gA==
Sec-WebSocket-Protocol: com.mongodb.realm-sync/2
Sec-WebSocket-Version: 13
Upgrade: websocket
User-Agent: RealmSync/10.0.0-beta.11 (iOS Darwin 20.3.0 Darwin Kernel Version 20.3.0: Tue Jan  5 18:34:51 PST 2021; root:xnu-7195.80.35~2/RELEASE_ARM64_T8020 iPhone11,6) RealmObjectiveC/10.7.4 highlight-qjzzw
20:29:06.758600+0400  Sync: Connection[5]: WebSocket::initiate_client_handshake()
20:29:06.758696+0400  Sync: Connection[5]: HTTP request =
GET /api/client/v2.0/app/highlight-qjzzw/realm-sync HTTP/1.1
Host: ws.eu-central-1.aws.realm.mongodb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYwOTE2ZTk2NGFlYmMxNzU1OWE4ZGEzOSIsImJhYXNfZG9tYWluX2lkIjoiNjA1MzZlMjZhMTE4MTM1OWY5YmMwOTJjIiwiZXhwIjoxNjIwMTQ3Mzc2LCJpYXQiOjE2MjAxNDU1NzYsImlzcyI6IjYwOTE2ZTk2NGFlYmMxNzU1OWE4ZGEzYSIsInN0aXRjaF9kZXZJZCI6IjYwOTE2ZTk2NGFlYmMxNzU1OWE4ZGEzOSIsInN0aXRjaF9kb21haW5JZCI6IjYwNTM2ZTI2YTExODEzNTlmOWJjMDkyYyIsInN1YiI6IjYwOTE2ZTk2NGFlYmMxNzU1OWE4ZGEzNyIsInR5cCI6ImFjY2VzcyJ9.xSyJlv93UOIqIre-eimL5ON9gTkJ3n_6PBhlVpiIiRk
Connection: Upgrade
Sec-WebSocket-Key: 17JW8T4p37LgHdhbO3WVMg==
Sec-WebSocket-Protocol: com.mongodb.realm-sync/2
Sec-WebSocket-Version: 13
Upgrade: websocket
User-Agent: RealmSync/10.0.0-beta.11 (iOS Darwin 20.3.0 Darwin Kernel Version 20.3.0: Tue Jan  5 18:34:51 PST 2021; root:xnu-7195.80.35~2/RELEASE_ARM64_T8020 iPhone11,6) RealmObjectiveC/10.7.4 highlight-qjzzw
20:29:06.771545+0400  Sync: Connection[6]: WebSocket::initiate_client_handshake()
20:29:06.771643+0400  Sync: Connection[6]: HTTP request =
GET /api/client/v2.0/app/highlight-qjzzw/realm-sync HTTP/1.1
Host: ws.eu-central-1.aws.realm.mongodb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYwOTE3NGNkM2ZjMzJiMzRlZTkwZDAyNiIsImJhYXNfZG9tYWluX2lkIjoiNjA1MzZlMjZhMTE4MTM1OWY5YmMwOTJjIiwiZXhwIjoxNjIwMTQ3MTU3LCJpYXQiOjE2MjAxNDUzNTcsImlzcyI6IjYwOTE3NGNkM2ZjMzJiMzRlZTkwZDAyNyIsInN0aXRjaF9kZXZJZCI6IjYwOTE3NGNkM2ZjMzJiMzRlZTkwZDAyNiIsInN0aXRjaF9kb21haW5JZCI6IjYwNTM2ZTI2YTExODEzNTlmOWJjMDkyYyIsInN1YiI6IjYwOTE3NGNjNGFlYmMxNzU1OWE5MTkzNSIsInR5cCI6ImFjY2VzcyJ9.YuXVmQsimjsWVijFaRN6KsMlipf4HJ87A7QHDtNyp1E
Connection: Upgrade
Sec-WebSocket-Key: GBxepBpq05/vwH3FnTPGQQ==
Sec-WebSocket-Protocol: com.mongodb.realm-sync/2
Sec-WebSocket-Version: 13
Upgrade: websocket
User-Agent: RealmSync/10.0.0-beta.11 (iOS Darwin 20.3.0 Darwin Kernel Version 20.3.0: Tue Jan  5 18:34:51 PST 2021; root:xnu-7195.80.35~2/RELEASE_ARM64_T8020 iPhone11,6) RealmObjectiveC/10.7.4 highlight-qjzzw
20:29:06.780830+0400  Sync: Connection[8]: WebSocket::initiate_client_handshake()
20:29:06.780928+0400  Sync: Connection[8]: HTTP request =
GET /api/client/v2.0/app/highlight-qjzzw/realm-sync HTTP/1.1
Host: ws.eu-central-1.aws.realm.mongodb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYwOTE3NWE2MDEyZGZiNTlmZDM4MTM1MCIsImJhYXNfZG9tYWluX2lkIjoiNjA1MzZlMjZhMTE4MTM1OWY5YmMwOTJjIiwiZXhwIjoxNjIwMTQ3Mzc0LCJpYXQiOjE2MjAxNDU1NzQsImlzcyI6IjYwOTE3NWE2MDEyZGZiNTlmZDM4MTM1MSIsInN0aXRjaF9kZXZJZCI6IjYwOTE3NWE2MDEyZGZiNTlmZDM4MTM1MCIsInN0aXRjaF9kb21haW5JZCI6IjYwNTM2ZTI2YTExODEzNTlmOWJjMDkyYyIsInN1YiI6IjYwOTE3NWEzNGFlYmMxNzU1OWE5MjA1ZSIsInR5cCI6ImFjY2VzcyJ9.gzaUY6o267bmQiJFnYlEJLlDtHO0lWbQ-7r4MJKm5D8
Connection: Upgrade
Sec-WebSocket-Key: oQuoHUQve3JKWQhmKwkrIQ==
Sec-WebSocket-Protocol: com.mongodb.realm-sync/2
Sec-WebSocket-Version: 13
Upgrade: websocket
User-Agent: RealmSync/10.0.0-beta.11 (iOS Darwin 20.3.0 Darwin Kernel Version 20.3.0: Tue Jan  5 18:34:51 PST 2021; root:xnu-7195.80.35~2/RELEASE_ARM64_T8020 iPhone11,6) RealmObjectiveC/10.7.4 highlight-qjzzw
20:29:06.782007+0400  Sync: Connection[7]: WebSocket::initiate_client_handshake()
20:29:06.782377+0400  Sync: Connection[7]: HTTP request =
GET /api/client/v2.0/app/highlight-qjzzw/realm-sync HTTP/1.1
Host: ws.eu-central-1.aws.realm.mongodb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYwOTE2ZTZkMDEyZGZiNTlmZDM3Y2JlZSIsImJhYXNfZG9tYWluX2lkIjoiNjA1MzZlMjZhMTE4MTM1OWY5YmMwOTJjIiwiZXhwIjoxNjIwMTQ3Mzc2LCJpYXQiOjE2MjAxNDU1NzYsImlzcyI6IjYwOTE2ZTZkMDEyZGZiNTlmZDM3Y2JlZiIsInN0aXRjaF9kZXZJZCI6IjYwOTE2ZTZkMDEyZGZiNTlmZDM3Y2JlZSIsInN0aXRjaF9kb21haW5JZCI6IjYwNTM2ZTI2YTExODEzNTlmOWJjMDkyYyIsInN1YiI6IjYwOTE2ZTZkMDEyZGZiNTlmZDM3Y2JlOCIsInR5cCI6ImFjY2VzcyJ9.OVKpob5OKDlqXIoTFVX9Hp2PY8iWLY3PdCTRlDKCCB0
Connection: Upgrade
Sec-WebSocket-Key: 0Hmc0bZB9aql4OdswXgXGA==
Sec-WebSocket-Protocol: com.mongodb.realm-sync/2
Sec-WebSocket-Version: 13
Upgrade: websocket
User-Agent: RealmSync/10.0.0-beta.11 (iOS Darwin 20.3.0 Darwin Kernel Version 20.3.0: Tue Jan  5 18:34:51 PST 2021; root:xnu-7195.80.35~2/RELEASE_ARM64_T8020 iPhone11,6) RealmObjectiveC/10.7.4 highlight-qjzzw
20:29:06.789057+0400  Sync: Connection[3]: WebSocket::handle_http_response_received()
20:29:06.789252+0400  Sync: Connection[3]: HTTP response = HTTP/1.1 401 Unauthorized
cache-control: no-cache, no-store, must-revalidate
connection: close
content-length: 190
content-type: application/json
date: Tue, 04 May 2021 16:29:06 GMT
server: envoy
vary: Origin
x-envoy-max-retries: 0
x-frame-options: DENY
20:29:06.789840+0400  Sync: Connection[3]: Websocket: Expected HTTP response 101 Switching Protocols, but received:
HTTP/1.1 401 Unauthorized
cache-control: no-cache, no-store, must-revalidate
connection: close
content-length: 190
content-type: application/json
date: Tue, 04 May 2021 16:29:06 GMT
server: envoy
vary: Origin
x-envoy-max-retries: 0
x-frame-options: DENY
20:29:06.789962+0400  Sync: Connection[3]: Connection closed due to error
20:29:06.790410+0400  Sync: Connection[3]: Allowing reconnection in 3056207 milliseconds
20:29:06.790439+0400  Sync: Connection[3]: Session[3]: Initiating deactivation
20:29:06.790461+0400  Sync: Connection[3]: Session[3]: Deactivation completed
20:29:06.790485+0400  Sync: Closing Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916ec6012dfb59fd37cf14/%2260916ec6012dfb59fd37cf14%22.realm
20:29:06.790744+0400  Sync: Connection[3]: Destroying connection object
20:29:06.827588+0400  Sync: Connection[2]: WebSocket::handle_http_response_received()
20:29:06.827652+0400  Sync: Connection[2]: HTTP response = HTTP/1.1 101 Switching Protocols
cache-control: no-cache, no-store, must-revalidate
connection: Upgrade
date: Tue, 04 May 2021 16:29:06 GMT
sec-websocket-accept: wT5a7pJeXjWJDjIos5JeslQh834=
sec-websocket-protocol: com.mongodb.realm-sync/2
server: envoy
upgrade: websocket
vary: Origin
x-frame-options: DENY
20:29:06.827690+0400  Sync: Connection[2]: Negotiated protocol version: 2
20:29:06.827714+0400  Sync: Connection[2]: Will emit a ping in 15759 milliseconds
20:29:06.827742+0400  Sync: Connection[2]: Session[2]: Sending: BIND(path='"609174683fc32b34ee90ccb9"', signed_user_token_size=469, need_client_file_ident=0, is_subserver=0)
20:29:06.827818+0400  Sync: Connection[2]: Session[2]: Sending: IDENT(client_file_ident=2306, client_file_ident_salt=274058902900544441, scan_server_version=10, scan_client_version=16, latest_server_version=10, latest_server_version_salt=527416150265325266)
20:29:06.827847+0400  Sync: Connection[2]: Session[2]: Sending: MARK(request_ident=1)
20:29:06.834116+0400  Sync: Connection[4]: WebSocket::handle_http_response_received()
20:29:06.834173+0400  Sync: Connection[4]: HTTP response = HTTP/1.1 101 Switching Protocols
cache-control: no-cache, no-store, must-revalidate
connection: Upgrade
date: Tue, 04 May 2021 16:29:06 GMT
sec-websocket-accept: Jfeb3qsMVMtEKWQZPSLNawukBDE=
sec-websocket-protocol: com.mongodb.realm-sync/2
server: envoy
upgrade: websocket
vary: Origin
x-frame-options: DENY
20:29:06.834207+0400  Sync: Connection[4]: Negotiated protocol version: 2
20:29:06.834233+0400  Sync: Connection[4]: Will emit a ping in 15455 milliseconds
20:29:06.834269+0400  Sync: Connection[4]: Session[4]: Sending: BIND(path='"60916d733fc32b34ee9087c3"', signed_user_token_size=469, need_client_file_ident=0, is_subserver=0)
20:29:06.834334+0400  Sync: Connection[4]: Session[4]: Sending: IDENT(client_file_ident=2276, client_file_ident_salt=5636269455276122135, scan_server_version=7, scan_client_version=12, latest_server_version=7, latest_server_version_salt=3638892136204629087)
20:29:06.834371+0400  Sync: Connection[4]: Session[4]: Sending: MARK(request_ident=1)
20:29:06.874379+0400  Sync: Connection[8]: WebSocket::handle_http_response_received()
20:29:06.874599+0400  Sync: Connection[8]: HTTP response = HTTP/1.1 101 Switching Protocols
cache-control: no-cache, no-store, must-revalidate
connection: Upgrade
date: Tue, 04 May 2021 16:29:06 GMT
sec-websocket-accept: iUpzKVMbwSaG871/vr8d6jOkFzM=
sec-websocket-protocol: com.mongodb.realm-sync/2
server: envoy
upgrade: websocket
vary: Origin
x-frame-options: DENY
20:29:06.875247+0400  Sync: Connection[8]: Negotiated protocol version: 2
20:29:06.875538+0400  Sync: Connection[8]: Will emit a ping in 42569 milliseconds
20:29:06.875906+0400  Sync: Connection[8]: Session[8]: Sending: BIND(path='"609175a34aebc17559a9205e"', signed_user_token_size=469, need_client_file_ident=0, is_subserver=0)
20:29:06.876498+0400  Sync: Connection[6]: WebSocket::handle_http_response_received()
20:29:06.876729+0400  Sync: Connection[6]: HTTP response = HTTP/1.1 101 Switching Protocols
cache-control: no-cache, no-store, must-revalidate
connection: Upgrade
date: Tue, 04 May 2021 16:29:06 GMT
sec-websocket-accept: ldaJzwn0aiyc0yvkmPlEbE9hCgU=
sec-websocket-protocol: com.mongodb.realm-sync/2
server: envoy
upgrade: websocket
vary: Origin
x-frame-options: DENY
20:29:06.877229+0400  Sync: Connection[6]: Negotiated protocol version: 2
20:29:06.877275+0400  Sync: Connection[6]: Will emit a ping in 14611 milliseconds
20:29:06.877303+0400  Sync: Connection[6]: Session[6]: Sending: BIND(path='"609174cc4aebc17559a91935"', signed_user_token_size=469, need_client_file_ident=0, is_subserver=0)
20:29:06.877392+0400  Sync: Connection[8]: Session[8]: Sending: IDENT(client_file_ident=2320, client_file_ident_salt=3633383769668523156, scan_server_version=7, scan_client_version=10, latest_server_version=7, latest_server_version_salt=4669953426277203762)
20:29:06.877438+0400  Sync: Connection[6]: Session[6]: Sending: IDENT(client_file_ident=2313, client_file_ident_salt=7287576084571732930, scan_server_version=12, scan_client_version=18, latest_server_version=12, latest_server_version_salt=2613362702358953122)
20:29:06.877465+0400  Sync: Connection[8]: Session[8]: Sending: MARK(request_ident=1)
20:29:06.877488+0400  Sync: Connection[6]: Session[6]: Sending: MARK(request_ident=1)
20:29:06.884637+0400  Sync: Connection[5]: WebSocket::handle_http_response_received()
20:29:06.884711+0400  Sync: Connection[5]: HTTP response = HTTP/1.1 101 Switching Protocols
cache-control: no-cache, no-store, must-revalidate
connection: Upgrade
date: Tue, 04 May 2021 16:29:06 GMT
sec-websocket-accept: HskZ4UH4OcQmPgX8FqRwawY+2FU=
sec-websocket-protocol: com.mongodb.realm-sync/2
server: envoy
upgrade: websocket
vary: Origin
x-frame-options: DENY
20:29:06.884744+0400  Sync: Connection[5]: Negotiated protocol version: 2
20:29:06.884768+0400  Sync: Connection[5]: Will emit a ping in 9522 milliseconds
20:29:06.884795+0400  Sync: Connection[5]: Session[5]: Sending: BIND(path='"60916e964aebc17559a8da37"', signed_user_token_size=469, need_client_file_ident=0, is_subserver=0)
20:29:06.884874+0400  Sync: Connection[5]: Session[5]: Sending: IDENT(client_file_ident=2289, client_file_ident_salt=7957009319554673163, scan_server_version=1, scan_client_version=0, latest_server_version=1, latest_server_version_salt=3618254129478607095)
20:29:06.884901+0400  Sync: Connection[5]: Session[5]: Sending: MARK(request_ident=1)
20:29:06.922757+0400  Sync: Connection[7]: WebSocket::handle_http_response_received()
20:29:06.922824+0400  Sync: Connection[7]: HTTP response = HTTP/1.1 101 Switching Protocols
cache-control: no-cache, no-store, must-revalidate
connection: Upgrade
date: Tue, 04 May 2021 16:29:06 GMT
sec-websocket-accept: J3TmSLtwwWR15Mlm/KoREiG1evU=
sec-websocket-protocol: com.mongodb.realm-sync/2
server: envoy
upgrade: websocket
vary: Origin
x-frame-options: DENY
20:29:06.922869+0400  Sync: Connection[7]: Negotiated protocol version: 2
20:29:06.922894+0400  Sync: Connection[7]: Will emit a ping in 10414 milliseconds
20:29:06.922923+0400  Sync: Connection[7]: Session[7]: Sending: BIND(path='"60916e6d012dfb59fd37cbe8"', signed_user_token_size=469, need_client_file_ident=0, is_subserver=0)
20:29:06.923001+0400  Sync: Connection[7]: Session[7]: Sending: IDENT(client_file_ident=2283, client_file_ident_salt=1337531422846477990, scan_server_version=1, scan_client_version=0, latest_server_version=1, latest_server_version_salt=3644307695047166440)
20:29:06.923030+0400  Sync: Connection[7]: Session[7]: Sending: MARK(request_ident=1)
20:29:06.967801+0400  Sync: Connection[2]: Download message compression: is_body_compressed = 0, compressed_body_size=0, uncompressed_body_size=0
20:29:06.968392+0400  Sync: Connection[2]: Session[2]: Received: DOWNLOAD(download_server_version=10, download_client_version=16, latest_server_version=10, latest_server_version_salt=527416150265325266, upload_client_version=21, upload_server_version=10, downloadable_bytes=0, num_changesets=0, ...)
20:29:06.968458+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174683fc32b34ee90ccb9/%22609174683fc32b34ee90ccb9%22.realm
20:29:06.969216+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174683fc32b34ee90ccb9/%22609174683fc32b34ee90ccb9%22.realm
20:29:06.969253+0400  Sync: Connection[2]: Session[2]: Progress handler called, downloaded = 4273, downloadable(total) = 4273, uploaded = 327, uploadable = 327, reliable_download_progress = 1, snapshot version = 22
20:29:06.971094+0400  Sync: Connection[2]: Session[2]: Received: MARK(request_ident=1)
20:29:06.971250+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174683fc32b34ee90ccb9/%22609174683fc32b34ee90ccb9%22.realm
20:29:06.971962+0400  Sync: Connection[2]: Session[2]: Sending: UPLOAD(progress_client_version=22, progress_server_version=10, locked_server_version=10, num_changesets=0)
20:29:06.972128+0400  Sync: Connection[2]: Session[2]: Initiating deactivation
20:29:06.972161+0400  Sync: Connection[2]: Session[2]: Sending: UNBIND
20:29:06.972191+0400  Sync: Closing Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174683fc32b34ee90ccb9/%22609174683fc32b34ee90ccb9%22.realm
20:29:06.972381+0400  Sync: Connection[2]: Session[2]: Deactivation completed
20:29:06.973324+0400  Sync: Connection[2]: Allowing reconnection in 394 milliseconds
20:29:06.973678+0400  Sync: Connection[2]: Disconnected
20:29:06.973859+0400  Sync: Connection[2]: Destroying connection object
20:29:07.014240+0400  Sync: Connection[4]: Download message compression: is_body_compressed = 0, compressed_body_size=0, uncompressed_body_size=0
20:29:07.014448+0400  Sync: Connection[4]: Session[4]: Received: DOWNLOAD(download_server_version=7, download_client_version=12, latest_server_version=7, latest_server_version_salt=3638892136204629087, upload_client_version=29, upload_server_version=7, downloadable_bytes=0, num_changesets=0, ...)
20:29:07.015024+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916d733fc32b34ee9087c3/%2260916d733fc32b34ee9087c3%22.realm
20:29:07.016577+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916d733fc32b34ee9087c3/%2260916d733fc32b34ee9087c3%22.realm
20:29:07.016832+0400  Sync: Connection[4]: Session[4]: Progress handler called, downloaded = 3513, downloadable(total) = 3513, uploaded = 218, uploadable = 218, reliable_download_progress = 1, snapshot version = 30
20:29:07.017370+0400  Sync: Connection[4]: Session[4]: Received: MARK(request_ident=1)
20:29:07.017485+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916d733fc32b34ee9087c3/%2260916d733fc32b34ee9087c3%22.realm
20:29:07.017808+0400  Sync: Connection[4]: Session[4]: Sending: UPLOAD(progress_client_version=30, progress_server_version=7, locked_server_version=7, num_changesets=0)
20:29:07.018619+0400  Sync: Connection[4]: Session[4]: Initiating deactivation
20:29:07.018793+0400  Sync: Connection[4]: Session[4]: Sending: UNBIND
20:29:07.019026+0400  Sync: Closing Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916d733fc32b34ee9087c3/%2260916d733fc32b34ee9087c3%22.realm
20:29:07.020099+0400  Sync: Connection[4]: Session[4]: Deactivation completed
20:29:07.020588+0400  Sync: Connection[4]: Allowing reconnection in 272 milliseconds
20:29:07.020741+0400  Sync: Connection[4]: Disconnected
20:29:07.020825+0400  Sync: Connection[4]: Destroying connection object
20:29:07.031191+0400  Sync: Connection[5]: Download message compression: is_body_compressed = 0, compressed_body_size=0, uncompressed_body_size=0
20:29:07.031430+0400  Sync: Connection[5]: Session[5]: Received: DOWNLOAD(download_server_version=1, download_client_version=0, latest_server_version=1, latest_server_version_salt=3618254129478607095, upload_client_version=17, upload_server_version=1, downloadable_bytes=0, num_changesets=0, ...)
20:29:07.031562+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916e964aebc17559a8da37/%2260916e964aebc17559a8da37%22.realm
20:29:07.033519+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916e964aebc17559a8da37/%2260916e964aebc17559a8da37%22.realm
20:29:07.033779+0400  Sync: Connection[5]: Session[5]: Progress handler called, downloaded = 1993, downloadable(total) = 1993, uploaded = 0, uploadable = 0, reliable_download_progress = 1, snapshot version = 18
20:29:07.033922+0400  Sync: Connection[5]: Session[5]: Initiating deactivation
20:29:07.034348+0400  Sync: Connection[5]: Session[5]: Sending: UNBIND
20:29:07.034915+0400  Sync: Closing Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916e964aebc17559a8da37/%2260916e964aebc17559a8da37%22.realm
20:29:07.035660+0400  Sync: Connection[5]: Session[5]: Deactivation completed
20:29:07.036202+0400  Sync: Connection[5]: Allowing reconnection in 253 milliseconds
20:29:07.036409+0400  Sync: Connection[5]: Disconnected
20:29:07.036485+0400  Sync: Connection[5]: Destroying connection object
20:29:07.062702+0400  Sync: Connection[8]: Download message compression: is_body_compressed = 0, compressed_body_size=0, uncompressed_body_size=0
20:29:07.063360+0400  Sync: Connection[8]: Session[8]: Received: DOWNLOAD(download_server_version=7, download_client_version=10, latest_server_version=7, latest_server_version_salt=4669953426277203762, upload_client_version=11, upload_server_version=7, downloadable_bytes=0, num_changesets=0, ...)
20:29:07.064899+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609175a34aebc17559a9205e/%22609175a34aebc17559a9205e%22.realm
20:29:07.065545+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609175a34aebc17559a9205e/%22609175a34aebc17559a9205e%22.realm
20:29:07.065621+0400  Sync: Connection[8]: Session[8]: Progress handler called, downloaded = 3513, downloadable(total) = 3513, uploaded = 218, uploadable = 218, reliable_download_progress = 1, snapshot version = 12
20:29:07.065668+0400  Sync: Connection[6]: Download message compression: is_body_compressed = 0, compressed_body_size=0, uncompressed_body_size=0
20:29:07.065698+0400  Sync: Connection[6]: Session[6]: Received: DOWNLOAD(download_server_version=12, download_client_version=18, latest_server_version=12, latest_server_version_salt=2613362702358953122, upload_client_version=19, upload_server_version=12, downloadable_bytes=0, num_changesets=0, ...)
20:29:07.065729+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174cc4aebc17559a91935/%22609174cc4aebc17559a91935%22.realm
20:29:07.068088+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174cc4aebc17559a91935/%22609174cc4aebc17559a91935%22.realm
20:29:07.068542+0400  Sync: Connection[6]: Session[6]: Progress handler called, downloaded = 4872, downloadable(total) = 4872, uploaded = 436, uploadable = 436, reliable_download_progress = 1, snapshot version = 20
20:29:07.069229+0400  Sync: Connection[8]: Session[8]: Received: MARK(request_ident=1)
20:29:07.069433+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609175a34aebc17559a9205e/%22609175a34aebc17559a9205e%22.realm
20:29:07.070078+0400  Sync: Connection[8]: Session[8]: Sending: UPLOAD(progress_client_version=12, progress_server_version=7, locked_server_version=7, num_changesets=0)
20:29:07.070743+0400  Sync: Connection[6]: Session[6]: Received: MARK(request_ident=1)
20:29:07.070997+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174cc4aebc17559a91935/%22609174cc4aebc17559a91935%22.realm
20:29:07.071357+0400  Sync: Connection[6]: Session[6]: Sending: UPLOAD(progress_client_version=20, progress_server_version=12, locked_server_version=12, num_changesets=0)
20:29:07.072144+0400  Sync: Connection[8]: Session[8]: Initiating deactivation
20:29:07.072686+0400  Sync: Connection[8]: Session[8]: Sending: UNBIND
20:29:07.072883+0400  Sync: Closing Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609175a34aebc17559a9205e/%22609175a34aebc17559a9205e%22.realm
20:29:07.073983+0400  Sync: Connection[6]: Session[6]: Initiating deactivation
20:29:07.074550+0400  Sync: Connection[6]: Session[6]: Sending: UNBIND
20:29:07.074750+0400  Sync: Closing Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174cc4aebc17559a91935/%22609174cc4aebc17559a91935%22.realm
20:29:07.075790+0400  Sync: Connection[8]: Session[8]: Deactivation completed
20:29:07.076256+0400  Sync: Connection[8]: Allowing reconnection in 187 milliseconds
20:29:07.076473+0400  Sync: Connection[8]: Disconnected
20:29:07.076907+0400  Sync: Connection[6]: Session[6]: Deactivation completed
20:29:07.077635+0400  Sync: Connection[6]: Allowing reconnection in 293 milliseconds
20:29:07.078333+0400  Sync: Connection[6]: Disconnected
20:29:07.078428+0400  Sync: Connection[8]: Destroying connection object
20:29:07.078515+0400  Sync: Connection[6]: Destroying connection object
20:29:07.079309+0400  Sync: Connection[7]: Download message compression: is_body_compressed = 0, compressed_body_size=0, uncompressed_body_size=0
20:29:07.079523+0400  Sync: Connection[7]: Session[7]: Received: DOWNLOAD(download_server_version=1, download_client_version=0, latest_server_version=1, latest_server_version_salt=3644307695047166440, upload_client_version=18, upload_server_version=1, downloadable_bytes=0, num_changesets=0, ...)
20:29:07.080036+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916e6d012dfb59fd37cbe8/%2260916e6d012dfb59fd37cbe8%22.realm
20:29:07.081598+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916e6d012dfb59fd37cbe8/%2260916e6d012dfb59fd37cbe8%22.realm
20:29:07.081674+0400  Sync: Connection[7]: Session[7]: Progress handler called, downloaded = 1993, downloadable(total) = 1993, uploaded = 0, uploadable = 0, reliable_download_progress = 1, snapshot version = 19
20:29:07.081734+0400  Sync: Connection[7]: Session[7]: Received: MARK(request_ident=1)
20:29:07.081760+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916e6d012dfb59fd37cbe8/%2260916e6d012dfb59fd37cbe8%22.realm
20:29:07.081789+0400  Sync: Connection[7]: Session[7]: Sending: UPLOAD(progress_client_version=19, progress_server_version=1, locked_server_version=1, num_changesets=0)
20:29:07.081913+0400  Sync: Connection[7]: Session[7]: Initiating deactivation
20:29:07.081938+0400  Sync: Connection[7]: Session[7]: Sending: UNBIND
20:29:07.081965+0400  Sync: Closing Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916e6d012dfb59fd37cbe8/%2260916e6d012dfb59fd37cbe8%22.realm
20:29:07.086868+0400  Sync: Connection[9]: WebSocket::Websocket()
20:29:07.087420+0400  Sync: Connection[9]: Session[9]: Binding '/var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916ec6012dfb59fd37cf14/%2260916ec6012dfb59fd37cf14%22.realm' to '"60916ec6012dfb59fd37cf14"'
20:29:07.087472+0400  Sync: Connection[9]: Session[9]: Activating
20:29:07.087513+0400  Sync: Connection[9]: Session[9]: client_reset_config = false, Realm exists = true, async open = false, client reset = false
20:29:07.087538+0400  Sync: Opening Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916ec6012dfb59fd37cf14/%2260916ec6012dfb59fd37cf14%22.realm
20:29:07.088155+0400  Sync: Connection[9]: Session[9]: client_file_ident = 2296, client_file_ident_salt =<PHONE_NUMBER>551219957
20:29:07.088188+0400  Sync: Connection[9]: Session[9]: last_version_available  = 21
20:29:07.088209+0400  Sync: Connection[9]: Session[9]: progress_server_version = 5
20:29:07.088229+0400  Sync: Connection[9]: Session[9]: progress_client_version = 9
20:29:07.088250+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916ec6012dfb59fd37cf14/%2260916ec6012dfb59fd37cf14%22.realm
20:29:07.088279+0400  Sync: Connection[9]: Session[9]: Progress handler called, downloaded = 2892, downloadable(total) = 2892, uploaded = 109, uploadable = 109, reliable_download_progress = 0, snapshot version = 21
20:29:07.088302+0400  Sync: Connection[7]: Session[7]: Deactivation completed
20:29:07.088407+0400  Sync: Connection[7]: Allowing reconnection in 293 milliseconds
20:29:07.090692+0400  Sync: Connection[7]: Disconnected
20:29:07.090728+0400  Sync: Connection[9]: Resolving 'ws.eu-central-1.aws.realm.mongodb.com:443'
20:29:07.090756+0400  Sync: Connection[7]: Destroying connection object
20:29:07.092580+0400  Sync: Connection[9]: Connecting to endpoint '<IP_ADDRESS>:443' (1/1)
20:29:07.158160+0400  Sync: Connection[9]: Connected to endpoint '<IP_ADDRESS>:443' (from '<IP_ADDRESS>:61583')
20:29:07.398533+0400  Sync: Connection[9]: WebSocket::initiate_client_handshake()
20:29:07.399231+0400  Sync: Connection[9]: HTTP request =
GET /api/client/v2.0/app/highlight-qjzzw/realm-sync HTTP/1.1
Host: ws.eu-central-1.aws.realm.mongodb.com
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYwOTE2ZWM2MDEyZGZiNTlmZDM3Y2YxNiIsImJhYXNfZG9tYWluX2lkIjoiNjA1MzZlMjZhMTE4MTM1OWY5YmMwOTJjIiwiZXhwIjoxNjIwMTQ3NTQ3LCJpYXQiOjE2MjAxNDU3NDcsImlzcyI6IjYwOTE2ZWM2MDEyZGZiNTlmZDM3Y2YxNyIsInN0aXRjaF9kZXZJZCI6IjYwOTE2ZWM2MDEyZGZiNTlmZDM3Y2YxNiIsInN0aXRjaF9kb21haW5JZCI6IjYwNTM2ZTI2YTExODEzNTlmOWJjMDkyYyIsInN1YiI6IjYwOTE2ZWM2MDEyZGZiNTlmZDM3Y2YxNCIsInR5cCI6ImFjY2VzcyJ9.0axZGMZD9-4yNRj5AL6A_FC6ht1S3gMaeitlG6A4oaQ
Connection: Upgrade
Sec-WebSocket-Key: hF7OxyFB1PAqOT8vFDhYGw==
Sec-WebSocket-Protocol: com.mongodb.realm-sync/2
Sec-WebSocket-Version: 13
Upgrade: websocket
User-Agent: RealmSync/10.0.0-beta.11 (iOS Darwin 20.3.0 Darwin Kernel Version 20.3.0: Tue Jan  5 18:34:51 PST 2021; root:xnu-7195.80.35~2/RELEASE_ARM64_T8020 iPhone11,6) RealmObjectiveC/10.7.4 highlight-qjzzw
20:29:07.536839+0400  Sync: Connection[9]: WebSocket::handle_http_response_received()
20:29:07.537112+0400  Sync: Connection[9]: HTTP response = HTTP/1.1 101 Switching Protocols
cache-control: no-cache, no-store, must-revalidate
connection: Upgrade
date: Tue, 04 May 2021 16:29:07 GMT
sec-websocket-accept: JzmUHViQxBNpiccMMHmxygXbBsE=
sec-websocket-protocol: com.mongodb.realm-sync/2
server: envoy
upgrade: websocket
vary: Origin
x-frame-options: DENY
20:29:07.537788+0400  Sync: Connection[9]: Negotiated protocol version: 2
20:29:07.538105+0400  Sync: Connection[9]: Will emit a ping in 33287 milliseconds
20:29:07.538467+0400  Sync: Connection[9]: Session[9]: Sending: BIND(path='"60916ec6012dfb59fd37cf14"', signed_user_token_size=469, need_client_file_ident=0, is_subserver=0)
20:29:07.538857+0400  Sync: Connection[9]: Session[9]: Sending: IDENT(client_file_ident=2296, client_file_ident_salt=7364131932551219957, scan_server_version=5, scan_client_version=9, latest_server_version=5, latest_server_version_salt=5204465900715061690)
20:29:07.539338+0400  Sync: Connection[9]: Session[9]: Sending: MARK(request_ident=1)
20:29:07.690201+0400 App[11312:5855015] AVDRegister - AppleAVD HEVC codec registered
20:29:07.691323+0400 App[11312:5855015] AVDRegister - AppleAVD H264 codec registered
20:29:07.691818+0400 App[11312:5855015] AVDRegister - AppleAVD Leghorn codec registered
20:29:07.696497+0400  Sync: Connection[9]: Download message compression: is_body_compressed = 0, compressed_body_size=0, uncompressed_body_size=0
20:29:07.696960+0400  Sync: Connection[9]: Session[9]: Received: DOWNLOAD(download_server_version=5, download_client_version=9, latest_server_version=5, latest_server_version_salt=5204465900715061690, upload_client_version=21, upload_server_version=5, downloadable_bytes=0, num_changesets=0, ...)
20:29:07.697240+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916ec6012dfb59fd37cf14/%2260916ec6012dfb59fd37cf14%22.realm
20:29:07.773727+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916ec6012dfb59fd37cf14/%2260916ec6012dfb59fd37cf14%22.realm
20:29:07.773807+0400  Sync: Connection[9]: Session[9]: Progress handler called, downloaded = 2892, downloadable(total) = 2892, uploaded = 109, uploadable = 109, reliable_download_progress = 1, snapshot version = 22
20:29:07.773877+0400  Sync: Connection[9]: Session[9]: Received: MARK(request_ident=1)
20:29:07.773911+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916ec6012dfb59fd37cf14/%2260916ec6012dfb59fd37cf14%22.realm
20:29:07.773959+0400  Sync: Connection[9]: Session[9]: Sending: UPLOAD(progress_client_version=22, progress_server_version=5, locked_server_version=5, num_changesets=0)
20:29:09.607224+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:09.607450+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14554
20:29:09.607573+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:09.607690+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14554
20:29:09.630924+0400  Sync: Connection[1]: Sending: PING(timestamp=981407281, rtt=0)
20:29:09.678566+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:09.678790+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14554
20:29:09.679199+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:09.679250+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14554
20:29:09.695877+0400  Sync: Connection[1]: Received: PONG(timestamp=981407281)
20:29:09.696074+0400  Sync: Connection[1]: Round trip time was 65 milliseconds
20:29:09.696161+0400  Sync: Connection[1]: Will emit a ping in 57612 milliseconds
20:29:09.737331+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:09.737426+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14554
20:29:13.056197+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.056313+0400  Sync: Connection[1]: Session[1]: Sending: UPLOAD(progress_client_version=14555, progress_server_version=6898, locked_server_version=6898, num_changesets=0)
20:29:13.056520+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.056577+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14555
20:29:13.056613+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.056651+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14555
20:29:13.059277+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.059345+0400  Sync: Connection[1]: Session[1]: Sending: UPLOAD(progress_client_version=14556, progress_server_version=6898, locked_server_version=6898, num_changesets=0)
20:29:13.059391+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.059428+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14556
20:29:13.059650+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.059693+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14556
20:29:13.061922+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.061989+0400  Sync: Connection[1]: Session[1]: Sending: UPLOAD(progress_client_version=14557, progress_server_version=6898, locked_server_version=6898, num_changesets=0)
20:29:13.062030+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.062063+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14557
20:29:13.062280+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.062328+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14557
20:29:13.064630+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.064693+0400  Sync: Connection[1]: Session[1]: Sending: UPLOAD(progress_client_version=14558, progress_server_version=6898, locked_server_version=6898, num_changesets=0)
20:29:13.064737+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.064775+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14558
20:29:13.064974+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.065053+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14558
20:29:13.067378+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.067438+0400  Sync: Connection[1]: Session[1]: Sending: UPLOAD(progress_client_version=14559, progress_server_version=6898, locked_server_version=6898, num_changesets=0)
20:29:13.067482+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.067576+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14559
20:29:13.067612+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.067645+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14559
20:29:13.070049+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.070231+0400  Sync: Connection[1]: Session[1]: Sending: UPLOAD(progress_client_version=14560, progress_server_version=6898, locked_server_version=6898, num_changesets=0)
20:29:13.070430+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.070862+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14560
20:29:13.071163+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.071478+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606071, reliable_download_progress = 1, snapshot version = 14560
20:29:13.079694+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.079912+0400  Sync: Connection[1]: Session[1]: Sending: UPLOAD(progress_client_version=14561, progress_server_version=6898, locked_server_version=6898, num_changesets=1)
20:29:13.079967+0400  Sync: Connection[1]: Session[1]: Fetching changeset for upload (client_version=14561, server_version=6898, changeset_size=85, origin_timestamp=200075353077, origin_file_ident=0)
20:29:13.080014+0400  Sync: Connection[1]: Session[1]: Changeset: 3F 00 04 55 73 65 72 3F 01 31 75 73 34 66 73 52 6D 53 4A 47 63 66 77 50 4D 72 36 51 50 52 70 42 72 69 5F 75 73 73 5A 79 43 77 70 75 61 53 53 65 36 73 45 65 6F 56 72 57 63 52 33 3F 02 0E 6D 65 64 69 61 4B 65 70 74 43 6F 75 6E 74 04 00 03 01 02 00 01 02 00
20:29:13.080131+0400  Sync: Connection[1]: Session[1]: Upload compaction: original size = 85, compacted size = 85
20:29:13.080204+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.080250+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606156, reliable_download_progress = 1, snapshot version = 14561
20:29:13.080274+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609147274aebc17559a76b29/%22609147274aebc17559a76b29%22.realm
20:29:13.080953+0400  Sync: Connection[1]: Session[1]: Progress handler called, downloaded = 3308, downloadable(total) = 3308, uploaded = 1606071, uploadable = 1606156, reliable_download_progress = 1, snapshot version = 14561
20:29:13.132311+0400  Sync: Connection[10]: WebSocket::Websocket()
20:29:13.132383+0400  Sync: Connection[10]: Session[10]: Binding '/var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174683fc32b34ee90ccb9/%22609174683fc32b34ee90ccb9%22.realm' to '"609174683fc32b34ee90ccb9"'
20:29:13.132411+0400  Sync: Connection[10]: Session[10]: Activating
20:29:13.132451+0400  Sync: Connection[10]: Session[10]: client_reset_config = false, Realm exists = true, async open = false, client reset = false
20:29:13.132476+0400  Sync: Opening Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174683fc32b34ee90ccb9/%22609174683fc32b34ee90ccb9%22.realm
20:29:13.132956+0400  Sync: Connection[10]: Session[10]: client_file_ident = 2306, client_file_ident_salt =<PHONE_NUMBER>00544441
20:29:13.133209+0400  Sync: Connection[10]: Session[10]: last_version_available  = 22
20:29:13.133430+0400  Sync: Connection[10]: Session[10]: progress_server_version = 10
20:29:13.133591+0400  Sync: Connection[10]: Session[10]: progress_client_version = 16
20:29:13.133716+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174683fc32b34ee90ccb9/%22609174683fc32b34ee90ccb9%22.realm
20:29:13.133834+0400  Sync: Connection[10]: Session[10]: Progress handler called, downloaded = 4273, downloadable(total) = 4273, uploaded = 327, uploadable = 327, reliable_download_progress = 0, snapshot version = 22
20:29:13.133944+0400  Sync: Using already open Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/609174683fc32b34ee90ccb9/%22609174683fc32b34ee90ccb9%22.realm
20:29:13.134032+0400  Sync: Connection[10]: Session[10]: Progress handler called, downloaded = 4273, downloadable(total) = 4273, uploaded = 327, uploadable = 327, reliable_download_progress = 0, snapshot version = 22
20:29:13.134161+0400  Sync: Connection[10]: Resolving 'ws.eu-central-1.aws.realm.mongodb.com:443'
20:29:13.134269+0400  Sync: Connection[11]: WebSocket::Websocket()
20:29:13.134993+0400  Sync: Connection[11]: Session[11]: Binding '/var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916ec6012dfb59fd37cf14/%2260916ec6012dfb59fd37cf14%22.realm' to '"60916ec6012dfb59fd37cf14"'
20:29:13.136094+0400  Sync: Connection[11]: Session[11]: Activating
20:29:13.136238+0400  Sync: Connection[11]: Session[11]: client_reset_config = false, Realm exists = true, async open = false, client reset = false
20:29:13.137067+0400  Sync: Opening Realm file: /var/mobile/Containers/Data/Application/2DEFB032-C19B-421B-BD46-4D324257D800/Documents/mongodb-realm/highlight-qjzzw/60916ec6012dfb59fd37cf14/%2260916ec6012dfb59fd37cf14%22.realm
libc++abi.dylib: terminating with uncaught exception of type realm::MultipleSyncAgents: Multiple sync agents attempted to join the same session
Exception backtrace:
0   Realm                               0x0000000101907970 _ZN5realm2DB7do_openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEbbNS_9DBOptionsE + 6860
1   Realm                               0x00000001019095ac _ZN5realm2DB4openERNS_11ReplicationENS_9DBOptionsE + 140
2   Realm                               0x000000010190e17c _ZN5realm2DB6createERNS_11ReplicationENS_9DBOptionsE + 288
3   Realm                               0x0000000101ad4c0c _ZN5realm5_impl21ClientFileAccessCache4Slot4openEv + 424
4   Realm                               0x0000000101ab0a14 _ZN12_GLOBAL__N_111SessionImpl12access_realmEv + 28
5   Realm                               0x0000000101adf244 _ZN5realm5_impl14ClientImplBase7Session8activateEv + 604
6   Realm                               0x0000000101adeee0 _ZN5realm5_impl14ClientImplBase10Connection16activate_sessionENSt3__110unique_ptrINS1_7SessionENS3_14default_deleteIS5_EEEE + 244
7   Realm                               0x0000000101aad040 _ZN5realm4util7network7Trigger8ExecOperIZN12_GLOBAL__N_110ClientImplC1ENS_4sync6Client6ConfigEEUlvE_E19recycle_and_executeEv + 2104
8   Realm                               0x0000000101b23f34 _ZN5realm4util7network7Service4Impl3runEv + 404
9   Realm                               0x0000000101aa7af4 _ZN5realm4sync6Client3runEv + 36
10  Realm                               0x0000000101c1a9fc ZNSt3__114__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN5realm5_impl10SyncClientC1ENS2_INS7_4util6LoggerENS4_ISB_EEEERKNS7_16SyncClientConfigENS_10shared_ptrIKNS7_11SyncManagerEEEEUlvE0_EEEEEPvSN + 44
11  libsystem_pthread.dylib             0x00000001d5e93cb0 _pthread_start + 320
12  libsystem_pthread.dylib             0x00000001d5e9c778 thread_start + 8
terminating with uncaught exception of type realm::MultipleSyncAgents: Multiple sync agents attempted to join the same session
Exception backtrace:
0   Realm                               0x0000000101907970 _ZN5realm2DB7do_openERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEbbNS_9DBOptionsE + 6860
1   Realm                               0x00000001019095ac _ZN5realm2DB4openERNS_11ReplicationENS_9DBOptionsE + 140
2   Realm                               0x000000010190e17c _ZN5realm2DB6createERNS_11ReplicationENS_9DBOptionsE + 288
3   Realm                               0x0000000101ad4c0c _ZN5realm5_impl21ClientFileAccessCache4Slot4openEv + 424
4   Realm                               0x0000000101ab0a14 _ZN12_GLOBAL__N_111SessionImpl12access_realmEv + 28
5   Realm                               0x0000000101adf244 _ZN5realm5_impl14ClientImplBase7Session8activateEv + 604
6   Realm                               0x0000000101adeee0 _ZN5realm5_impl14ClientImplBase10Connection16activate_sessionENSt3__110unique_ptrINS1_7SessionENS3_14default_deleteIS5_EEEE + 244
7   Realm                               0x0000000101aad040 _ZN5realm4util7network7Trigger8ExecOperIZN12_GLOBAL__N_110ClientImplC1ENS_4sync6Client6ConfigEEUlvE_E19recycle_and_executeEv + 2104
8   Realm                               0x0000000101b23f34 _ZN5realm4util7network7Service4Impl3runEv + 404
9   Realm                               0x0000000101aa7af4 _ZN5realm4sync6Client3runEv + 36
10  Realm                               0x0000000101c1a9fc ZNSt3__114__thread_proxyINS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN5realm5_impl10SyncClientC1ENS2_INS7_4util6LoggerENS4_ISB_EEEERKNS7_16SyncClientConfigENS_10shared_ptrIKNS7_11SyncManagerEEEEUlvE0_EEEEEPvSN + 44
11  libsystem_pthread.dylib             0x00000001d5e93cb0 _pthread_start + 320
12  libsystem_pthread.dylib             0x00000001d5e9c778 thread_start + 8
(lldb)

@jlavyan can you provide us with a code sample? How are you going about opening multiple Realms?

I am not opening realm, open realm called by realm library, let me give you some scenario
When I use app in some stages I add new realms, I use two function login user then call open realm how described in documentation. Then I close app after lets say 10 minutes when I have 10 realms I open app (again in this case I don't call open realm) after about 5-10 second like above logs I get crash, It's will happen immediately if you wait 1 hour, when I wait 10 minutes it's happen not always

This issue not happening on my side after update v10.7.6

This was happening to me as well. Please take note of the below bug:
If you have Realm Studio open (and accessing a realm file) while you are trying to start your application, the app will crash with the "Multiple sync agents" error. Close your Realm Studio prior to starting your app.
React-Native - Realm v 10.4.2

It seems that the issue people were seeing here was largely caused by using the RealmBrowser/Studio with a synced Realm.
@erdem-inan @zyphs21 if this was not your issue and/or you've continued to see the crash on the latest version of Realm, please open a new ticket.

This happens to us in the production environment with the 10.23.0 Realm version. There is no way our users could use RealmBrowser/Studio there.
Fatal Exception: realm::MultipleSyncAgents
Multiple sync agents attempted to join the same session Exception backtrace:
0 Divtracker 0x00000001007b9bb4 _ZNK5realm19ArrayFixedBytesNullINS_4UUIDELi16EE15find_first_nullEmm + 166096
1 Divtracker 0x0000000100903d74 _ZNK5realm5Table10find_firstINS_4util8OptionalINS_8ObjectIdEEEEENS_6ObjKeyENS_6ColKeyET_ + 320680
2 Divtracker 0x0000000100903744 _ZNK5realm5Table10find_firstINS_4util8OptionalINS_8ObjectIdEEEEENS_6ObjKeyENS_6ColKeyET_ + 319096
3 Divtracker 0x00000001009375b4 _ZNK5realm5Table10find_firstINS_4util8OptionalINS_8ObjectIdEEEEENS_6ObjKeyENS_6ColKeyET_ + 531688
4 Divtracker 0x000000010096cf8c _ZNK5realm5Table10find_firstINS_4util8OptionalINS_8ObjectIdEEEEENS_6ObjKeyENS_6ColKeyET_ + 751296
5 Divtracker 0x0000000100907d94 _ZNK5realm5Table10find_firstINS_4util8OptionalINS_8ObjectIdEEEEENS_6ObjKeyENS_6ColKeyET_ + 337096
6 Divtracker 0x0000000100a6e8bc _ZN5realm12object_store3Set6insertINS_4util8OptionalINS_4UUIDEEEEENSt3__14pairImbEET_ + 548316
7 libsystem_pthread.dylib 0x00000001f0cca9ac _pthread_start + 148
8 libsystem_pthread.dylib 0x00000001f0cc9e68 thread_start + 8

delete pod file
pod install