Results 1 to 3 of 3
  1. #1

    Exclamation No Answer from Server

    I am trying to test LLTT client with HTTPS connection, but i am getting following exception. Pls help..

    07-03-13 18:56:44,806|DEBUG|Session creation 1 failed
    com.lightstreamer.ls_client.PushConnException: No answer fr
    om Server
    at com.lightstreamer.ls_client.HttpProvider.connectAn dGetAnswer(HttpProv
    at com.lightstreamer.ls_client.HttpProvider.doPost(Ht
    at com.lightstreamer.ls_client.PushServerTranslator.c allSession(PushServ
    at com.lightstreamer.ls_client.PushServerProxy.connec tForSession(PushSer
    at com.lightstreamer.ls_client.ServerManager.connect(
    at com.lightstreamer.ls_client.LSClient.openConnectio n(
    at com.lightstreamer.load_test.client.SessionsHandler .startSession(Sessi
    at com.lightstreamer.load_test.client.SessionsHandler .access$7(SessionsH
    at com.lightstreamer.load_test.client.SessionsHandler $
    at java.util.concurrent.Executors$ l(
    at java.util.concurrent.FutureTask$Sync.innerRun(Futu
    at a:166)
    at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.
    at java.util.concurrent.ScheduledThreadPoolExecutor$S cheduledFutureTask.
    at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.
    at java.util.concurrent.ThreadPoolExecutor$ (ThreadPoolExecutor
    Caused by: No answer from Server
    at com.lightstreamer.ls_client.async.MyAsyncConnectio n.getAsyncInputStre
    at com.lightstreamer.ls_client.MyAsyncConnectionProxy .getInputStream(MyA
    at com.lightstreamer.ls_client.HttpProvider.connectAn dGetAnswer(HttpProv
    ... 16 more

  2. #2
    I also see this error in the logs..

    ERROR|ghtstreamerLogger.connections.ssl|LS/SSL HANDSHAKE SELECTOR 1|Handshake error on Lightstreamer HTTPS Server: Unrecognized SSL message, plaintext connection? on .....

  3. #3
    Join Date
    Feb 2012
    Hi greattvs,

    Please note that the LLTT client simulator was not originally designed to work with the HTTPS protocol.

    However, if you want to test in HTTPS with the LLTT client you should set the trustStore in the JVM through the following arguments:\..\conf\<my_keystore><my_password>

    Furthermore, you should remove or comment this line:


    in main method of the class.

    Please note that as a result of this change, the LLTT client simulator might lose in effectiveness with regard to the scalability on the number of sessions for each client.
    This is because the optimization specifically concerns the management of threads listening on sockets connected to the server with the possibility to use the same thread for all open sessions. Without it, the client creates a new thread to listen on socket for each open session.

    Anyway, we plan to add in the next version of LLTT the HTTPS support without this trick.



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
All times are GMT +1. The time now is 08:19 PM.