Results 1 to 5 of 5
  1. #1

    License not valid for this Client version??

    I'm trying to create a proof-of-concept client in c# using Dotnet Standard Client version 5.0.5. It works when I point it at your push.lightstreamer.com DEMO server. When I point it at my data provider's server and logon according to the instructions they provided, it appears that my credentials are recognized and a connection is established.

    Then I get a client listener onServerError with errorCode = 60 errorMessage = “License not valid for this Client version”.

    What does this mean? What do I need to do?

    Thanks.

  2. #2
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,013
    This is unexpected, because the notification of error 60 to the client is done early and excludes any credential check.
    We should see in more detail the story of this connection attempt.
    But, if I understand well, the Server is not run by you, but by a third party.

    Please produce some client-side log.
    Our stocklist client demo shows an example of how the log can be configured.

  3. #3
    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

  4. #4
    I just discovered that this may be a duplicate of the following forum post https://forums.lightstreamer.com/sho...-lightstreamer
    In which case, my question changes to: Do you have a quickstart/hello world/demo using Lightstreamer.DotNetStandard.Client 4.0.0 syntax? Or some other example of how I can alter your existing examples back to 4.0.0? All the examples that I can find on your site seem to have been updated to v5.0.5.

    Regards,
    Chuck

    Thanks

  5. #5
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,013
    The previous versions of our examples, when available, are reachable via tags.
    For instance, you can see:
    https://github.com/Lightstreamer/Lig.../for_version_4

 

 

Similar Threads

  1. License not valid for this Client version
    By kpturner in forum Client SDKs
    Replies: 1
    Last Post: December 22nd, 2014, 10:10 AM
  2. Replies: 1
    Last Post: January 16th, 2013, 10:42 AM
  3. License not valid(4)
    By DavidGroenewegen in forum General
    Replies: 9
    Last Post: November 11th, 2009, 09:52 AM
  4. Replies: 1
    Last Post: February 1st, 2008, 02:52 PM
  5. Replies: 7
    Last Post: September 21st, 2007, 11:47 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 02:06 PM.