SocketException: SocketException: Connection timed out (OS Error: Connection timed out, errno = 110),

In our release app, I am seeing reports of Sentry of the error above when trying to connect to our production app. or related errors, e.g.

SocketException: OS Error: Software caused connection abort,

If I read the docs, I thought the SDK was meant to automatically handle reconnection attempts, but is this always the case? Or do I need to handle it manually and attempt to reconnect if there is a socket exception?

Thanks

Hello, @Nicholas_Latham

SDK will try to reconnect. You need to subscribe to a connection handler:

And communicate to your customers / block functions to prevent sending messages if no connection.