Thank you for your quick response.
First, I was mistaken. The onStatusChange listener reported "CONNECTING" not "CONNECTED". It was then followed by "DISCONNECTED". I misinterpreted it. Sorry.
I took your example from GitHub and ran it as distributed. It created the log below marked TestDEMO.log.
Then I modified the example to point to
https://push.cityindex.com and adapter “STREAMINGALL”. This required me to make a few changes to make a call to get a real time authentication password from the vendor’s REST API. Main had to be changed to
static async Task Main(string[] args)
to accommodate a an “await” on the HTTP POST to the authenticator.
//ls = new LightstreamerClient(serverAddress, "DEMO");
ls = new LightstreamerClient("
https://push.cityindex.com", "STREAMINGALL");
ls.connectionDetails.User = "XXXXXXXX";
ls.connectionDetails.Password = sLogon[1]; // token from authenticator
Regards,
Chuck
TestDEMO.log
2020-08-26 12:28:55.1216|INFO|lightstreamer.actions|New Lightstreamer Client instanced (library version: Lightstreamer.DotNetStandard.Client 5.0.5)
2020-08-26 12:28:55.1675|INFO|lightstreamer.actions|Server Address value changed to
https://push.lightstreamer.com/
2020-08-26 12:28:55.1675|INFO|lightstreamer.actions|Adapter Set value changed to DEMO
2020-08-26 12:28:55.2046|INFO|lightstreamer.actions|Forced Transport value changed to
2020-08-26 12:28:55.2226|INFO|lightstreamer.actions|Reconnect Timeout value changed to 25000
2020-08-26 12:28:55.2295|INFO|lightstreamer.actions|Connect requested
2020-08-26 12:28:55.2599|INFO|lightstreamer.actions|Session ID value changed to
2020-08-26 12:28:55.2599|INFO|lightstreamer.actions|Server Socket Name value changed to
2020-08-26 12:28:55.2814|INFO|lightstreamer.actions|Client IP value changed to
2020-08-26 12:28:55.2893|INFO|lightstreamer.actions|Server Instance Address value changed to
2020-08-26 12:28:55.2893|INFO|lightstreamer.session|Opening new session ...
2020-08-26 12:28:55.9035|INFO|lightstreamer.utils|Cookies to be inserted for
https://push.lightstreamer.com/lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0: <none>
2020-08-26 12:28:57.3812|INFO|lightstreamer.subscribe|Start message handler
2020-08-26 12:28:57.3812|INFO|lightstreamer.actions|Session ID value changed to Sb3cf92b172e3b26cM56fT2856515
2020-08-26 12:28:57.3812|INFO|lightstreamer.actions|Server Instance Address value changed to
https://push.lightstreamer.com/
2020-08-26 12:28:57.4027|INFO|lightstreamer.actions|Server Socket Name value changed to Lightstreamer HTTPS Server
2020-08-26 12:28:57.4027|INFO|lightstreamer.actions|Client IP value changed to 184.166.51.72
2020-08-26 12:28:57.4197|INFO|lightstreamer.utils|Cookies to be inserted for
https://push.lightstreamer.com/lightstreamer: <none>
2020-08-26 12:28:58.7798|INFO|lightstreamer.actions|Keepalive Interval value changed to 5000
2020-08-26 12:28:58.7953|INFO|lightstreamer.subscribe|Adding subscription 1
2020-08-26 12:28:58.7953|INFO|lightstreamer.subscribe|Preparing subscription: 1
2020-08-26 12:28:59.2286|INFO|lightstreamer.subscribe|1 succesfully subscribed
TestSTREAMINGALL.log
2020-08-26 13:30:34.4058|INFO|lightstreamer.actions|New Lightstreamer Client instanced (library version: Lightstreamer.DotNetStandard.Client 5.0.5)
2020-08-26 13:30:34.4404|INFO|lightstreamer.actions|Server Address value changed to
https://push.cityindex.com/
2020-08-26 13:30:34.4483|INFO|lightstreamer.actions|Adapter Set value changed to STREAMINGALL
2020-08-26 13:30:34.4483|INFO|lightstreamer.actions|Forced Transport value changed to
2020-08-26 13:30:34.4633|INFO|lightstreamer.actions|User value changed to XXXXXXXX
2020-08-26 13:30:34.4633|INFO|lightstreamer.actions|Password value changed
2020-08-26 13:30:34.4831|INFO|lightstreamer.actions|Reconnect Timeout value changed to 25000
2020-08-26 13:30:34.4831|INFO|lightstreamer.actions|Connect requested
2020-08-26 13:30:34.5210|INFO|lightstreamer.actions|Session ID value changed to
2020-08-26 13:30:34.5298|INFO|lightstreamer.actions|Server Socket Name value changed to
2020-08-26 13:30:34.5298|INFO|lightstreamer.actions|Client IP value changed to
2020-08-26 13:30:34.5433|INFO|lightstreamer.actions|Server Instance Address value changed to
2020-08-26 13:30:34.5433|INFO|lightstreamer.session|Opening new session ...
2020-08-26 13:30:34.7706|INFO|lightstreamer.utils|Cookies to be inserted for
https://push.cityindex.com/lightstreamer/create_session.txt?LS_protocol=TLCP-2.1.0: <none>
2020-08-26 13:30:35.9143|INFO|lightstreamer.session|Closing session end
2020-08-26 13:30:35.9143|INFO|lightstreamer.subscribe|Reset message handler
2020-08-26 13:30:35.9321|INFO|lightstreamer.protocol|Protocol dismissed