Hi,
I am using Https to connect to the LightStreamer server using com.lightstreamer.ls_client.LSClient. The pushServerUrl in com.lightstreamer.ls_client.ConnectionInfo class passed in to LSClient has a url of the form
https://XXX.XX etc.
When i try to connect in this way, i am getting the following error:
do i have to put any certificates in a particular location in LightStreamer installation?
or, do i have to do something else/
Thanks in advance for any pointers.
Exception in thread "main" com.lightstreamer.ls_client.PushConnException: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at com.lightstreamer.ls_client.PushServerProxy.connectForSession(PushServerProxy.java:115)
at com.lightstreamer.ls_client.ServerManager.<init>(ServerManager.java:69)
at com.lightstreamer.ls_client.LSClient.openConnection(LSClient.java:71)
at uk.co.OUR_CLIENT.main(LightstreamerTestClient.java:57)
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
at sun.net.
www.protocol.https.HttpsClient.afterConnect(Unknown Source)
at sun.net.
www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.
www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
at sun.net.
www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
at com.lightstreamer.ls_client.HttpProvider.sendPost(HttpProvider.java:94)
at com.lightstreamer.ls_client.HttpProvider.connectAndGetAnswer(HttpProvider.java:163)
at com.lightstreamer.ls_client.HttpProvider.doPost(HttpProvider.java:151)
at com.lightstreamer.ls_client.PushServerTranslator.callSession(PushServerTranslator.java:87)
at com.lightstreamer.ls_client.PushServerProxy.connectForSession(PushServerProxy.java:110)
... 3 more
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
... 16 more