Jump to content
Sign in to follow this  
Chuck

License not valid for this Client version

Recommended Posts

I set up Lightstreamer's QuickStart and it worked fine.  I then made the changes needed to connect to push.cityindex.com, including getting a session ID from https://ciapi.cityindex.com/TradingAPI. .

 

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

 

The explanation from LightStreamer is "That message means that the client in use is newer than the license installed on the server.
To use that client with that server, assuming them are compatible, you need to change the server license."  I am using c# using Dotnet Standard Client version 5.0.5.  So, appears to be a licensing problem between Gain Capital Labs and Lightstreamer.  Another user posted at http://faq.labs.gaincapital.com/topic/2039-lightstreamer/?tab=comments#comment-3692 suggest using V 4.0.0.  Unfortunately, Lightstreamer documentation is not helpful because they have upgraded all their sample code to v 5.0.5.  Can you provide some sample c# code to start a price stream under 4.0.0?

 

Regards,

Chuck

 

Share this post


Link to post

Hi @Chuck

Have a look at this LightStreamer sample - GitHub - Lightstreamer/Lightstreamer-example-StockList-client-winrt: This project contains a demo client showing integration between Lightstreamer WinRT Client and the WinRT platform 

Although it was built for WinRT using the DontNet.Client library and you are using the DotNetStandard.Client library, the syntax / code structure of that sample is very similar to V4.0.0.0 of DotNetStandard library. So what you can reuse a lot of that code and change the using Lightstreamer.Dot.Client to using Lightstreamer.DotNetStandard.Client and you should have a good starting point. A lot of the connection and event handling starting code is in App.xaml.cs.

 

Best,

CRB

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
×