-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: ObjectStore, Sync
-
SDK FY21-Q3, SDK FY21-Q3.
-
4192
It looks like the Sync Client goes into an infinite reconnect loop if there is DNS resolution failure. We need to figure out if this is a problem in the Sync Client or in Object Store. Either way, the behaviour is undesirable. As a minimum, there should be exponential backoff applied.
2020-04-29 15:36:51.641 29277-29319/io.realm.test D/REALM_SYNC: Connection[2]: Connecting to endpoint '75.2.26.70:443' (1/2) 2020-04-29 15:36:51.912 29277-29319/io.realm.test I/REALM_SYNC: Connection[2]: Connected to endpoint '75.2.26.70:443' (from '192.168.232.2:37910') 2020-04-29 15:36:52.054 29277-29319/io.realm.test E/REALM_SYNC: Connection[2]: SSL handshake failed: Connection reset by peer 2020-04-29 15:36:52.054 29277-29319/io.realm.test I/REALM_SYNC: Connection[2]: Connection closed due to error 2020-04-29 15:36:52.054 29277-29319/io.realm.test I/REALM_JAVA: Session Error[wss://realm-dev.mongodb.com/]: CONNECTION_RESET_BY_PEER(realm.basic_system:104): Connection reset by peer 2020-04-29 15:36:52.054 29277-29319/io.realm.test D/REALM_SYNC: Connection[2]: Allowing reconnection in 453 milliseconds 2020-04-29 15:36:52.509 29277-29319/io.realm.test D/REALM_SYNC: Connection[2]: Resolving 'realm-dev.mongodb.com:443' 2020-04-29 15:36:52.510 1614-29405/? E/ResolverController: No valid NAT64 prefix (113, <unspecified>/0) // This just repeats as fast as possible
- related to
-
RCORE-1359 Update WebSocketObserver and Connection error handling to match WebSocket Protocol spec
- Closed