realm / realm-java

Realm is a mobile database: a replacement for SQLite & ORMs
http://realm.io
Apache License 2.0
11.46k stars 1.75k forks source link

Stuck on login realm using existing user object #7501

Closed kunalgharate closed 3 years ago

kunalgharate commented 3 years ago

Realm version 10.5.1

https://developer.mongodb.com/community/forums/uploads/default/optimized/3X/7/b/7bb3ba563ea169e0d6b52a2a0dcba439742571f4_2_690x310.png

https://github.com/WildAid/o-fish-android/blob/main/app/src/main/java/org/wildaid/ofish/data/RealmDataSource.kt

fun restoreLoggedUser(): io.realm.mongodb.User? { return realmApp.currentUser()?.also { instantiateRealm(it) } }

while restoring its not working

cmelchior commented 3 years ago

It seems to happen when the server returns 201 on

2021-06-24 15:15:39.600 9078-9078/com.mongodb.rchatapp D/REALM_JAVA: HTTP Request = 
    POST https://realm.mongodb.com/api/client/v2.0/auth/session
    Accept: application/json
    Authorization: XXXXXX
    Content-Type: application/json;charset=utf-8

Which is a problem on our end.

A temporary work-around would be to log the user out, then doing a new login.

cmelchior commented 3 years ago

Hi @kunalgharate

Could your issue be related to this? https://github.com/realm/realm-core/pull/4747, I.e. is the user revoked?

(We haven't made a release yet with the above fix, but will do so next week)

mohit-sharma-87 commented 3 years ago

@cmelchior : I am also facing a similar issue and this API is getting triggered multiple times

HTTP Request = POST https://realm.mongodb.com/api/client/v2.0/auth/session Accept: application/json Authorization: Bearer xxxxxxxx Content-Type: application/json;charset=utf-8

Project repo: https://github.com/mohit-sharma-87/RChatApp

Steps to reproduce :

  1. Run the above application
  2. Sign up with any user name or email and press sign up.
  3. Leave the application inactive for 10 - 15 mins, in background or foreground, currently you are on a screen that displays the message "No Chat Room.\n Let\'s create one now"
  4. Open App again, you would notice a white screen and observe logcat.
Trailqueen commented 3 years ago

This issue still persists in version 10.7.0! After logging in, the app works fine for while, but after roughly 30 minutes the app freezes completely with just a white screen showing. When Realm.getInstanceAsync is called, neither onSuccess nor onError are ever invoked. Guess it has something to do with refreshing the sync session, because prior to 1.5.0 that issue did not excist.

Latest version working for me is 10.4.0.

qrft commented 3 years ago

This issue still persists in version 10.7.0!

Same for me. Even with the new realm-core 11.1.1 the issue still persists..

Is there a known workaround? I would rather log the user out before the refreshing of accesstoken runs into an endless loop and freezes my app..

cmelchior commented 3 years ago

Trying to reproduce this right now. @mohit-sharma-87 Did you use an emulator or real device for your test?

I tried to reproduce this on an API 30 emulator by:

1) Opening app and sign up 2) Get to "No chat room" screen. 3) Go back to home-screen by clicking home (thus putting app in background) 4) Wait 20 minutes 5) Open app again. It seems to still work.

cmelchior commented 3 years ago

@mohit-sharma-87 @Trailqueen @qrft Could any of you try to reproduce your problem with RealmLog.setLevel(LogLevel.ALL) set and report the log output here? My attempt is below.

Logs

