Service Virtualization

Expand all | Collapse all

Connection Reset error

  • 1.  Connection Reset error

    Posted 11 days ago
    Hi Team,

    We are trying to execute Test Suite through LISA Invoke API and we are getting the below error whereas the same Test cases are working fine when we ran from work station

    Could anybody help us on resolving this issue?

    ===========================================================================
    | java.net.SocketException: Connection reset
    ============================================================================
    | Step: AccessToken
    ----------------------------------------------------------------------------
    | Message: Connection reset
    | Trapped Exception: Connection reset
    | Trapped Message: java.net.SocketException: Connection reset
    ----------------------------------------------------------------------------
    STACK TRACE
    java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(SocketInputStream.java:209)
    at java.net.SocketInputStream.read(SocketInputStream.java:141)
    at sun.security.ssl.InputRecord.readFully(InputRecord.java:465)
    at sun.security.ssl.InputRecord.read(InputRecord.java:503)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
    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:1074)
    at com.itko.lisa.test.CommTrans.send(CommTrans.java:843)
    at com.itko.lisa.test.CommTrans.sendPOST(CommTrans.java:803)
    at com.itko.lisa.ws.rest.RESTNode.doSend(RESTNode.java:226)
    at com.itko.lisa.ws.rest.RESTNode.doWebTrans(RESTNode.java:171)
    at com.itko.lisa.ws.rest.RESTNodeBase.execute(RESTNodeBase.java:380)
    at com.itko.lisa.test.TestNode.executeNode(TestNode.java:984)
    at com.itko.lisa.test.TestCase.execute(TestCase.java:1297)
    at com.itko.lisa.test.TestCase.execute(TestCase.java:1198)
    at com.itko.lisa.test.TestCase.executeNextNode(TestCase.java:1183)
    at com.itko.lisa.test.TestCase.executeTest(TestCase.java:1124)
    at com.itko.lisa.coordinator.Instance.run(Instance.java:208)
    ============================================================================

    Regards,
    Saikiran Garapati,
    8148860968


  • 2.  RE: Connection Reset error

    Posted 11 days ago
    Hi Sai
              The exception tells that the test case is hitting a REST end point over SSL. Ideally the same error should appear when you run it from workstation. Could you confirm it you ran the test case by staging it on Coordinator or did you stage it locally or used ITR ?

    --
    regards
    Sankar Natarajan





  • 3.  RE: Connection Reset error

    Posted 11 days ago
    Thanks for the Reply the Sankar, When we ran through ITR it worked fine. When we ran through gitlab job which is using lisa-invoke API , there we are getting that error. I tried pinging the API URL from the Lisa server. we do not have connection. So we have to add certificates it seems.

    Thanks for the response.I will get back to you once i add certificates and test