-
February 17th, 2009, 10:51 AM
#1
Using Https to connect to the PushServer
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.connec tForSession(PushServerProxy.java:115)
at com.lightstreamer.ls_client.ServerManager.<init>(S erverManager.java:69)
at com.lightstreamer.ls_client.LSClient.openConnectio n(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.readRec ord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.perform InitialHandshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHa ndshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHa ndshake(Unknown Source)
at sun.net.http://www.protocol.https.HttpsClien...onnect(Unknown Source)
at sun.net.http://www.protocol.https.AbstractDe...onnect(Unknown Source)
at sun.net.http://www.protocol.http.HttpURLConn...Stream(Unknown Source)
at sun.net.http://www.protocol.https.HttpsURLCo...Stream(Unknown Source)
at com.lightstreamer.ls_client.HttpProvider.sendPost( HttpProvider.java:94)
at com.lightstreamer.ls_client.HttpProvider.connectAn dGetAnswer(HttpProvider.java:163)
at com.lightstreamer.ls_client.HttpProvider.doPost(Ht tpProvider.java:151)
at com.lightstreamer.ls_client.PushServerTranslator.c allSession(PushServerTranslator.java:87)
at com.lightstreamer.ls_client.PushServerProxy.connec tForSession(PushServerProxy.java:110)
... 3 more
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unkn own Source)
... 16 more
Similar Threads
-
By wwatts in forum Adapter SDKs
Replies: 1
Last Post: May 2nd, 2012, 09:55 AM
-
By PraveenN in forum Client SDKs
Replies: 2
Last Post: August 22nd, 2011, 08:25 AM
-
By ddhanis in forum General
Replies: 3
Last Post: December 15th, 2009, 09:45 AM
-
By wmolde in forum Client SDKs
Replies: 2
Last Post: April 18th, 2007, 03:40 PM
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 09:03 PM.
Bookmarks