Results 1 to 3 of 3

Hybrid View

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

  2. #2
    Administrator
    Join Date
    Feb 2012
    Location
    Milano
    Posts
    716
    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:
    -Djavax.net.ssl.trustStore=..\..\conf\<my_keystore>
    -Djavax.net.ssl.trustStorePassword=<my_password>


    Furthermore, you should remove or comment this line:

    configureAsyncIO(fullConf);


    in main method of the Client.java 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

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 04:17 AM.