Hi, I am currently working on a Tauri desktop app using realm-web with sync enabled. When I open the Realm using the RealmProvider (created using @realm/react) I currently get 2 realm-sync websocket connection errors before the sync starts working fine, typically after 5 minutes. I am not sure if maybe there is a configuration either in Tauri or Realm that makes that websocket connection fail or if sync is just not achievable with current setup.
Here is the error thrown:
WebSocket connection to 'wss://ws.us-west-2.aws.realm.mongodb.com/api/client/v2.0/app/<app-id>/realm-sync?baas_at=<accessToken>' failed: The operation couldn’t be completed. Protocol error
Here are the versions I’m running:
{
"@realm/react": "^0.6.2",
"realm": "12.0.0-browser.2",
}
Any considerations or ideas?