Hi, our SYNC server is down because have sync trouble between Realm and Atlas.
How can i detect this in .Net SDK ?
I don’t want execute functions like WaitForDownloadAsync() because they enter in endless loop.
I can’t use Session State because they return Active.
thanks
There’s no mechanics in the SDK to detect the server being down. There should be server-side alerts that notify you whenever that happens. If the server is completely unresponsive, Session.ConnectionState
should be Disconnected
. But if it’s able to establish connections, just not syncing for whatever reason, then that won’t be a reliable indicator.
2 Likes
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.