Device logs ``` 2021-08-03 09:54:31.199 31256-31256/com.mongodb.rchatapp D/REALM_SYNC: Realm sync client ([realm-core-11.0.3]) 2021-08-03 09:54:31.199 31256-31256/com.mongodb.rchatapp D/REALM_SYNC: Supported protocol versions: 2-3 2021-08-03 09:54:31.199 31256-31256/com.mongodb.rchatapp D/REALM_SYNC: Platform: Android Linux 5.4.61-android11-2-00064-g4271ad6e8ade-ab6991359 #1 SMP PREEMPT Mon Nov 23 17:45:44 UTC 2020 x86_64 2021-08-03 09:54:31.199 31256-31256/com.mongodb.rchatapp D/REALM_SYNC: Build mode: Release 2021-08-03 09:54:31.199 31256-31256/com.mongodb.rchatapp D/REALM_SYNC: Config param: max_open_files = 256 2021-08-03 09:54:31.199 31256-31256/com.mongodb.rchatapp D/REALM_SYNC: Config param: one_connection_per_session = true 2021-08-03 09:54:31.199 31256-31256/com.mongodb.rchatapp D/REALM_SYNC: Config param: connect_timeout = 120000 ms 2021-08-03 09:54:31.199 31256-31256/com.mongodb.rchatapp D/REALM_SYNC: Config param: connection_linger_time = 30000 ms 2021-08-03 09:54:31.199 31256-31256/com.mongodb.rchatapp D/REALM_SYNC: Config param: ping_keepalive_period = 60000 ms 2021-08-03 09:54:31.199 31256-31256/com.mongodb.rchatapp D/REALM_SYNC: Config param: pong_keepalive_timeout = 120000 ms 2021-08-03 09:54:31.199 31256-31256/com.mongodb.rchatapp D/REALM_SYNC: Config param: fast_reconnect_limit = 60000 ms 2021-08-03 09:54:31.199 31256-31256/com.mongodb.rchatapp D/REALM_SYNC: Config param: disable_upload_compaction = false 2021-08-03 09:54:31.199 31256-31256/com.mongodb.rchatapp D/REALM_SYNC: Config param: tcp_no_delay = false 2021-08-03 09:54:31.199 31256-31256/com.mongodb.rchatapp D/REALM_SYNC: Config param: disable_sync_to_disk = false 2021-08-03 09:54:31.199 31256-31256/com.mongodb.rchatapp D/REALM_SYNC: User agent string: 'RealmSync/11.0.3 (Android Linux 5.4.61-android11-2-00064-g4271ad6e8ade-ab6991359 #1 SMP PREEMPT Mon Nov 23 17:45:44 UTC 2020 x86_64) RealmJava/10.6.1 (generic_x86_64_arm64, sdk_gphone_x86_64_arm64, v30) Unknown' 2021-08-03 09:54:31.202 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[1]: WebSocket::Websocket() 2021-08-03 09:54:31.202 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[1]: Session[1]: Binding '/data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm' to '"user=6108f63566f9199bd587c929"' 2021-08-03 09:54:31.202 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[1]: Session[1]: Activating 2021-08-03 09:54:31.202 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[1]: Session[1]: client_reset_config = false, Realm exists = false, async open = false, client reset = false 2021-08-03 09:54:31.202 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Opening Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 09:54:31.210 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[1]: Session[1]: client_file_ident = 0, client_file_ident_salt = 0 2021-08-03 09:54:31.210 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[1]: Session[1]: last_version_available = 0 2021-08-03 09:54:31.210 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[1]: Session[1]: progress_server_version = 0 2021-08-03 09:54:31.210 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[1]: Session[1]: progress_client_version = 0 2021-08-03 09:54:31.210 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Using already open Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 09:54:31.210 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[1]: Session[1]: Progress handler called, downloaded = 0, downloadable(total) = 0, uploaded = 0, uploadable = 0, reliable_download_progress = false, snapshot version = 1 2021-08-03 09:54:31.211 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[1]: Session[1]: Initiating deactivation 2021-08-03 09:54:31.211 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[1]: Session[1]: Deactivation completed 2021-08-03 09:54:31.211 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Closing Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 09:54:31.211 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[1]: Destroying connection object 2021-08-03 09:54:31.252 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::Websocket() 2021-08-03 09:54:31.252 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Binding '/data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm' to '"user=6108f63566f9199bd587c929"' 2021-08-03 09:54:31.252 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Activating 2021-08-03 09:54:31.253 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Session[2]: client_reset_config = false, Realm exists = true, async open = false, client reset = false 2021-08-03 09:54:31.255 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Opening Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 09:54:31.264 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: client_file_ident = 0, client_file_ident_salt = 0 2021-08-03 09:54:31.264 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: Session[2]: last_version_available = 0 2021-08-03 09:54:31.264 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: Session[2]: progress_server_version = 0 2021-08-03 09:54:31.264 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: Session[2]: progress_client_version = 0 2021-08-03 09:54:31.264 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Using already open Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 09:54:31.264 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Progress handler called, downloaded = 0, downloadable(total) = 0, uploaded = 0, uploadable = 0, reliable_download_progress = false, snapshot version = 1 2021-08-03 09:54:31.264 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Resolving 'ws.realm.mongodb.com:443' 2021-08-03 09:54:31.269 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Using already open Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 09:54:31.269 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Progress handler called, downloaded = 0, downloadable(total) = 0, uploaded = 0, uploadable = 534, reliable_download_progress = false, snapshot version = 2 2021-08-03 09:54:31.269 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Using already open Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 09:54:31.270 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Progress handler called, downloaded = 0, downloadable(total) = 0, uploaded = 0, uploadable = 534, reliable_download_progress = false, snapshot version = 2 2021-08-03 09:54:31.289 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Connecting to endpoint '52.16.113.157:443' (1/1) 2021-08-03 09:54:31.324 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Connected to endpoint '52.16.113.157:443' (from '10.0.2.16:59898') 2021-08-03 09:54:31.373 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Verifying server SSL certificate using root certificates, host name = ws.realm.mongodb.com, server port = 443, certificate = -----BEGIN CERTIFICATE----- MIIF6TCCA9GgAwIBAgIQBeTcO5Q4qzuFl8umoZhQ4zANBgkqhkiG9w0BAQwFADCB iDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0pl cnNleSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNV BAMTJVVTRVJUcnVzdCBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTQw OTEyMDAwMDAwWhcNMjQwOTExMjM1OTU5WjBfMQswCQYDVQQGEwJGUjEOMAwGA1UE CBMFUGFyaXMxDjAMBgNVBAcTBVBhcmlzMQ4wDAYDVQQKEwVHYW5kaTEgMB4GA1UE AxMXR2FuZGkgU3RhbmRhcmQgU1NMIENBIDIwggEiMA0GCSqGSIb3DQEBAQUAA4IB DwAwggEKAo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HJ5OxYI2A25bUeo8tqxyI yW5+1mUfr13KFj8oRtygNeX56eXVlogMT8a3d2dIhCe2H7Bo26y/d7CQuKLJHDJd ArolQ4FCR7vY4Y8MDEZf7kYzawMUgtN+zY+vkNaOJH1AQrRqahfGlZfh8jjNp+20 J0CT33KpuMZmYzc4ZCIwojvxuch7yPspOqsactIGEk72gtQjbz7Dk+XYtsDe3CMW 1hMwt6CaDixVBgBwAc/qOR2A24j3pSC4W/0xJmmPLQphgzpHphNULB7j7UTKvGof KA5R2d4On3XNDgOVyvnFqSot/kGkoUeuDcL5OWYzSlvhhChZbH2UF3bkRYKtcCD9 0m9jqNf6oDP6N8v3smWe2lBvP+Sn845dWDKXcCMu5/3EFZucJ48y7RetWIExKREa m9T8bJUox04FB6b9HbwZ4ui3uRGKLXASUoWNjDNKD/yZkuBjcNqllEdjB+dYxzFf BT02Vf6Dsuimrdfp5gJ0iHRc2jTbkNJtUQoj1iM= -----END CERTIFICATE----- 2021-08-03 09:54:31.374 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Verifying server SSL certificate using 155 root certificates 2021-08-03 09:54:31.391 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Server SSL certificate verified using root certificate(122): -----BEGIN CERTIFICATE----- MIIF3jCCA8agAwIBAgIQAf1tMPyjylGoG7xkDjUDLTANBgkqhkiG9w0BAQwFADCBiDELMAkG A1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4w HAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0Eg Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTAwMjAxMDAwMDAwWhcNMzgwMTE4MjM1OTU5 WjCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNl eSBDaXR5MR4wHAYDVQQKExV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wXEskEVX/JJpuXior7gtNn3/3ATiUFJVDBwn7YKnuHKsSjKCaXqeYalltiz8I+8jR Ra8YFWSQEg9zKC7F4iRO/Fjs8PRF/iKz6y+O0tlFYQXBl2+odnKPi4w2r78NBc5xjeambx9s pnFixdjQg3IM8WcRiQycE0xyNN+81XHfqnHd4blsjDwSXWXavVcStkNr/+XeTWYRUc+ZruwX tuhxkYzeSf7dNXGiFSeUHM9h4ya7b6NnJSFd5t0dCy5oGzuCr+yDZ4XUmFF0sbmZgIn/f3gZ XHlKYC6SQK5MNyosycdiyA5d9zZbyuAlJQG03RoHnHcAP9Dc1ew91Pq7P8yF1m9/qS3fuQL3 9ZeatTXaw2ewh0qpKJ4jjv9cJ2vhsE/zB+4ALtRZh8tSQZXq9EfX7mRBVXyNWQKV3WKdwrnu Wih0hKWbt5DHDAff9Yk2dDLWKMGwsAvgnEzDHNb842m1R0aBL6KCq9NjRHDEjf8tM7qtj3u1 cIiuPhnPQCjY/MiQu12ZIvVS5ljFH4gxQ+6IHdfGjjxDah2nGN59PRbxYvnKkKj9 -----END CERTIFICATE----- 2021-08-03 09:54:31.392 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::initiate_client_handshake() 2021-08-03 09:54:31.392 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP request = GET /api/client/v2.0/app/rchat-saxgm/realm-sync HTTP/1.1 Host: ws.realm.mongodb.com Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsImJhYXNfZG9tYWluX2lkIjoiNWZkOWVkZTYxOTE5YTJkZjA0NDk3MzY3IiwiZXhwIjoxNjI3OTc5MDcwLCJpYXQiOjE2Mjc5NzcyNzAsImlzcyI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3YzlhMyIsInN0aXRjaF9kZXZJZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsInN0aXRjaF9kb21haW5JZCI6IjVmZDllZGU2MTkxOWEyZGYwNDQ5NzM2NyIsInN1YiI6IjYxMDhmNjM1NjZmOTE5OWJkNTg3YzkyOSIsInR5cCI6ImFjY2VzcyJ9.cE3QYuurTlaCyUW8TGDG__KE7G_sxLGZiVBfB6SJh24 Connection: Upgrade Sec-WebSocket-Key: mDNfDnbnMDEqzSsnttUKUQ== Sec-WebSocket-Protocol: com.mongodb.realm-sync/3, com.mongodb.realm-sync/2 Sec-WebSocket-Version: 13 Upgrade: websocket User-Agent: RealmSync/11.0.3 (Android Linux 5.4.61-android11-2-00064-g4271ad6e8ade-ab6991359 #1 SMP PREEMPT Mon Nov 23 17:45:44 UTC 2020 x86_64) RealmJava/10.6.1 (generic_x86_64_arm64, sdk_gphone_x86_64_arm64, v30) Unknown 2021-08-03 09:54:31.474 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::handle_http_response_received() 2021-08-03 09:54:31.474 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP response = HTTP/1.1 101 Switching Protocols cache-control: no-cache, no-store, must-revalidate connection: Upgrade date: Tue, 03 Aug 2021 07:54:31 GMT sec-websocket-accept: wR3UOLa2LbSIwU7GMW3BN6LXI4Q= sec-websocket-protocol: com.mongodb.realm-sync/3 server: envoy upgrade: websocket vary: Origin x-frame-options: DENY 2021-08-03 09:54:31.474 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Negotiated protocol version: 3 2021-08-03 09:54:31.474 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Will emit a ping in 8924 milliseconds 2021-08-03 09:54:31.474 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: BIND(path='"user=6108f63566f9199bd587c929"', signed_user_token_size=469, need_client_file_ident=1, is_subserver=0) 2021-08-03 09:54:33.308 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Received: IDENT(client_file_ident=94, client_file_ident_salt=3867574551703976148) 2021-08-03 09:54:33.308 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Using already open Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 09:54:33.314 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: IDENT(client_file_ident=94, client_file_ident_salt=3867574551703976148, scan_server_version=0, scan_client_version=0, latest_server_version=0, latest_server_version_salt=0) 2021-08-03 09:54:33.315 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: MARK(request_ident=1) 2021-08-03 09:54:40.406 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Sending: PING(timestamp=472147898, rtt=0) 2021-08-03 09:56:40.451 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Timeout on reception of PONG message 2021-08-03 09:56:40.452 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Connection closed due to error 2021-08-03 09:56:40.458 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Resolving 'ws.realm.mongodb.com:443' 2021-08-03 09:56:40.466 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Connecting to endpoint '52.16.113.157:443' (1/1) 2021-08-03 09:56:40.501 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Connected to endpoint '52.16.113.157:443' (from '10.0.2.16:59900') 2021-08-03 09:56:40.543 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Verifying server SSL certificate using root certificates, host name = ws.realm.mongodb.com, server port = 443, certificate = -----BEGIN CERTIFICATE----- MIIF6TCCA9GgAwIBAgIQBeTcO5Q4qzuFl8umoZhQ4zANBgkqhkiG9w0BAQwFADCB iDELMAkGA1UEBhMCVVMxEzARBgNVBAg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R5LmNy bDB2BggrBgEFBQcBAQRqMGgwPwYIKwYBBQUHMAKGM2h0dHA6Ly9jcnQudXNlcnRy dXN0LmNvbS9VU0VSVHJ1c3RSU0FBZGRUcnVzdENBLmNydDAlBggrBgEFBQcwAYYZ aHR0cDovL29jc3AudXNlcnRydXN0LmNvbTANBgkqhkiG9w0BAQwFAAOCAgEAWGf9 crJq13xhlhl+2UNG0SZ9yFP6ZrBrLafTqlb3OojQO3LJUP33WbKqaPWMcwO7lWUX zi8c3ZgTopHJ7qFAbjyY1lzzsiI8Le4bpOHeICQW8owRc5E69vrOJAKHypPstLbI FhfFcvwnQPYT/pOmnVHvPCvYd1ebjGU6NSU2t7WKY28HJ5OxYI2A25bUeo8tqxyI yW5+1mUfr13KFj8oRtygNeX56eXVlogMT8a3d2dIhCe2H7Bo26y/d7CQuKLJHDJd ArolQ4FCR7vY4Y8MDEZf7kYzawMUgtN+zY+vkNaOJH1AQrRqahfGlZfh8jjNp+20 J0CT33KpuMZmYzc4ZCIwojvxuch7yPspOqsactIGEk72gtQjbz7Dk+XYtsDe3CMW 1hMwt6CaDixVBgBwAc/qOR2A24j3pSC4W/0xJmmPLQphgzpHphNULB7j7UTKvGof KA5R2d4On3XNDgOVyvnFqSot/kGkoUeuDcL5OWYzSlvhhChZbH2UF3bkRYKtcCD9 0m9jqNf6oDP6N8v3smWe2lBvP+Sn845dWDKXcCMu5/3EFZucJ48y7RetWIExKREa m9T8bJUox04FB6b9HbwZ4ui3uRGKLXASUoWNjDNKD/yZkuBjcNqllEdjB+dYxzFf BT02Vf6Dsuimrdfp5gJ0iHRc2jTbkNJtUQoj1iM= -----END CERTIFICATE----- 2021-08-03 09:56:40.544 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Verifying server SSL certificate using 155 root certificates 2021-08-03 09:56:40.564 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Server SSL certificate verified using root certificate(122): -----BEGIN CERTIFICATE----- MIIF3jCCA8agAwI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nnV4eeUB9XVKg+/XRjL7FQZQnmWEIuQxpMtPAlR1n6BB6T1CZGSlCBst6+eLf8ZxXhyVeE Hg9j1uliutZfVS7qXMYoCAQlObgOK6nyTJccBz8NUvXt7y+CDwIDAQABo0IwQDAdBgNVHQ4E FgQUU3m/WqorSs9UgOHYm8Cd8rIDZsswDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMB Af8wDQYJKoZIhvcNAQEMBQADggIBAFzUfA3P9wF9QZllDHPFUp/L+M+ZBn8b2kMVn54CVVeW FPFSPCeHlCjtHzoBN6J2/FNQwISbxmtOuowhT6KOVWKR82kV2LyI48SqC/3vqOlLVSoGIG1V eCkZ7l8wXEskEVX/JJpuXior7gtNn3/3ATiUFJVDBwn7YKnuHKsSjKCaXqeYalltiz8I+8jR Ra8YFWSQEg9zKC7F4iRO/Fjs8PRF/iKz6y+O0tlFYQXBl2+odnKPi4w2r78NBc5xjeambx9s pnFixdjQg3IM8WcRiQycE0xyNN+81XHfqnHd4blsjDwSXWXavVcStkNr/+XeTWYRUc+ZruwX tuhxkYzeSf7dNXGiFSeUHM9h4ya7b6NnJSFd5t0dCy5oGzuCr+yDZ4XUmFF0sbmZgIn/f3gZ XHlKYC6SQK5MNyosycdiyA5d9zZbyuAlJQG03RoHnHcAP9Dc1ew91Pq7P8yF1m9/qS3fuQL3 9ZeatTXaw2ewh0qpKJ4jjv9cJ2vhsE/zB+4ALtRZh8tSQZXq9EfX7mRBVXyNWQKV3WKdwrnu Wih0hKWbt5DHDAff9Yk2dDLWKMGwsAvgnEzDHNb842m1R0aBL6KCq9NjRHDEjf8tM7qtj3u1 cIiuPhnPQCjY/MiQu12ZIvVS5ljFH4gxQ+6IHdfGjjxDah2nGN59PRbxYvnKkKj9 -----END CERTIFICATE----- 2021-08-03 09:56:40.565 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::initiate_client_handshake() 2021-08-03 09:56:40.565 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP request = GET /api/client/v2.0/app/rchat-saxgm/realm-sync HTTP/1.1 Host: ws.realm.mongodb.com Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsImJhYXNfZG9tYWluX2lkIjoiNWZkOWVkZTYxOTE5YTJkZjA0NDk3MzY3IiwiZXhwIjoxNjI3OTc5MDcwLCJpYXQiOjE2Mjc5NzcyNzAsImlzcyI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3YzlhMyIsInN0aXRjaF9kZXZJZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsInN0aXRjaF9kb21haW5JZCI6IjVmZDllZGU2MTkxOWEyZGYwNDQ5NzM2NyIsInN1YiI6IjYxMDhmNjM1NjZmOTE5OWJkNTg3YzkyOSIsInR5cCI6ImFjY2VzcyJ9.cE3QYuurTlaCyUW8TGDG__KE7G_sxLGZiVBfB6SJh24 Connection: Upgrade Sec-WebSocket-Key: GyBW6AAIL6cFxqWt0iQw0Q== Sec-WebSocket-Protocol: com.mongodb.realm-sync/3, com.mongodb.realm-sync/2 Sec-WebSocket-Version: 13 Upgrade: websocket User-Agent: RealmSync/11.0.3 (Android Linux 5.4.61-android11-2-00064-g4271ad6e8ade-ab6991359 #1 SMP PREEMPT Mon Nov 23 17:45:44 UTC 2020 x86_64) RealmJava/10.6.1 (generic_x86_64_arm64, sdk_gphone_x86_64_arm64, v30) Unknown 2021-08-03 09:56:40.654 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::handle_http_response_received() 2021-08-03 09:56:40.655 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP response = HTTP/1.1 101 Switching Protocols cache-control: no-cache, no-store, must-revalidate connection: Upgrade date: Tue, 03 Aug 2021 07:56:40 GMT sec-websocket-accept: zj/oadUOAhP+s+hnTu18MZPr3UY= sec-websocket-protocol: com.mongodb.realm-sync/3 server: envoy upgrade: websocket vary: Origin x-frame-options: DENY 2021-08-03 09:56:40.655 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Negotiated protocol version: 3 2021-08-03 09:56:40.655 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Will emit a ping in 30312 milliseconds 2021-08-03 09:56:40.655 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: BIND(path='"user=6108f63566f9199bd587c929"', signed_user_token_size=469, need_client_file_ident=0, is_subserver=0) 2021-08-03 09:56:40.656 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: IDENT(client_file_ident=94, client_file_ident_salt=3867574551703976148, scan_server_version=0, scan_client_version=0, latest_server_version=0, latest_server_version_salt=0) 2021-08-03 09:56:40.656 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: MARK(request_ident=2) 2021-08-03 09:57:11.008 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Sending: PING(timestamp=472298499, rtt=0) 2021-08-03 09:59:11.041 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Timeout on reception of PONG message 2021-08-03 09:59:11.042 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Connection closed due to error 2021-08-03 09:59:11.045 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Resolving 'ws.realm.mongodb.com:443' 2021-08-03 09:59:11.064 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Connecting to endpoint '52.49.130.120:443' (1/1) 2021-08-03 09:59:11.097 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Connected to endpoint '52.49.130.120:443' (from '10.0.2.16:37708') 2021-08-03 09:59:11.139 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Verifying server SSL certificate using root certificates, host name = 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YNC: Connection[2]: Verifying server SSL certificate using 155 root certificates 2021-08-03 09:59:11.159 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Server SSL certificate verified using root certificate(122): -----BEGIN CERTIFICATE----- MIIF3jCCA8agAwIBAgIQAf1tMPyjylGoG7xkDjUDLTANBgkqhkiG9w0BAQwFADCBiDELMAkG A1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4w HAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0Eg Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTAwMjAxMDAwMDAwWhcNMzgwMTE4MjM1OTU5 WjCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNl eSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJU cnVzdCBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4IC DwAwggIKAoICAQCAEmUXNg7D2wiz0KxXDXbtzSfTTK1Qg2HiqiBNCS1kCdzOiZ/MPans9s/B 3PHTsdZ7NygRK0faOca8Ohm0X6a9fZ2jY0K2dvKpOyuR+OJv0OwWIJAJPuLodMkYtJHUYmTb f6MG8YgYapAiPLz+E/CHFHv25B+O1ORRxhFnRghRy4YUVD+8M/5+bJz/Fp0YvVGONaanZshy Z9shZrHUm3gDwFA66Mzw3LyeTP6vBZY1H1dat//O+T23LLb2VN3I5xI6Ta5MirdcmrS3ID3K fyI0rn47aGYBROcBTkZTmzNg95S+UzeQc0PzMsNT79uq/nROacdrjGCT3sTHDN/hMq7MkztR eJVni+49Vv4M0GkPGw/zJSZrM233bkf6c0Plfg6lZrEpfDKEY1WJxA3Bk1QwGROs0303p+td Omw1XNtB1x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RbxYvnKkKj9 -----END CERTIFICATE----- 2021-08-03 09:59:11.160 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::initiate_client_handshake() 2021-08-03 09:59:11.160 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP request = GET /api/client/v2.0/app/rchat-saxgm/realm-sync HTTP/1.1 Host: ws.realm.mongodb.com Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsImJhYXNfZG9tYWluX2lkIjoiNWZkOWVkZTYxOTE5YTJkZjA0NDk3MzY3IiwiZXhwIjoxNjI3OTc5MDcwLCJpYXQiOjE2Mjc5NzcyNzAsImlzcyI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3YzlhMyIsInN0aXRjaF9kZXZJZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsInN0aXRjaF9kb21haW5JZCI6IjVmZDllZGU2MTkxOWEyZGYwNDQ5NzM2NyIsInN1YiI6IjYxMDhmNjM1NjZmOTE5OWJkNTg3YzkyOSIsInR5cCI6ImFjY2VzcyJ9.cE3QYuurTlaCyUW8TGDG__KE7G_sxLGZiVBfB6SJh24 Connection: Upgrade Sec-WebSocket-Key: 5xI9j1W3yv8b4BphcDCnpA== Sec-WebSocket-Protocol: com.mongodb.realm-sync/3, com.mongodb.realm-sync/2 Sec-WebSocket-Version: 13 Upgrade: websocket User-Agent: RealmSync/11.0.3 (Android Linux 5.4.61-android11-2-00064-g4271ad6e8ade-ab6991359 #1 SMP PREEMPT Mon Nov 23 17:45:44 UTC 2020 x86_64) RealmJava/10.6.1 (generic_x86_64_arm64, sdk_gphone_x86_64_arm64, v30) Unknown 2021-08-03 09:59:11.241 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::handle_http_response_received() 2021-08-03 09:59:11.241 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP response = HTTP/1.1 101 Switching Protocols cache-control: no-cache, no-store, must-revalidate connection: Upgrade date: Tue, 03 Aug 2021 07:59:11 GMT sec-websocket-accept: zqI5d2MmSR7lPSWFfwtbPJUWQUA= sec-websocket-protocol: com.mongodb.realm-sync/3 server: envoy upgrade: websocket vary: Origin x-frame-options: DENY 2021-08-03 09:59:11.241 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Negotiated protocol version: 3 2021-08-03 09:59:11.241 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Will emit a ping in 26617 milliseconds 2021-08-03 09:59:11.242 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: BIND(path='"user=6108f63566f9199bd587c929"', signed_user_token_size=469, need_client_file_ident=0, is_subserver=0) 2021-08-03 09:59:11.242 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: IDENT(client_file_ident=94, client_file_ident_salt=3867574551703976148, scan_server_version=0, scan_client_version=0, latest_server_version=0, latest_server_version_salt=0) 2021-08-03 09:59:11.242 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: MARK(request_ident=3) 2021-08-03 09:59:37.874 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Sending: PING(timestamp=472445365, rtt=0) 2021-08-03 10:01:37.905 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Timeout on reception of PONG message 2021-08-03 10:01:37.906 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Connection closed due to error 2021-08-03 10:01:37.909 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Resolving 'ws.realm.mongodb.com:443' 2021-08-03 10:01:37.934 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Connecting to endpoint '34.241.208.56:443' (1/1) 2021-08-03 10:01:37.970 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Connected to endpoint '34.241.208.56:443' (from '10.0.2.16:60636') 2021-08-03 10:01:38.015 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Verifying server SSL certificate using root certificates, host name = ws.realm.mongodb.com, server port = 443, certificate = -----BEGIN CERTIFICATE----- MIIF6TCCA9GgAwIBAgIQBeTcO5Q4qzuFl8umoZhQ4zANBgkqhkiG9w0BAQwFADCB iDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0pl cnNleSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNV BAMTJVVTRVJUcnVzdCBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTQw OTEyMDAwMDAwWhcNMjQwOTExMjM1OTU5WjBfMQswCQYDVQQGEwJGUjEOMAwGA1UE CBMFUGFyaXMxDjAMBgNVBAcTBVBhcmlzMQ4wDAYDVQQKEwVHYW5kaTEgMB4GA1UE AxMXR2FuZGkgU3RhbmRhcmQgU1NMIENBIDIwggEiMA0GCSqGSIb3DQEBAQUAA4IB DwAwggEKAoIBAQCUBC2meZV0/9UAPPWu2JSxKXzAjwsLibmCg5duNyj1ohrP0pIL m6jTh5RzhBCf3DXLwi2SrCG5yzv8QMHBgyHwv/j2nPqcghDA0I5O5Q1MsJFckLSk QFEW2uSEEi0FXKEfFxkkUap66uEHG4aNAXLy59SDIzme4OFMH2sio7QQZrDtgpbX bmq08j+1QvzdirWrui0dOnWbMdw+naxb00ENbLAb9Tr1eeohovj0M1JLJC0epJmx bUi8uBL+cnB89/sCdfSN3tbawKAyGlLfOGsuRTg/PwSWAP2h9KK71RfWJ3wbWFmV XooS/ZyrgT5SKEhRhWvzkbKGPym1bgNi7tYFAgMBAAGjggF1MIIBcTAfBgNVHSME GDAWgBRTeb9aqitKz1SA4dibwJ3ysgNmyzAdBgNVHQ4EFgQUs5Cn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RGKLXASUoWNjDNKD/yZkuBjcNqllEdjB+dYxzFf BT02Vf6Dsuimrdfp5gJ0iHRc2jTbkNJtUQoj1iM= -----END CERTIFICATE----- 2021-08-03 10:01:38.015 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Verifying server SSL certificate using 155 root certificates 2021-08-03 10:01:38.033 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Server SSL certificate verified using root certificate(122): -----BEGIN CERTIFICATE----- MIIF3jCCA8agAwIBAgIQAf1tMPyjylGoG7xkDjUDLTANBgkqhkiG9w0BAQwFADCBiDELMAkG A1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4w HAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0Eg Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTAwMjAxMDAwMDAwWhcNMzgwMTE4MjM1OTU5 WjCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNl eSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJU cnVzdCBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4IC DwAwggIKAoICAQCAEmUXNg7D2wiz0KxXDXbtzSfTTK1Qg2HiqiBNCS1kCdzOiZ/MPans9s/B 3PHTsdZ7NygRK0faOca8Ohm0X6a9fZ2jY0K2dvKpOyuR+OJv0OwWIJAJPuLodMkYtJHUYmTb f6MG8YgYapAiPLz+E/CHFHv25B+O1ORRxhFnRghRy4YUVD+8M/5+bJz/Fp0YvVGONaanZshy Z9shZrHUm3gDwFA66Mzw3LyeTP6vBZY1H1dat//O+T23LLb2VN3I5xI6Ta5MirdcmrS3ID3K fyI0rn47aG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V3WKdwrnu Wih0hKWbt5DHDAff9Yk2dDLWKMGwsAvgnEzDHNb842m1R0aBL6KCq9NjRHDEjf8tM7qtj3u1 cIiuPhnPQCjY/MiQu12ZIvVS5ljFH4gxQ+6IHdfGjjxDah2nGN59PRbxYvnKkKj9 -----END CERTIFICATE----- 2021-08-03 10:01:38.034 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::initiate_client_handshake() 2021-08-03 10:01:38.035 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP request = GET /api/client/v2.0/app/rchat-saxgm/realm-sync HTTP/1.1 Host: ws.realm.mongodb.com Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsImJhYXNfZG9tYWluX2lkIjoiNWZkOWVkZTYxOTE5YTJkZjA0NDk3MzY3IiwiZXhwIjoxNjI3OTc5MDcwLCJpYXQiOjE2Mjc5NzcyNzAsImlzcyI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3YzlhMyIsInN0aXRjaF9kZXZJZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsInN0aXRjaF9kb21haW5JZCI6IjVmZDllZGU2MTkxOWEyZGYwNDQ5NzM2NyIsInN1YiI6IjYxMDhmNjM1NjZmOTE5OWJkNTg3YzkyOSIsInR5cCI6ImFjY2VzcyJ9.cE3QYuurTlaCyUW8TGDG__KE7G_sxLGZiVBfB6SJh24 Connection: Upgrade Sec-WebSocket-Key: DXLioOZiz7k0X/y7PhpGGw== Sec-WebSocket-Protocol: com.mongodb.realm-sync/3, com.mongodb.realm-sync/2 Sec-WebSocket-Version: 13 Upgrade: websocket User-Agent: RealmSync/11.0.3 (Android Linux 5.4.61-android11-2-00064-g4271ad6e8ade-ab6991359 #1 SMP PREEMPT Mon Nov 23 17:45:44 UTC 2020 x86_64) RealmJava/10.6.1 (generic_x86_64_arm64, sdk_gphone_x86_64_arm64, v30) Unknown 2021-08-03 10:01:38.114 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::handle_http_response_received() 2021-08-03 10:01:38.114 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP response = HTTP/1.1 101 Switching Protocols cache-control: no-cache, no-store, must-revalidate connection: Upgrade date: Tue, 03 Aug 2021 08:01:38 GMT sec-websocket-accept: kUs52UqEnD3N1HZFJAnaj4IG4jk= sec-websocket-protocol: com.mongodb.realm-sync/3 server: envoy upgrade: websocket vary: Origin x-frame-options: DENY 2021-08-03 10:01:38.114 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Negotiated protocol version: 3 2021-08-03 10:01:38.114 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Will emit a ping in 3616 milliseconds 2021-08-03 10:01:38.114 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: BIND(path='"user=6108f63566f9199bd587c929"', signed_user_token_size=469, need_client_file_ident=0, is_subserver=0) 2021-08-03 10:01:38.115 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: IDENT(client_file_ident=94, client_file_ident_salt=3867574551703976148, scan_server_version=0, scan_client_version=0, latest_server_version=0, latest_server_version_salt=0) 2021-08-03 10:01:38.115 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: MARK(request_ident=4) 2021-08-03 10:01:41.771 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Sending: PING(timestamp=472569264, rtt=0) 2021-08-03 10:03:41.832 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Timeout on reception of PONG message 2021-08-03 10:03:41.833 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Connection closed due to error 2021-08-03 10:03:41.840 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Resolving 'ws.realm.mongodb.com:443' 2021-08-03 10:03:41.857 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Connecting to endpoint '34.241.208.56:443' (1/1) 2021-08-03 10:03:41.894 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Connected to endpoint '34.241.208.56:443' (from '10.0.2.16:60638') 2021-08-03 10:03:41.934 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Verifying server SSL certificate using root certificates, host name = ws.realm.mongodb.com, server port = 443, certificate = -----BEGIN CERTIFICATE----- MIIF6TCCA9GgAwIBAgIQBeTcO5Q4qzuFl8umoZhQ4zANBgkqhkiG9w0BAQwFADCB iDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0pl cnNleSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNV BAMTJVVTRVJUcnVzdCBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTQw OTEyMDAwMDAwWhcNMjQwOTExMjM1OTU5WjBfMQswCQYDVQQGEwJGUjEOMAwGA1UE CBMFUGFyaXMxDjAMBgNVBAcTBVBhcmlzMQ4wDAYDVQQKEwVHYW5kaTEgMB4GA1UE AxMXR2FuZGkgU3RhbmRhcmQgU1NMIENBIDIwggEiMA0GCSqGSIb3DQEBAQUAA4IB DwAwggEKAoIBAQCUBC2meZV0/9UAPPWu2JSxKXzAjwsLibmCg5duNyj1ohrP0pIL m6jTh5RzhBCf3DXLwi2SrCG5yzv8QMHBgyHwv/j2nPqcghDA0I5O5Q1MsJFckLSk QFEW2uSEEi0FXKEfFxkkUap66uEHG4aNAXLy59SDIzme4OFMH2sio7QQZrDtgpbX bmq08j+1QvzdirWrui0dOnWbMdw+naxb00ENbLAb9Tr1eeohovj0M1JLJC0epJmx bUi8uBL+cnB89/sCdfSN3tbawKAyGlLfOGsuRTg/PwSWAP2h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VyvnFqSot/kGkoUeuDcL5OWYzSlvhhChZbH2UF3bkRYKtcCD9 0m9jqNf6oDP6N8v3smWe2lBvP+Sn845dWDKXcCMu5/3EFZucJ48y7RetWIExKREa m9T8bJUox04FB6b9HbwZ4ui3uRGKLXASUoWNjDNKD/yZkuBjcNqllEdjB+dYxzFf BT02Vf6Dsuimrdfp5gJ0iHRc2jTbkNJtUQoj1iM= -----END CERTIFICATE----- 2021-08-03 10:03:41.934 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Verifying server SSL certificate using 155 root certificates 2021-08-03 10:03:41.953 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Server SSL certificate verified using root certificate(122): -----BEGIN CERTIFICATE----- MIIF3jCCA8agAwIBAgIQAf1tMPyjylGoG7xkDjUDLTANBgkqhkiG9w0BAQwFADCBiDELMAkG A1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4w HAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0Eg Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTAwMjAxMDAwMDAwWhcNMzgwMTE4MjM1OTU5 WjCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNl eSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJU cnVzdCBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4IC DwAwggIKAoICAQCAEmUXNg7D2wiz0KxXDXbtzSfTTK1Qg2HiqiBNCS1kCdzOiZ/MPans9s/B 3PHTsdZ7NygRK0faOca8Ohm0X6a9fZ2jY0K2dvKpOyuR+OJv0OwWIJAJPuLodMkYtJHUYmTb f6MG8YgYapAiPLz+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6SQK5MNyosycdiyA5d9zZbyuAlJQG03RoHnHcAP9Dc1ew91Pq7P8yF1m9/qS3fuQL3 9ZeatTXaw2ewh0qpKJ4jjv9cJ2vhsE/zB+4ALtRZh8tSQZXq9EfX7mRBVXyNWQKV3WKdwrnu Wih0hKWbt5DHDAff9Yk2dDLWKMGwsAvgnEzDHNb842m1R0aBL6KCq9NjRHDEjf8tM7qtj3u1 cIiuPhnPQCjY/MiQu12ZIvVS5ljFH4gxQ+6IHdfGjjxDah2nGN59PRbxYvnKkKj9 -----END CERTIFICATE----- 2021-08-03 10:03:41.954 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::initiate_client_handshake() 2021-08-03 10:03:41.954 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP request = GET /api/client/v2.0/app/rchat-saxgm/realm-sync HTTP/1.1 Host: ws.realm.mongodb.com Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsImJhYXNfZG9tYWluX2lkIjoiNWZkOWVkZTYxOTE5YTJkZjA0NDk3MzY3IiwiZXhwIjoxNjI3OTc5MDcwLCJpYXQiOjE2Mjc5NzcyNzAsImlzcyI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3YzlhMyIsInN0aXRjaF9kZXZJZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsInN0aXRjaF9kb21haW5JZCI6IjVmZDllZGU2MTkxOWEyZGYwNDQ5NzM2NyIsInN1YiI6IjYxMDhmNjM1NjZmOTE5OWJkNTg3YzkyOSIsInR5cCI6ImFjY2VzcyJ9.cE3QYuurTlaCyUW8TGDG__KE7G_sxLGZiVBfB6SJh24 Connection: Upgrade Sec-WebSocket-Key: 3vNLWyrLc72uon7/3Hemmw== Sec-WebSocket-Protocol: com.mongodb.realm-sync/3, com.mongodb.realm-sync/2 Sec-WebSocket-Version: 13 Upgrade: websocket User-Agent: RealmSync/11.0.3 (Android Linux 5.4.61-android11-2-00064-g4271ad6e8ade-ab6991359 #1 SMP PREEMPT Mon Nov 23 17:45:44 UTC 2020 x86_64) RealmJava/10.6.1 (generic_x86_64_arm64, sdk_gphone_x86_64_arm64, v30) Unknown 2021-08-03 10:03:42.033 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::handle_http_response_received() 2021-08-03 10:03:42.033 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP response = HTTP/1.1 101 Switching Protocols cache-control: no-cache, no-store, must-revalidate connection: Upgrade date: Tue, 03 Aug 2021 08:03:42 GMT sec-websocket-accept: eVxDBi6PtM69wsv/9L6+BoDOZ9s= sec-websocket-protocol: com.mongodb.realm-sync/3 server: envoy upgrade: websocket vary: Origin x-frame-options: DENY 2021-08-03 10:03:42.033 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Negotiated protocol version: 3 2021-08-03 10:03:42.033 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Will emit a ping in 9505 milliseconds 2021-08-03 10:03:42.033 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: BIND(path='"user=6108f63566f9199bd587c929"', signed_user_token_size=469, need_client_file_ident=0, is_subserver=0) 2021-08-03 10:03:42.033 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: IDENT(client_file_ident=94, client_file_ident_salt=3867574551703976148, scan_server_version=0, scan_client_version=0, latest_server_version=0, latest_server_version_salt=0) 2021-08-03 10:03:42.034 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: MARK(request_ident=5) 2021-08-03 10:03:51.546 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Sending: PING(timestamp=472699038, rtt=0) 2021-08-03 10:05:51.593 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Timeout on reception of PONG message 2021-08-03 10:05:51.594 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Connection closed due to error 2021-08-03 10:05:51.597 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Resolving 'ws.realm.mongodb.com:443' 2021-08-03 10:05:51.605 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Connecting to endpoint '34.241.208.56:443' (1/1) 2021-08-03 10:05:51.640 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Connected to endpoint '34.241.208.56:443' (from '10.0.2.16:60640') 2021-08-03 10:05:51.680 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Verifying server SSL certificate using root certificates, host name = ws.realm.mongodb.com, server port = 443, certificate = -----BEGIN CERTIFICATE----- MIIF6TCCA9GgAwIBAgIQBeTcO5Q4qzuFl8umoZhQ4zANBgkqhkiG9w0BAQwFADCB iDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0pl cnNleSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNV BAMTJVVTRVJUcnVzdCBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTQw OTEyMDAwMDAwWhcNMjQwOTExMjM1OTU5WjBfMQswCQYDVQQGEwJGUjEOMAwGA1UE CBMFUGFyaXMxDjAMBgNVBAcTBVBhcmlzMQ4wDAYDVQQKEwVHYW5kaTEgMB4GA1UE AxMXR2FuZGkgU3RhbmRhcmQgU1NMIENBIDIwggEiMA0GCSqGSIb3DQEBAQUAA4IB DwAwggEKAoIBAQCUBC2meZV0/9UAPPWu2JSxKXzAjwsLibmCg5duNyj1ohrP0pIL m6jTh5RzhBCf3DXLwi2SrCG5yzv8QMHBgyHwv/j2nPqcghDA0I5O5Q1MsJFckLSk QFEW2uSEEi0FXKEfFxkkUap66uEHG4aNA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0CT33KpuMZmYzc4ZCIwojvxuch7yPspOqsactIGEk72gtQjbz7Dk+XYtsDe3CMW 1hMwt6CaDixVBgBwAc/qOR2A24j3pSC4W/0xJmmPLQphgzpHphNULB7j7UTKvGof KA5R2d4On3XNDgOVyvnFqSot/kGkoUeuDcL5OWYzSlvhhChZbH2UF3bkRYKtcCD9 0m9jqNf6oDP6N8v3smWe2lBvP+Sn845dWDKXcCMu5/3EFZucJ48y7RetWIExKREa m9T8bJUox04FB6b9HbwZ4ui3uRGKLXASUoWNjDNKD/yZkuBjcNqllEdjB+dYxzFf BT02Vf6Dsuimrdfp5gJ0iHRc2jTbkNJtUQoj1iM= -----END CERTIFICATE----- 2021-08-03 10:05:51.680 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Verifying server SSL certificate using 155 root certificates 2021-08-03 10:05:51.701 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Server SSL certificate verified using root certificate(122): -----BEGIN CERTIFICATE----- MIIF3jCCA8agAwIBAgIQAf1tMPyjylGoG7xkDjUDLTANBgkqhkiG9w0BAQwFADCBiDELMAkG A1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4w HAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0Eg Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTAwMjAxMDAwMDAwWhcNMzgwMTE4MjM1OTU5 WjCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNl eSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJU cnVzdCBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwggIiMA0GCSqGSIb3DQEBAQUAA4IC DwAwggIKAoICAQCAEmUXNg7D2wiz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iQycE0xyNN+81XHfqnHd4blsjDwSXWXavVcStkNr/+XeTWYRUc+ZruwX tuhxkYzeSf7dNXGiFSeUHM9h4ya7b6NnJSFd5t0dCy5oGzuCr+yDZ4XUmFF0sbmZgIn/f3gZ XHlKYC6SQK5MNyosycdiyA5d9zZbyuAlJQG03RoHnHcAP9Dc1ew91Pq7P8yF1m9/qS3fuQL3 9ZeatTXaw2ewh0qpKJ4jjv9cJ2vhsE/zB+4ALtRZh8tSQZXq9EfX7mRBVXyNWQKV3WKdwrnu Wih0hKWbt5DHDAff9Yk2dDLWKMGwsAvgnEzDHNb842m1R0aBL6KCq9NjRHDEjf8tM7qtj3u1 cIiuPhnPQCjY/MiQu12ZIvVS5ljFH4gxQ+6IHdfGjjxDah2nGN59PRbxYvnKkKj9 -----END CERTIFICATE----- 2021-08-03 10:05:51.702 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::initiate_client_handshake() 2021-08-03 10:05:51.703 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP request = GET /api/client/v2.0/app/rchat-saxgm/realm-sync HTTP/1.1 Host: ws.realm.mongodb.com Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsImJhYXNfZG9tYWluX2lkIjoiNWZkOWVkZTYxOTE5YTJkZjA0NDk3MzY3IiwiZXhwIjoxNjI3OTc5MDcwLCJpYXQiOjE2Mjc5NzcyNzAsImlzcyI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3YzlhMyIsInN0aXRjaF9kZXZJZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsInN0aXRjaF9kb21haW5JZCI6IjVmZDllZGU2MTkxOWEyZGYwNDQ5NzM2NyIsInN1YiI6IjYxMDhmNjM1NjZmOTE5OWJkNTg3YzkyOSIsInR5cCI6ImFjY2VzcyJ9.cE3QYuurTlaCyUW8TGDG__KE7G_sxLGZiVBfB6SJh24 Connection: Upgrade Sec-WebSocket-Key: LLagXCqyEC3Qz7PENn5Hbg== Sec-WebSocket-Protocol: com.mongodb.realm-sync/3, com.mongodb.realm-sync/2 Sec-WebSocket-Version: 13 Upgrade: websocket User-Agent: RealmSync/11.0.3 (Android Linux 5.4.61-android11-2-00064-g4271ad6e8ade-ab6991359 #1 SMP PREEMPT Mon Nov 23 17:45:44 UTC 2020 x86_64) RealmJava/10.6.1 (generic_x86_64_arm64, sdk_gphone_x86_64_arm64, v30) Unknown 2021-08-03 10:05:51.767 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::handle_http_response_received() 2021-08-03 10:05:51.767 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP response = HTTP/1.1 101 Switching Protocols cache-control: no-cache, no-store, must-revalidate connection: Upgrade date: Tue, 03 Aug 2021 08:05:52 GMT sec-websocket-accept: qLyT0EJuwQhF8bVWbH/3ijz63QY= sec-websocket-protocol: com.mongodb.realm-sync/3 server: envoy upgrade: websocket vary: Origin x-frame-options: DENY 2021-08-03 10:05:51.767 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Negotiated protocol version: 3 2021-08-03 10:05:51.767 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Will emit a ping in 25785 milliseconds 2021-08-03 10:05:51.767 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: BIND(path='"user=6108f63566f9199bd587c929"', signed_user_token_size=469, need_client_file_ident=0, is_subserver=0) 2021-08-03 10:05:51.768 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: IDENT(client_file_ident=94, client_file_ident_salt=3867574551703976148, scan_server_version=0, scan_client_version=0, latest_server_version=0, latest_server_version_salt=0) 2021-08-03 10:05:51.768 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: MARK(request_ident=6) 2021-08-03 10:06:17.577 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Sending: PING(timestamp=472845068, rtt=0) 2021-08-03 10:08:17.586 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Timeout on reception of PONG message 2021-08-03 10:08:17.587 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Connection closed due to error 2021-08-03 10:08:17.593 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Resolving 'ws.realm.mongodb.com:443' 2021-08-03 10:08:17.609 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Connecting to endpoint '52.16.113.157:443' (1/1) 2021-08-03 10:08:17.645 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Connected to endpoint '52.16.113.157:443' (from '10.0.2.16:59910') 2021-08-03 10:08:17.685 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Verifying server SSL certificate using root certificates, host name = ws.realm.mongodb.com, server port = 443, certificate = -----BEGIN CERTIFICATE----- MIIF6TCCA9GgAwIBAgIQBeTcO5Q4qzuFl8umoZhQ4zANBgkqhkiG9w0BAQwFADCB iDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0pl cnNleSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNV BAMTJVVTRVJUcnVzdCBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTQw OTEyMDAwMDAwWhcNMjQwOTExMjM1OTU5WjBfMQswCQYDVQQGEwJGUjEOMAwGA1UE CBMFUGFyaXMxDjAMBgNVBAcTBVBhcmlzMQ4wDAYDVQQKEwVHYW5kaTEgMB4GA1UE AxMXR2FuZGkgU3RhbmRhcmQgU1NMIENBIDIwggEiMA0GCSqGSIb3DQEBAQUAA4IB DwAwggEKAoIBAQCUBC2meZV0/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o8tqxyI yW5+1mUfr13KFj8oRtygNeX56eXVlogMT8a3d2dIhCe2H7Bo26y/d7CQuKLJHDJd ArolQ4FCR7vY4Y8MDEZf7kYzawMUgtN+zY+vkNaOJH1AQrRqahfGlZfh8jjNp+20 J0CT33KpuMZmYzc4ZCIwojvxuch7yPspOqsactIGEk72gtQjbz7Dk+XYtsDe3CMW 1hMwt6CaDixVBgBwAc/qOR2A24j3pSC4W/0xJmmPLQphgzpHphNULB7j7UTKvGof KA5R2d4On3XNDgOVyvnFqSot/kGkoUeuDcL5OWYzSlvhhChZbH2UF3bkRYKtcCD9 0m9jqNf6oDP6N8v3smWe2lBvP+Sn845dWDKXcCMu5/3EFZucJ48y7RetWIExKREa m9T8bJUox04FB6b9HbwZ4ui3uRGKLXASUoWNjDNKD/yZkuBjcNqllEdjB+dYxzFf BT02Vf6Dsuimrdfp5gJ0iHRc2jTbkNJtUQoj1iM= -----END CERTIFICATE----- 2021-08-03 10:08:17.685 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Verifying server SSL certificate using 155 root certificates 2021-08-03 10:08:17.706 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Server SSL certificate verified using root certificate(122): -----BEGIN CERTIFICATE----- MIIF3jCCA8agAwIBAgIQAf1tMPyjylGoG7xkDjUDLTANBgkqhkiG9w0BAQwFADCBiDELMAkG A1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4w HAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0Eg Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTAwMjAxMDAwMDAwWhcNMzgwMTE4MjM1OTU5 WjCBiDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNl eSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSV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7gtNn3/3ATiUFJVDBwn7YKnuHKsSjKCaXqeYalltiz8I+8jR Ra8YFWSQEg9zKC7F4iRO/Fjs8PRF/iKz6y+O0tlFYQXBl2+odnKPi4w2r78NBc5xjeambx9s pnFixdjQg3IM8WcRiQycE0xyNN+81XHfqnHd4blsjDwSXWXavVcStkNr/+XeTWYRUc+ZruwX tuhxkYzeSf7dNXGiFSeUHM9h4ya7b6NnJSFd5t0dCy5oGzuCr+yDZ4XUmFF0sbmZgIn/f3gZ XHlKYC6SQK5MNyosycdiyA5d9zZbyuAlJQG03RoHnHcAP9Dc1ew91Pq7P8yF1m9/qS3fuQL3 9ZeatTXaw2ewh0qpKJ4jjv9cJ2vhsE/zB+4ALtRZh8tSQZXq9EfX7mRBVXyNWQKV3WKdwrnu Wih0hKWbt5DHDAff9Yk2dDLWKMGwsAvgnEzDHNb842m1R0aBL6KCq9NjRHDEjf8tM7qtj3u1 cIiuPhnPQCjY/MiQu12ZIvVS5ljFH4gxQ+6IHdfGjjxDah2nGN59PRbxYvnKkKj9 -----END CERTIFICATE----- 2021-08-03 10:08:17.707 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::initiate_client_handshake() 2021-08-03 10:08:17.707 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP request = GET /api/client/v2.0/app/rchat-saxgm/realm-sync HTTP/1.1 Host: ws.realm.mongodb.com Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsImJhYXNfZG9tYWluX2lkIjoiNWZkOWVkZTYxOTE5YTJkZjA0NDk3MzY3IiwiZXhwIjoxNjI3OTc5MDcwLCJpYXQiOjE2Mjc5NzcyNzAsImlzcyI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3YzlhMyIsInN0aXRjaF9kZXZJZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsInN0aXRjaF9kb21haW5JZCI6IjVmZDllZGU2MTkxOWEyZGYwNDQ5NzM2NyIsInN1YiI6IjYxMDhmNjM1NjZmOTE5OWJkNTg3YzkyOSIsInR5cCI6ImFjY2VzcyJ9.cE3QYuurTlaCyUW8TGDG__KE7G_sxLGZiVBfB6SJh24 Connection: Upgrade Sec-WebSocket-Key: wfW5jgwqCSdnQWQbISPkbw== Sec-WebSocket-Protocol: com.mongodb.realm-sync/3, com.mongodb.realm-sync/2 Sec-WebSocket-Version: 13 Upgrade: websocket User-Agent: RealmSync/11.0.3 (Android Linux 5.4.61-android11-2-00064-g4271ad6e8ade-ab6991359 #1 SMP PREEMPT Mon Nov 23 17:45:44 UTC 2020 x86_64) RealmJava/10.6.1 (generic_x86_64_arm64, sdk_gphone_x86_64_arm64, v30) Unknown 2021-08-03 10:08:17.792 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::handle_http_response_received() 2021-08-03 10:08:17.792 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP response = HTTP/1.1 101 Switching Protocols cache-control: no-cache, no-store, must-revalidate connection: Upgrade date: Tue, 03 Aug 2021 08:08:18 GMT sec-websocket-accept: 4ZniHc6anjJsSH8L59y5tqpetbo= sec-websocket-protocol: com.mongodb.realm-sync/3 server: envoy upgrade: websocket vary: Origin x-frame-options: DENY 2021-08-03 10:08:17.792 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Negotiated protocol version: 3 2021-08-03 10:08:17.793 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Will emit a ping in 36172 milliseconds 2021-08-03 10:08:17.793 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: BIND(path='"user=6108f63566f9199bd587c929"', signed_user_token_size=469, need_client_file_ident=0, is_subserver=0) 2021-08-03 10:08:17.793 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: IDENT(client_file_ident=94, client_file_ident_salt=3867574551703976148, scan_server_version=0, scan_client_version=0, latest_server_version=0, latest_server_version_salt=0) 2021-08-03 10:08:17.793 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: MARK(request_ident=7) 2021-08-03 10:08:54.008 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Sending: PING(timestamp=473001500, rtt=0) 2021-08-03 10:10:54.031 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Timeout on reception of PONG message 2021-08-03 10:10:54.032 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Connection closed due to error 2021-08-03 10:10:54.035 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Resolving 'ws.realm.mongodb.com:443' 2021-08-03 10:10:54.045 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Connecting to endpoint '52.16.113.157:443' (1/1) 2021-08-03 10:10:54.080 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Connected to endpoint '52.16.113.157:443' (from '10.0.2.16:59912') 2021-08-03 10:10:54.121 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Verifying server SSL certificate using root certificates, host name = ws.realm.mongodb.com, server port = 443, certificate = -----BEGIN CERTIFICATE----- MIIF6TCCA9GgAwIBAgIQBeTcO5Q4qzuFl8umoZhQ4zANBgkqhkiG9w0BAQwFADCB iDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0pl cnNleSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNV BAMTJVVTRVJUcnVzdCBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTQw OTEyMDAwMDAwWhcNMjQwOTExMjM1OTU5WjBfMQswCQYDVQQGEwJGUjEOMAwGA1UE CBMFUGFyaXMxDjAMBgNVB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qaPWMcwO7lWUX zi8c3ZgTopHJ7qFAbjyY1lzzsiI8Le4bpOHeICQW8owRc5E69vrOJAKHypPstLbI FhfFcvwnQPYT/pOmnVHvPCvYd1ebjGU6NSU2t7WKY28HJ5OxYI2A25bUeo8tqxyI yW5+1mUfr13KFj8oRtygNeX56eXVlogMT8a3d2dIhCe2H7Bo26y/d7CQuKLJHDJd ArolQ4FCR7vY4Y8MDEZf7kYzawMUgtN+zY+vkNaOJH1AQrRqahfGlZfh8jjNp+20 J0CT33KpuMZmYzc4ZCIwojvxuch7yPspOqsactIGEk72gtQjbz7Dk+XYtsDe3CMW 1hMwt6CaDixVBgBwAc/qOR2A24j3pSC4W/0xJmmPLQphgzpHphNULB7j7UTKvGof KA5R2d4On3XNDgOVyvnFqSot/kGkoUeuDcL5OWYzSlvhhChZbH2UF3bkRYKtcCD9 0m9jqNf6oDP6N8v3smWe2lBvP+Sn845dWDKXcCMu5/3EFZucJ48y7RetWIExKREa m9T8bJUox04FB6b9HbwZ4ui3uRGKLXASUoWNjDNKD/yZkuBjcNqllEdjB+dYxzFf BT02Vf6Dsuimrdfp5gJ0iHRc2jTbkNJtUQoj1iM= -----END CERTIFICATE----- 2021-08-03 10:10:54.122 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Verifying server SSL certificate using 155 root certificates 2021-08-03 10:10:54.143 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Server SSL certificate verified using root certificate(122): -----BEGIN CERTIFICATE----- MIIF3jCCA8agAwIBAgIQAf1tMPyjylGoG7xkDjUDLTANBgkqhkiG9w0BAQwFADCBiDELMAkG A1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNleSBDaXR5MR4w HAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNVBAMTJVVTRVJUcnVzdCBSU0Eg Q2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTAwMjAxMDAw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fA3P9wF9QZllDHPFUp/L+M+ZBn8b2kMVn54CVVeW FPFSPCeHlCjtHzoBN6J2/FNQwISbxmtOuowhT6KOVWKR82kV2LyI48SqC/3vqOlLVSoGIG1V eCkZ7l8wXEskEVX/JJpuXior7gtNn3/3ATiUFJVDBwn7YKnuHKsSjKCaXqeYalltiz8I+8jR Ra8YFWSQEg9zKC7F4iRO/Fjs8PRF/iKz6y+O0tlFYQXBl2+odnKPi4w2r78NBc5xjeambx9s pnFixdjQg3IM8WcRiQycE0xyNN+81XHfqnHd4blsjDwSXWXavVcStkNr/+XeTWYRUc+ZruwX tuhxkYzeSf7dNXGiFSeUHM9h4ya7b6NnJSFd5t0dCy5oGzuCr+yDZ4XUmFF0sbmZgIn/f3gZ XHlKYC6SQK5MNyosycdiyA5d9zZbyuAlJQG03RoHnHcAP9Dc1ew91Pq7P8yF1m9/qS3fuQL3 9ZeatTXaw2ewh0qpKJ4jjv9cJ2vhsE/zB+4ALtRZh8tSQZXq9EfX7mRBVXyNWQKV3WKdwrnu Wih0hKWbt5DHDAff9Yk2dDLWKMGwsAvgnEzDHNb842m1R0aBL6KCq9NjRHDEjf8tM7qtj3u1 cIiuPhnPQCjY/MiQu12ZIvVS5ljFH4gxQ+6IHdfGjjxDah2nGN59PRbxYvnKkKj9 -----END CERTIFICATE----- 2021-08-03 10:10:54.144 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::initiate_client_handshake() 2021-08-03 10:10:54.144 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP request = GET /api/client/v2.0/app/rchat-saxgm/realm-sync HTTP/1.1 Host: ws.realm.mongodb.com Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsImJhYXNfZG9tYWluX2lkIjoiNWZkOWVkZTYxOTE5YTJkZjA0NDk3MzY3IiwiZXhwIjoxNjI3OTc5MDcwLCJpYXQiOjE2Mjc5NzcyNzAsImlzcyI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3YzlhMyIsInN0aXRjaF9kZXZJZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsInN0aXRjaF9kb21haW5JZCI6IjVmZDllZGU2MTkxOWEyZGYwNDQ5NzM2NyIsInN1YiI6IjYxMDhmNjM1NjZmOTE5OWJkNTg3YzkyOSIsInR5cCI6ImFjY2VzcyJ9.cE3QYuurTlaCyUW8TGDG__KE7G_sxLGZiVBfB6SJh24 Connection: Upgrade Sec-WebSocket-Key: mQzCyujYiQnb7ki7whVIyg== Sec-WebSocket-Protocol: com.mongodb.realm-sync/3, com.mongodb.realm-sync/2 Sec-WebSocket-Version: 13 Upgrade: websocket User-Agent: RealmSync/11.0.3 (Android Linux 5.4.61-android11-2-00064-g4271ad6e8ade-ab6991359 #1 SMP PREEMPT Mon Nov 23 17:45:44 UTC 2020 x86_64) RealmJava/10.6.1 (generic_x86_64_arm64, sdk_gphone_x86_64_arm64, v30) Unknown 2021-08-03 10:10:54.223 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::handle_http_response_received() 2021-08-03 10:10:54.223 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP response = HTTP/1.1 101 Switching Protocols cache-control: no-cache, no-store, must-revalidate connection: Upgrade date: Tue, 03 Aug 2021 08:10:54 GMT sec-websocket-accept: xO4A+PWFiFP8+4F38LNlLn2xLtQ= sec-websocket-protocol: com.mongodb.realm-sync/3 server: envoy upgrade: websocket vary: Origin x-frame-options: DENY 2021-08-03 10:10:54.223 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Negotiated protocol version: 3 2021-08-03 10:10:54.223 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Will emit a ping in 11499 milliseconds 2021-08-03 10:10:54.223 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: BIND(path='"user=6108f63566f9199bd587c929"', signed_user_token_size=469, need_client_file_ident=0, is_subserver=0) 2021-08-03 10:10:54.225 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: IDENT(client_file_ident=94, client_file_ident_salt=3867574551703976148, scan_server_version=0, scan_client_version=0, latest_server_version=0, latest_server_version_salt=0) 2021-08-03 10:10:54.225 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: MARK(request_ident=8) 2021-08-03 10:11:05.763 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Sending: PING(timestamp=473133255, rtt=0) 2021-08-03 10:13:05.793 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Timeout on reception of PONG message 2021-08-03 10:13:05.793 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Connection closed due to error 2021-08-03 10:13:05.796 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Resolving 'ws.realm.mongodb.com:443' 2021-08-03 10:13:05.813 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Connecting to endpoint '34.241.208.56:443' (1/1) 2021-08-03 10:13:05.845 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Connected to endpoint '34.241.208.56:443' (from '10.0.2.16:60646') 2021-08-03 10:13:05.882 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Verifying server SSL certificate using root certificates, host name = ws.realm.mongodb.com, server port = 443, certificate = -----BEGIN CERTIFICATE----- MIIF6TCCA9GgAwIBAgIQBeTcO5Q4qzuFl8umoZhQ4zANBgkqhkiG9w0BAQwFADCB iDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0pl cnNleSBDaXR5MR4wHAYDVQQKExVUaGUgVVNFUlRSVVNUIE5ldHdvcmsxLjAsBgNV BAMTJVVTRVJUcnVz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mNydDAlBggrBgEFBQcwAYYZ aHR0cDovL29jc3AudXNlcnRydXN0LmNvbTANBgkqhkiG9w0BAQwFAAOCAgEAWGf9 crJq13xhlhl+2UNG0SZ9yFP6ZrBrLafTqlb3OojQO3LJUP33WbKqaPWMcwO7lWUX zi8c3ZgTopHJ7qFAbjyY1lzzsiI8Le4bpOHeICQW8owRc5E69vrOJAKHypPstLbI FhfFcvwnQPYT/pOmnVHvPCvYd1ebjGU6NSU2t7WKY28HJ5OxYI2A25bUeo8tqxyI yW5+1mUfr13KFj8oRtygNeX56eXVlogMT8a3d2dIhCe2H7Bo26y/d7CQuKLJHDJd ArolQ4FCR7vY4Y8MDEZf7kYzawMUgtN+zY+vkNaOJH1AQrRqahfGlZfh8jjNp+20 J0CT33KpuMZmYzc4ZCIwojvxuch7yPspOqsactIGEk72gtQjbz7Dk+XYtsDe3CMW 1hMwt6CaDixVBgBwAc/qOR2A24j3pSC4W/0xJmmPLQphgzpHphNULB7j7UTKvGof KA5R2d4On3XNDgOVyvnFqSot/kGkoUeuDcL5OWYzSlvhhChZbH2UF3bkRYKtcCD9 0m9jqNf6oDP6N8v3smWe2lBvP+Sn845dWDKXcCMu5/3EFZucJ48y7RetWIExKREa m9T8bJUox04FB6b9HbwZ4ui3uRGKLXASUoWNjDNKD/yZkuBjcNqllEdjB+dYxzFf BT02Vf6Dsuimrdfp5gJ0iHRc2jTbkNJtUQoj1iM= -----END CERTIFICATE----- 2021-08-03 10:13:05.883 31256-31503/com.mongodb.rchatapp I/REALM_SYNC: Connection[2]: Verifying server SSL certificate using 155 root certificates 2021-08-03 10:13:05.911 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Server SSL certificate verified using root certificate(122): -----BEGIN CERTIFICATE----- MIIF3jCCA8agAwIBAgIQAf1tMPyjylGoG7xkDjUDLTANBgkqhkiG9w0BAQwFADCBiDELMAkG A1UEBhMCVVMxEzARBgNVBAgTCk5ldyBKZXJzZXkxFDASBgNVBAcTC0plcnNle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t7y+CDwIDAQABo0IwQDAdBgNVHQ4E FgQUU3m/WqorSs9UgOHYm8Cd8rIDZsswDgYDVR0PAQH/BAQDAgEGMA8GA1UdEwEB/wQFMAMB Af8wDQYJKoZIhvcNAQEMBQADggIBAFzUfA3P9wF9QZllDHPFUp/L+M+ZBn8b2kMVn54CVVeW FPFSPCeHlCjtHzoBN6J2/FNQwISbxmtOuowhT6KOVWKR82kV2LyI48SqC/3vqOlLVSoGIG1V eCkZ7l8wXEskEVX/JJpuXior7gtNn3/3ATiUFJVDBwn7YKnuHKsSjKCaXqeYalltiz8I+8jR Ra8YFWSQEg9zKC7F4iRO/Fjs8PRF/iKz6y+O0tlFYQXBl2+odnKPi4w2r78NBc5xjeambx9s pnFixdjQg3IM8WcRiQycE0xyNN+81XHfqnHd4blsjDwSXWXavVcStkNr/+XeTWYRUc+ZruwX tuhxkYzeSf7dNXGiFSeUHM9h4ya7b6NnJSFd5t0dCy5oGzuCr+yDZ4XUmFF0sbmZgIn/f3gZ XHlKYC6SQK5MNyosycdiyA5d9zZbyuAlJQG03RoHnHcAP9Dc1ew91Pq7P8yF1m9/qS3fuQL3 9ZeatTXaw2ewh0qpKJ4jjv9cJ2vhsE/zB+4ALtRZh8tSQZXq9EfX7mRBVXyNWQKV3WKdwrnu Wih0hKWbt5DHDAff9Yk2dDLWKMGwsAvgnEzDHNb842m1R0aBL6KCq9NjRHDEjf8tM7qtj3u1 cIiuPhnPQCjY/MiQu12ZIvVS5ljFH4gxQ+6IHdfGjjxDah2nGN59PRbxYvnKkKj9 -----END CERTIFICATE----- 2021-08-03 10:13:05.912 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::initiate_client_handshake() 2021-08-03 10:13:05.912 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP request = GET /api/client/v2.0/app/rchat-saxgm/realm-sync HTTP/1.1 Host: ws.realm.mongodb.com Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RldmljZV9pZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsImJhYXNfZG9tYWluX2lkIjoiNWZkOWVkZTYxOTE5YTJkZjA0NDk3MzY3IiwiZXhwIjoxNjI3OTc5MDcwLCJpYXQiOjE2Mjc5NzcyNzAsImlzcyI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3YzlhMyIsInN0aXRjaF9kZXZJZCI6IjYxMDhmNjM2NjZmOTE5OWJkNTg3Yzk5YSIsInN0aXRjaF9kb21haW5JZCI6IjVmZDllZGU2MTkxOWEyZGYwNDQ5NzM2NyIsInN1YiI6IjYxMDhmNjM1NjZmOTE5OWJkNTg3YzkyOSIsInR5cCI6ImFjY2VzcyJ9.cE3QYuurTlaCyUW8TGDG__KE7G_sxLGZiVBfB6SJh24 Connection: Upgrade Sec-WebSocket-Key: sXIPTJ1X1k/b3R5lIO2vRA== Sec-WebSocket-Protocol: com.mongodb.realm-sync/3, com.mongodb.realm-sync/2 Sec-WebSocket-Version: 13 Upgrade: websocket User-Agent: RealmSync/11.0.3 (Android Linux 5.4.61-android11-2-00064-g4271ad6e8ade-ab6991359 #1 SMP PREEMPT Mon Nov 23 17:45:44 UTC 2020 x86_64) RealmJava/10.6.1 (generic_x86_64_arm64, sdk_gphone_x86_64_arm64, v30) Unknown 2021-08-03 10:13:05.984 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: WebSocket::handle_http_response_received() 2021-08-03 10:13:05.984 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: HTTP response = HTTP/1.1 101 Switching Protocols cache-control: no-cache, no-store, must-revalidate connection: Upgrade date: Tue, 03 Aug 2021 08:13:06 GMT sec-websocket-accept: KmQ3mnIy4VenTO4qr+n6CsR0aMA= sec-websocket-protocol: com.mongodb.realm-sync/3 server: envoy upgrade: websocket vary: Origin x-frame-options: DENY 2021-08-03 10:13:05.984 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Negotiated protocol version: 3 2021-08-03 10:13:05.984 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Will emit a ping in 23560 milliseconds 2021-08-03 10:13:05.984 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: BIND(path='"user=6108f63566f9199bd587c929"', signed_user_token_size=469, need_client_file_ident=0, is_subserver=0) 2021-08-03 10:13:05.984 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: IDENT(client_file_ident=94, client_file_ident_salt=3867574551703976148, scan_server_version=0, scan_client_version=0, latest_server_version=0, latest_server_version_salt=0) 2021-08-03 10:13:05.985 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: MARK(request_ident=9) 2021-08-03 10:13:29.584 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Sending: PING(timestamp=473277076, rtt=0) 2021-08-03 10:14:55.114 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: Download message compression: is_body_compressed = 0, compressed_body_size=584, uncompressed_body_size=584 2021-08-03 10:14:55.114 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: Received: DOWNLOAD CHANGESET(server_version=131, client_version=0, origin_timestamp=207907986858, origin_file_ident=104, original_changeset_size=553, changeset_size=553) 2021-08-03 10:14:55.114 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: Changeset: 3F 00 0B 43 68 61 74 4D 65 73 73 61 67 65 3F 01 03 5F 69 64 3F 02 08 43 68 61 74 73 74 65 72 3F 03 0C 43 6F 6E 76 65 72 73 61 74 69 6F 6E 3F 04 06 4D 65 6D 62 65 72 3F 05 05 50 68 6F 74 6F 3F 06 04 55 73 65 72 3F 07 0F 55 73 65 72 50 72 65 66 65 72 65 6E 63 65 73 3F 08 06 61 75 74 68 6F 72 3F 09 07 61 75 74 68 6F 72 32 3F 0A 05 69 6D 61 67 65 3F 0B 08 6C 6F 63 61 74 69 6F 6E 3F 0C 09 70 61 72 74 69 74 69 6F 6E 3F 0D 04 74 65 78 74 3F 0E 09 74 69 6D 65 73 74 61 6D 70 3F 0F 0B 61 76 61 74 61 72 49 6D 61 67 65 3F 10 0B 64 69 73 70 6C 61 79 4E 61 6D 65 3F 11 0A 6C 61 73 74 53 65 65 6E 41 74 3F 12 08 70 72 65 73 65 6E 63 65 3F 13 08 75 73 65 72 4E 61 6D 65 3F 14 02 69 64 3F 15 07 6D 65 6D 62 65 72 73 3F 16 0B 75 6E 72 65 61 64 43 6F 75 6E 74 3F 17 10 6D 65 6D 62 65 72 73 68 69 70 53 74 61 74 75 73 3F 18 04 64 61 74 65 3F 19 07 70 69 63 74 75 72 65 3F 1A 09 74 68 75 6D 62 4E 61 69 6C 3F 1B 0D 63 6F 6E 76 65 72 73 61 74 69 6F 6E 73 3F 1C 0F 75 73 65 72 50 72 65 66 65 72 65 6E 63 65 73 00 00 00 01 03 00 00 02 00 01 03 00 00 03 01 00 04 01 00 05 01 00 06 00 01 03 00 00 07 01 06 00 08 03 01 00 06 00 09 03 01 00 06 00 0A 09 01 00 05 06 00 0B 07 00 01 06 00 0C 03 00 00 06 00 0D 03 00 00 06 00 0E 05 00 00 06 02 0F 09 01 00 05 06 02 10 03 01 00 06 02 11 05 01 00 06 02 0C 03 00 00 06 02 12 03 00 00 06 02 13 03 00 00 06 03 10 03 00 00 06 03 14 03 00 00 06 03 15 09 00 01 04 06 03 16 01 00 00 06 04 17 03 00 00 06 04 13 03 00 00 06 05 01 03 00 00 06 05 18 05 00 00 06 05 19 04 01 00 06 05 1A 04 01 00 06 06 1B 09 00 01 03 06 06 11 05 01 00 06 06 0C 03 00 00 06 06 12 03 00 00 06 06 13 03 00 00 06 06 1C 09 01 00 07 06 07 0F 09 01 00 05 06 07 10 03 01 00 2021-08-03 10:14:55.114 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Received: DOWNLOAD(download_server_version=131, download_client_version=0, latest_server_version=131, latest_server_version_salt=8413758219672296873, upload_client_version=0, upload_server_version=0, downloadable_bytes=0, num_changesets=1, ...) 2021-08-03 10:14:55.115 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Using already open Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 10:14:55.116 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: Session[2]: Scanning incoming changeset [1/1] (38 instructions) 2021-08-03 10:14:55.116 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: Session[2]: Scanning local changeset [1/1] (36 instructions) 2021-08-03 10:14:55.116 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: Session[2]: Indexing incoming changeset [1/1] (38 instructions) 2021-08-03 10:14:55.116 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Finished changeset indexing (incoming: 1 changeset(s) / 38 instructions, local: 1 changeset(s) / 36 instructions, conflict group(s): 1) 2021-08-03 10:14:55.116 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: Session[2]: Transforming local changeset [1/1] through 1 incoming changeset(s) with 1 conflict group(s) 2021-08-03 10:14:55.117 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Finished transforming 1 local changesets through 1 incoming changesets (36 vs 38 instructions, in 1 conflict groups) 2021-08-03 10:14:55.123 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: 1 remote changeset integrated, producing client version 4 2021-08-03 10:14:55.123 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Using already open Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 10:14:55.123 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Progress handler called, downloaded = 553, downloadable(total) = 553, uploaded = 0, uploadable = 534, reliable_download_progress = true, snapshot version = 4 2021-08-03 10:14:55.123 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Received: MARK(request_ident=9) 2021-08-03 10:14:55.123 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Using already open Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 10:14:55.123 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: UPLOAD(progress_client_version=4, progress_server_version=131, locked_server_version=131, num_changesets=1) 2021-08-03 10:14:55.123 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: Session[2]: Fetching changeset for upload (client_version=2, server_version=0, changeset_size=534, origin_timestamp=207906871252, origin_file_ident=0) 2021-08-03 10:14:55.124 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: Session[2]: Changeset: 3F 00 0B 43 68 61 74 4D 65 73 73 61 67 65 3F 01 03 5F 69 64 00 00 00 01 03 00 3F 02 08 43 68 61 74 73 74 65 72 00 02 00 01 03 00 3F 03 0C 43 6F 6E 76 65 72 73 61 74 69 6F 6E 00 03 01 3F 04 06 4D 65 6D 62 65 72 00 04 01 3F 05 05 50 68 6F 74 6F 00 05 01 3F 06 04 55 73 65 72 00 06 00 01 03 00 3F 07 0F 55 73 65 72 50 72 65 66 65 72 65 6E 63 65 73 00 07 01 3F 08 06 61 75 74 68 6F 72 3F 09 00 06 00 08 03 01 00 3F 0A 05 69 6D 61 67 65 06 00 0A 09 01 00 05 3F 0B 08 6C 6F 63 61 74 69 6F 6E 06 00 0B 07 00 01 3F 0C 09 70 61 72 74 69 74 69 6F 6E 06 00 0C 03 00 00 3F 0D 04 74 65 78 74 06 00 0D 03 00 00 3F 0E 09 74 69 6D 65 73 74 61 6D 70 06 00 0E 05 00 00 3F 0F 0B 61 76 61 74 61 72 49 6D 61 67 65 06 02 0F 09 01 00 05 3F 10 0B 64 69 73 70 6C 61 79 4E 61 6D 65 06 02 10 03 01 00 3F 11 0A 6C 61 73 74 53 65 65 6E 41 74 06 02 11 05 01 00 06 02 0C 03 00 00 3F 12 08 70 72 65 73 65 6E 63 65 06 02 12 03 00 00 3F 13 08 75 73 65 72 4E 61 6D 65 06 02 13 03 00 00 3F 14 02 69 64 06 03 14 03 00 00 06 03 10 03 00 00 3F 15 07 6D 65 6D 62 65 72 73 06 03 15 09 00 01 04 3F 16 0B 75 6E 72 65 61 64 43 6F 75 6E 74 06 03 16 01 00 00 3F 17 10 6D 65 6D 62 65 72 73 68 69 70 53 74 61 74 75 73 06 04 17 03 00 00 06 04 13 03 00 00 3F 18 04 64 61 74 65 06 05 18 05 00 00 3F 19 07 70 69 63 74 75 72 65 06 05 19 04 01 00 3F 1A 09 74 68 75 6D 62 4E 61 69 6C 06 05 1A 04 01 00 3F 1B 0D 63 6F 6E 76 65 72 73 61 74 69 6F 6E 73 06 06 1B 09 00 01 03 06 06 11 05 01 00 06 06 0C 03 00 00 06 06 12 03 00 00 06 06 13 03 00 00 3F 1C 0F 75 73 65 72 50 72 65 66 65 72 65 6E 63 65 73 06 06 1C 09 01 00 07 06 07 0F 09 01 00 05 06 07 10 03 01 00 2021-08-03 10:14:55.124 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Upload compaction: original size = 534, compacted size = 534 2021-08-03 10:14:55.124 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Received: PONG(timestamp=473277076) 2021-08-03 10:14:55.125 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Round trip time was 85541 milliseconds 2021-08-03 10:14:55.125 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Will emit a ping in 0 milliseconds 2021-08-03 10:14:55.125 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Using already open Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 10:14:55.125 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Progress handler called, downloaded = 553, downloadable(total) = 553, uploaded = 0, uploadable = 534, reliable_download_progress = true, snapshot version = 4 2021-08-03 10:14:55.125 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Sending: PING(timestamp=473362617, rtt=85541) 2021-08-03 10:14:56.747 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: Download message compression: is_body_compressed = 0, compressed_body_size=0, uncompressed_body_size=0 2021-08-03 10:14:56.748 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Received: DOWNLOAD(download_server_version=132, download_client_version=2, latest_server_version=132, latest_server_version_salt=2137838430739835720, upload_client_version=4, upload_server_version=131, downloadable_bytes=0, num_changesets=0, ...) 2021-08-03 10:14:56.748 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Using already open Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 10:14:56.756 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Using already open Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 10:14:56.756 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: UPLOAD(progress_client_version=5, progress_server_version=132, locked_server_version=132, num_changesets=0) 2021-08-03 10:14:56.756 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Using already open Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 10:14:56.756 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Progress handler called, downloaded = 553, downloadable(total) = 553, uploaded = 534, uploadable = 534, reliable_download_progress = true, snapshot version = 5 2021-08-03 10:14:56.756 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Received: PONG(timestamp=473362617) 2021-08-03 10:14:56.756 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Round trip time was 1632 milliseconds 2021-08-03 10:14:56.756 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Will emit a ping in 57707 milliseconds 2021-08-03 10:15:15.485 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Connection[2]: Download message compression: is_body_compressed = 0, compressed_body_size=0, uncompressed_body_size=0 2021-08-03 10:15:15.486 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Received: DOWNLOAD(download_server_version=133, download_client_version=2, latest_server_version=133, latest_server_version_salt=7654881599042084126, upload_client_version=5, upload_server_version=132, downloadable_bytes=0, num_changesets=0, ...) 2021-08-03 10:15:15.486 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Using already open Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 10:15:15.496 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Using already open Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 10:15:15.496 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Sending: UPLOAD(progress_client_version=6, progress_server_version=133, locked_server_version=133, num_changesets=0) 2021-08-03 10:15:15.496 31256-31503/com.mongodb.rchatapp V/REALM_SYNC: Using already open Realm file: /data/user/0/com.mongodb.rchatapp/files/mongodb-realm/rchat-saxgm/6108f63566f9199bd587c929/s_user%3D6108f63566f9199bd587c929.realm 2021-08-03 10:15:15.496 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Session[2]: Progress handler called, downloaded = 553, downloadable(total) = 553, uploaded = 534, uploadable = 534, reliable_download_progress = true, snapshot version = 6 2021-08-03 10:15:54.475 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Sending: PING(timestamp=473421967, rtt=1632) 2021-08-03 10:15:54.524 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Received: PONG(timestamp=473421967) 2021-08-03 10:15:54.525 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Round trip time was 50 milliseconds 2021-08-03 10:15:54.525 31256-31503/com.mongodb.rchatapp D/REALM_SYNC: Connection[2]: Will emit a ping in 56113 milliseconds ```
Trailqueen commented 3 years ago

