Service Virtualization

Expand all | Collapse all

Remote host closed connection during handshake

Jump to Best Answer
  • 1.  Remote host closed connection during handshake

    Posted 12-04-2017 08:44 AM

    I am getting proper responsewhen i am running vsm in ITR but when i am deploying the same VSM on VSE getting below error.

     

    ============================================================================
    | javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
    ============================================================================
    | Step: IUCLP
    ----------------------------------------------------------------------------
    | Message: Remote host closed connection during handshake
    ----------------------------------------------------------------------------
    | Trapped Exception: Remote host closed connection during handshake
    | Trapped Message: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
    ----------------------------------------------------------------------------
    STACK TRACE
    javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
    at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:535)
    at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:403)
    at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:177)
    at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:304)
    at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
    at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
    at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
    at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
    at com.itko.lisa.test.CommTrans.doSend(CommTrans.java:1015)
    at com.itko.lisa.test.CommTrans.send(CommTrans.java:811)
    at com.itko.lisa.test.CommTrans.sendPOST(CommTrans.java:789)
    at com.itko.lisa.ws.RawSOAPNode.execute(RawSOAPNode.java:231)
    at com.itko.lisa.test.TestNode.executeNode(TestNode.java:981)
    at com.itko.lisa.test.TestCase.execute(TestCase.java:1280)
    at com.itko.lisa.test.TestCase.execute(TestCase.java:1195)
    at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1180)
    at com.itko.lisa.test.TestCase.executeTest(TestCase.java:1124)
    at com.itko.lisa.coordinator.Instance.run(Instance.java:204)
    Caused by: java.io.EOFException: SSL peer shut down incorrectly
    at sun.security.ssl.InputRecord.read(Unknown Source)
    ... 22 more
    ============================================================================



  • 2.  Re: Remote host closed connection during handshake
    Best Answer

    Posted 12-04-2017 06:30 PM

    Pratik,

     

    Try to verify if there is any property set in the Workstation side, that is not set in the VSE.

    Example: https.protocols

     

    To get more information regarding the SSL handshake, you can add the property below in the vmoptions file for the VSE:

    -Djavax.net.debug=ssl

    The VSE process will need to be restarted.

    That will generate SSL debug information in the VSE log files.

     

    Hope it helps.

    Heloisa