-
August 26th, 2020, 08:50 PM
#1
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/light...ol=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|Prepari ng 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/lightstre...ol=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
Similar Threads
-
By kpturner in forum Client SDKs
Replies: 1
Last Post: December 22nd, 2014, 09:10 AM
-
By jluxyw in forum Client SDKs
Replies: 1
Last Post: January 16th, 2013, 09:42 AM
-
By DavidGroenewegen in forum General
Replies: 9
Last Post: November 11th, 2009, 08:52 AM
-
By yen_praveen in forum General
Replies: 1
Last Post: February 1st, 2008, 01:52 PM
-
Replies: 7
Last Post: September 21st, 2007, 10:47 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 09:43 AM.
Bookmarks