- Open an App.
- Move to the page X
- Put App on background
- After 5-10 mins open the app again
- You will be on page X
- Click on submit button where we are calling the SDK methods to ensure the “sync”
- At this time we are getting following logs
REALM com.haat.client D [Core] Connection[1]: Closing the websocket with error code=WebSocket: Moved Permanently, message='moved permanently', was_clean=true
REALM com.haat.client D [Core] Connection[2]: Connection closed due to transient error: ConnectionClosed: Timed out waiting for PONG response from server
REALM com.haat.client D [Core] Connection[2]: Connecting to 'wss://westeurope.azure.ws.services.cloud.mongodb.com:443/api/client/v2.0/app/mongo-prod-app-service-XXXXX/realm-sync'
REALM com.haat.client D [Core] Connected to endpoint '20.103.159.219:443' (from '192.168.29.200:43000')
REALM com.haat.client D [Core] Connection[2]: Closing the websocket with error code=WebSocket: Unauthorized, message='unauthorized', was_clean=true
REALM com.haat.client D [Core] Connection[2]: Connecting to 'wss://westeurope.azure.ws.services.cloud.mongodb.com:443/api/client/v2.0/app/mongo-prod-app-service-XXXXX/realm-sync'
REALM com.haat.client D [Core] Connected to endpoint '20.126.217.55:443' (from '192.168.29.200:38354')
REALM com.haat.client D [Core] Connection[2]: Closing the websocket with error code=WebSocket: Unauthorized, message='unauthorized', was_clean=true
TrafficStats com.haat.client D tagSocket(126) with statsTag=0xffffffff, statsUid=-1
REALM com.haat.client D [Core] Connection[2]: Connecting to 'wss://westeurope.azure.ws.services.cloud.mongodb.com:443/api/client/v2.0/app/mongo-prod-app-service-XXXXX/realm-sync'
REALM com.haat.client D [Core] Connected to endpoint '20.126.217.55:443' (from '192.168.29.200:38358')