Inscrit le: 30 Oct 2017
|Posté le: Ven 8 Déc - 13:37 (2017) Sujet du message: Stream disconnecting
I am building an app in .net that subscribes to a couple of epics, but I am experiencing (what appears to be random) connection errors.
I seem to have two:
Lightstreamer.DotNet.Client.PushConnException: Unable to read data from the transport connection: The connection was closed. ---> System.IO.IOException: Unable to read data from the transport connection: The connection was closed.
Lightstreamer.DotNet.Client.PushServerException: No data from server
A couple of questions..
- How can I find out why the connection was closed for the first error? My initial hunch was this was due to credentials expiring, but I would assume the error would indicate this, instead of being generic. I did find on another thread details about subscribing to a heart beat which I will try but I am trying to understand the main issue here.
- The second error seems to be generic as well. Any ideas what is causing this?
I didn't find the right solution from the Internet.
best product videos