The HTTP Request at the end is triggered every ten seconds in an endless loop.

D/REALM_SYNC: Realm sync client ([realm-core-11.1.1]) Supported protocol versions: 2-3 Platform: Android Linux 3.18.71-perf+ #1 SMP PREEMPT Wed Nov 21 20:18:21 IST 2018 aarch64 Build mode: Release Config param: max_open_files = 256 Config param: one_connection_per_session = true Config param: connect_timeout = 120000 ms Config param: connection_linger_time = 30000 ms Config param: ping_keepalive_period = 60000 ms Config param: pong_keepalive_timeout = 120000 ms Config param: fast_reconnect_limit = 60000 ms Config param: disable_upload_compaction = false Config param: tcp_no_delay = false Config param: disable_sync_to_disk = false User agent string: 'RealmSync/11.1.1 (Android Linux 3.18.71-perf+ #1 SMP PREEMPT Wed Nov 21 20:18:21 IST 2018 aarch64) RealmJava/10.7.0 (elsa, LG-H990, v26) Unknown' D/REALM_JNI: SyncClient thread created D/REALM_JAVA: HTTP Request = POST https://eu-central-1.aws.realm.mongodb.com/api/client/v2.0/auth/session Accept: application/json Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RhdGEiOm51bGwsImJhYXNfZGV2aWNlX2lkIjoiNjEwMjhkNDA4YzRjOGNjMmFiMTk5ODEzIiwiYmFhc19kb21haW5faWQiOiI2MDlhNGY1NjgyNGJiOTMyNmJkMWFiZTEiLCJiYWFzX2lkIjoiNjEwMjhkNDA4YzRjOGNjMmFiMTk5ODE0IiwiYmFhc19pZGVudGl0eSI6eyJpZCI6Imc1REF3N3hxTnFWc2xNRldTQm9BSG52SUdVbDEiLCJwcm92aWRlcl90eXBlIjoiY3VzdG9tLXRva2VuIiwicHJvdmlkZXJfaWQiOiI2MDlhNWViZDFhMzZlZGQxNjgyNmYzNDYifSwiZXhwIjoxNjMyNzQxMTg0LCJpYXQiOjE2Mjc1NTcxODQsInN0aXRjaF9kYXRhIjpudWxsLCJzdGl0Y2hfZGV2SWQiOiI2MTAyOGQ0MDhjNGM4Y2MyYWIxOTk4MTMiLCJzdGl0Y2hfZG9tYWluSWQiOiI2MDlhNGY1NjgyNGJiOTMyNmJkMWFiZTEiLCJzdGl0Y2hfaWQiOiI2MTAyOGQ0MDhjNGM4Y2MyYWIxOTk4MTQiLCJzdGl0Y2hfaWRlbnQiOnsiaWQiOiJnNURBdzd4cU5xVnNsTUZXU0JvQUhudklHVWwxIiwicHJvdmlkZXJfdHlwZSI6ImN1c3RvbS10b2tlbiIsInByb3ZpZGVyX2lkIjoiNjA5YTVlYmQxYTM2ZWRkMTY4MjZmMzQ2In0sInN1YiI6IjYwOWE1ZWZhMTQ4MGRkZjRhNjA1YzBiYyIsInR5cCI6InJlZnJlc2gifQ.FIui3g0Pf3HayVH4d77dJmtAhK8FU26Hwh4yLDTFkwA Content-Type: application/json;charset=utf-8

