-
March 8th, 2013, 09:24 AM
#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 .....
-
March 11th, 2013, 11:46 AM
#2
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 04:17 AM.
Bookmarks