I have a project where I need to connect to a Lightstreamer server runing v7.0.3 3 and there is an issue with the client I am using, lightstreamer_ls-javase-client_4.3.0 (downgraded from v4.3.7 at the request of the support staff for the market I am connecting to).

When I attempt to subscribe to their server my application just doesn’t connect or subscribe in any way, without any error messages or exceptions thrown. The threads just seem to die out. Wireshark shows a successful handshake and session ID receipt. There is an extensive thread on Gain Capitals forum ensuring me that my connection details and subscription methods are correct:

http://faq.labs.gaincapital.com/topi...tion-problems/

I am unsure how to proceed from this point, any help you could provide would be greatly appreciated. See attached code for reference.



public void lightstreamerSubscription() { // TODO LIGHTSTREAMER LOGIN AND SUBSCRIPTION

String[] items = new String[forexComMarketList.length];
String[] fields = { "MarketId", "TickDate", "Bid", "Offer", "Price", "High", "Low" };

for (int i = 0; i < items.length; i++) { // MARKET item LIST BUILD LOOP
items[i] = String.join("", "PRICE.", forexComMarketList[i].marketID);
}
lsClient = new LightstreamerClient("https://push.cityindex.com/", "STREAMINGALL");
lsClient.connectionDetails.setUser(forexComClientD ata.personalEmailAddress);
lsClient.connectionDetails.setPassword(forexComCli entData.sessionToken);
lsClientListener = new LightstreamerClientListener();
lsClient.addListener(lsClientListener);
lsClient.connect(); // TODO FIND OUT WHERE THIS THREAD IS DYING
lsSub = new Subscription("MERGE", "PRICE.401484300", fields); // TODO REPLACE ARRAY
lsSub.setRequestedSnapshot("yes");
lsSub.setDataAdapter("PRICES");
lsSubscriptionListener = new LightstreamerSubscriptionListener();
lsSub.addListener(lsSubscriptionListener);
lsClient.subscribe(lsSub);
}