mohit-sharma-87 commented 3 years ago

Trying to reproduce this right now. @mohit-sharma-87 Did you use an emulator or real device for your test?

I tried to reproduce this on an API 30 emulator by:

  1. Opening app and sign up
  2. Get to "No chat room" screen.
  3. Go back to home-screen by clicking home (thus putting app in background)
  4. Wait 20 minutes
  5. Open app again. It seems to still work.

@cmelchior : I did it with the emulator, let me try to replicate it again.

sarthak-flobiz commented 3 years ago

@cmelchior, we're facing a similar issue from v10.5.0 onwards. Downgrading to 10.4.0 fixes it for us.

Steps to reproduce:

I had posted a query on this on MongoDB community forum - link.

Realm Sync Logs:

D/REALM_SYNC: Realm sync client ([realm-core-11.0.2])
D/REALM_SYNC: Supported protocol versions: 2-3
D/REALM_SYNC: Platform: Android Linux XXXXX
D/REALM_SYNC: Build mode: Release
D/REALM_SYNC: Config param: max_open_files = 256
D/REALM_SYNC: Config param: one_connection_per_session = true
D/REALM_SYNC: Config param: connect_timeout = 120000 ms
D/REALM_SYNC: Config param: connection_linger_time = 30000 ms
D/REALM_SYNC: Config param: ping_keepalive_period = 60000 ms
D/REALM_SYNC: Config param: pong_keepalive_timeout = 120000 ms
D/REALM_SYNC: Config param: fast_reconnect_limit = 60000 ms
D/REALM_SYNC: Config param: disable_upload_compaction = false
D/REALM_SYNC: Config param: tcp_no_delay = false
D/REALM_SYNC: Config param: disable_sync_to_disk = false
D/REALM_SYNC: User agent string: 'RealmSync/XXXXX'

