I’m connecting via client API v2.0.2 with the following settings:
let settings =
ConnectionSettings.Create()
.UseNormalConnection()
.KeepReconnecting()
.KeepRetrying()
Then subscribing to a stream and the following events are logged:
-
connection disconnected
-
connection reconnecting
-
subscription dropped, reason=connection closed, ex=connection closed
I’m not sure why the connection becomes disconnected. In the tests I’ve done, I could have multiple processes running on local machine subscribing to various streams and then one of them disconnects, while another doesn’t even if subscribed to the same stream. I can restart the subscription upon dropping, but trying to avoid this or at least deal with it at a lower level.