Realm Java Logs:

D/REALM_JAVA: Creating session for: XXXXX.realm
D/REALM_JAVA: First session created. Adding network listener.
D/REALM_JAVA: HTTP Request = 
    POST https://ap-south-1.aws.realm.mongodb.com/api/client/v2.0/auth/session
    Accept: application/json
    Authorization: Bearer XXXXX
    Content-Type: application/json;charset=utf-8
D/REALM_JAVA: HTTP Request = 
    POST https://ap-south-1.aws.realm.mongodb.com/api/client/v2.0/auth/session
    Accept: application/json
    Authorization: Bearer XXXXX
    Content-Type: application/json;charset=utf-8

((^ Repeated multiple times, in loop))

Additional Info: We're using synced Realm with JWT auth. Issue is reproducible with both getInstance and getInstanceAsync.

kunalgharate commented 3 years ago

Hi @kunalgharate

Could your issue be related to this? realm/realm-core#4747, I.e. is the user revoked?

(We haven't made a release yet with the above fix, but will do so next week)

Yes this is session issue i think token get expired when user is offline for more than 10 -20 mins

kunalgharate commented 3 years ago

Trying to reproduce this right now. @mohit-sharma-87 Did you use an emulator or real device for your test?

I tried to reproduce this on an API 30 emulator by:

  1. Opening app and sign up
  2. Get to "No chat room" screen.
  3. Go back to home-screen by clicking home (thus putting app in background)
  4. Wait 20 minutes
  5. Open app again. It seems to still work.

try to wait some more time around 1 hour. Simply use the app offline for some time then close the app for 1 hour and then open the app.

cmelchior commented 3 years ago

I can reproduce this now. It is indeed refreshing the access token that fails with 400 Bad Request.... an example request is here:

    POST https://realm.mongodb.com/api/client/v2.0/auth/session
    Accept: application/json
    Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RhdGEiOm51bGwsImJhYXNfZGV2aWNlX2lkIjoiNjEwZDgxZjkyOTE2NDU5M2FhNTBlNjYzIiwiYmFhc19kb21haW5faWQiOiI1ZmQ5ZWRlNjE5MTlhMmRmMDQ0OTczNjciLCJiYWFzX2lkIjoiNjEwZDgxZjkyOTE2NDU5M2FhNTBlNjZkIiwiYmFhc19pZGVudGl0eSI6eyJpZCI6IjYwOTkyYjI2NGNlZjk5MTI3NmFjZThkYyIsInByb3ZpZGVyX3R5cGUiOiJsb2NhbC11c2VycGFzcyIsInByb3ZpZGVyX2lkIjoiNWZkOWVkZTgxOTE5YTJkZjA0NDk3NTIzIn0sImV4cCI6MTYzMzQ1OTE5MywiaWF0IjoxNjI4Mjc1MTkzLCJzdGl0Y2hfZGF0YSI6bnVsbCwic3RpdGNoX2RldklkIjoiNjEwZDgxZjkyOTE2NDU5M2FhNTBlNjYzIiwic3RpdGNoX2RvbWFpbklkIjoiNWZkOWVkZTYxOTE5YTJkZjA0NDk3MzY3Iiwic3RpdGNoX2lkIjoiNjEwZDgxZjkyOTE2NDU5M2FhNTBlNjZkIiwic3RpdGNoX2lkZW50Ijp7ImlkIjoiNjA5OTJiMjY0Y2VmOTkxMjc2YWNlOGRjIiwicHJvdmlkZXJfdHlwZSI6ImxvY2FsLXVzZXJwYXNzIiwicHJvdmlkZXJfaWQiOiI1ZmQ5ZWRlODE5MTlhMmRmMDQ0OTc1MjMifSwic3ViIjoiNjA5OTJiMjc3MTY4NjBhYWRiMjJjZDI3IiwidHlwIjoicmVmcmVzaCJ9.IeR5lNvMPFvT_1vDIrW5zXs_mAccOhEKthn71W4Udrc
    Content-Type: application/json;charset=utf-8

I'm looking into why this could happen right now.

The refresh should happen after 30 minutes btw.

kunalgharate commented 3 years ago

Great , for now can you handle it on server side by creating a static token or it is good if you can able you fixed it easily

We are losing data because of this issue which is added by offline.

Priority

On Sat, Aug 7, 2021, 12:57 AM Christian Melchior @.***> wrote:

I can reproduce this now. It is indeed refreshing the access token that fails with 400 Bad Request.... an example request is here:

POST https://realm.mongodb.com/api/client/v2.0/auth/session
Accept: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiYWFzX2RhdGEiOm51bGwsImJhYXNfZGV2aWNlX2lkIjoiNjEwZDgxZjkyOTE2NDU5M2FhNTBlNjYzIiwiYmFhc19kb21haW5faWQiOiI1ZmQ5ZWRlNjE5MTlhMmRmMDQ0OTczNjciLCJiYWFzX2lkIjoiNjEwZDgxZjkyOTE2NDU5M2FhNTBlNjZkIiwiYmFhc19pZGVudGl0eSI6eyJpZCI6IjYwOTkyYjI2NGNlZjk5MTI3NmFjZThkYyIsInByb3ZpZGVyX3R5cGUiOiJsb2NhbC11c2VycGFzcyIsInByb3ZpZGVyX2lkIjoiNWZkOWVkZTgxOTE5YTJkZjA0NDk3NTIzIn0sImV4cCI6MTYzMzQ1OTE5MywiaWF0IjoxNjI4Mjc1MTkzLCJzdGl0Y2hfZGF0YSI6bnVsbCwic3RpdGNoX2RldklkIjoiNjEwZDgxZjkyOTE2NDU5M2FhNTBlNjYzIiwic3RpdGNoX2RvbWFpbklkIjoiNWZkOWVkZTYxOTE5YTJkZjA0NDk3MzY3Iiwic3RpdGNoX2lkIjoiNjEwZDgxZjkyOTE2NDU5M2FhNTBlNjZkIiwic3RpdGNoX2lkZW50Ijp7ImlkIjoiNjA5OTJiMjY0Y2VmOTkxMjc2YWNlOGRjIiwicHJvdmlkZXJfdHlwZSI6ImxvY2FsLXVzZXJwYXNzIiwicHJvdmlkZXJfaWQiOiI1ZmQ5ZWRlODE5MTlhMmRmMDQ0OTc1MjMifSwic3ViIjoiNjA5OTJiMjc3MTY4NjBhYWRiMjJjZDI3IiwidHlwIjoicmVmcmVzaCJ9.IeR5lNvMPFvT_1vDIrW5zXs_mAccOhEKthn71W4Udrc
Content-Type: application/json;charset=utf-8

I'm looking into why this could happen right now.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/realm/realm-java/issues/7501#issuecomment-894473331, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7ZYDRX5HH7ALTJAUWRIADT3QZT5ANCNFSM46ZIE6OQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

cmelchior commented 3 years ago

@kunalgharate You shouldn't loose data due to this. Any data written to the local database is not lost, but it isn't synced until you log out and back again. I think I have located the bug and am trying to verify it now.

kunalgharate commented 3 years ago

If its stucked on login screen i need to clear the to restart the app . This time forcefully i have to delete data from the local db

On Mon, Aug 9, 2021, 1:03 PM Christian Melchior @.***> wrote:

@kunalgharate https://github.com/kunalgharate You shouldn't loose data due to this. Any data written to the local database is not lost, but it isn't synced until you log out and back again. I think I have located the bug and am trying to verify it now.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/realm/realm-java/issues/7501#issuecomment-895012768, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE7ZYDSJTYOXOQGUMMRGVO3T36AF3ANCNFSM46ZIE6OQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

Trailqueen commented 3 years ago

As @kunalgharate said, the app needs to be cleared to get it to work again, so data is lost.

Besides, if I read the docs correctly, even logging out would result in data loss:

You can log out any user, regardless of the authentication provider used to log in, using the user.logOut() or user.logOutAsync() methods. Both methods:

delete locally stored user credentials from the device
immediately halt any synchronization to and from the user's realms
mark the user's realms for deletion the next time the app restarts

Because logging out halts synchronization, you should only log out after all local Realm updates have uploaded to the server.

cmelchior commented 3 years ago

@Trailqueen @kunalgharate Sorry for the confusion. I just double-checked our implementation and User.logOut() does not delete the Realm. The Javadoc is wrong. It is a product of us having a few iterations on this part of the API. There is also a package-private remove() method that does logout and remove the Realm. I'll be working on exposing that again and making the Javadoc correct.

cmelchior commented 3 years ago

I have located the root cause. It is an internal refresh of the access token that happens on the thread that created the App instance, which in most cases is the main thread. But trying to run network code there results in an android.os.NetworkOnMainThreadException, which is then swallowed by our internal implementation.

I'm working on a fix right now. A temporary work-around should be to create the App instance on a background thread. Since that instance is otherwise thread-safe, this should work fine, except it is slightly more complicated to instantiate.

kunalgharate commented 3 years ago

@cmelchior have you fixed that issue ?

kunalgharate commented 3 years ago

@cmelchior Thank you for acknowledgment but the request is still in progress could you please try to merged it asap

menting311 commented 3 years ago

@cmelchior - Any estimate on when this will be available in the SDK?

kunalgharate commented 3 years ago

@cmelchior when will 10.8.0 be uploaded on maven?

cmelchior commented 3 years ago

10.8.0 has been released and should be available on Maven Central now. Note it will probably take a few hours to show up in their search results, but it should be usable from Gradle.