Forum Discussion
richie
5 years agoCommunity Hero
Hi arunbharath,
Unfortunately the error response doesnt really tell us much other thsn the http connection was reset.
Connection reset response would typically be cos of the remote endpoint youre hitting and nothing to do with ReadyAPI!
Is there anything that makes you think ReadyAPI! is causing your endpoint to kill the socket?
Could your endpoint be killing the connection cos youre hammering it with ReadyAPI!?
Have you any more data to go on than this?
Can you check the logging on the endpoint youre hitting? There might be some indication why the connection is reset.
Ta
Rich
Unfortunately the error response doesnt really tell us much other thsn the http connection was reset.
Connection reset response would typically be cos of the remote endpoint youre hitting and nothing to do with ReadyAPI!
Is there anything that makes you think ReadyAPI! is causing your endpoint to kill the socket?
Could your endpoint be killing the connection cos youre hammering it with ReadyAPI!?
Have you any more data to go on than this?
Can you check the logging on the endpoint youre hitting? There might be some indication why the connection is reset.
Ta
Rich
- sonya_m5 years agoSmartBear Alumni (Retired)
Thank you Richie, great troubleshooting ideas.
arunbharath was the issue solved for you? If not, please provide the Community with more info.
- arunbharath5 years agoContributor
Sorry for late reply. Before trying your approach, I updated my ReadyAPI to 3.2.5. But Unfortunately after my upgrade none of my test case is running. I'm getting below exception
Wed May 13 14:39:08 UTC 2020: ERROR: Exception in request: javax.net.ssl.SSLException: Couldn't kickstart handshaking
Wed May 13 14:39:08 UTC 2020: ERROR: An error occurred [Couldn't kickstart handshaking], see error log for detailsWed May 13 14:39:08 UTC 2020: ERROR: javax.net.ssl.SSLException: Couldn't kickstart handshaking javax.net.ssl.SSLException: Couldn't kickstart handshaking at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:320) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:263) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:405) at java.base/sun.security.ssl.SSLSocketImpl.ensureNegotiated(SSLSocketImpl.java:721) at java.base/sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:998) at com.eviware.soapui.impl.wsdl.support.http.SoapUILoggingOutputStream.write(SoapUILoggingOutputStream.java:41) at org.apache.http.impl.io.SessionOutputBufferImpl.streamWrite(SessionOutputBufferImpl.java:126) at org.apache.http.impl.io.SessionOutputBufferImpl.flushBuffer(SessionOutputBufferImpl.java:138) at org.apache.http.impl.io.SessionOutputBufferImpl.flush(SessionOutputBufferImpl.java:146) at org.apache.http.impl.io.ContentLengthOutputStream.flush(ContentLengthOutputStream.java:101) at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:117) at org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity(DefaultBHttpClientConnection.java:158) at org.apache.http.impl.conn.CPoolProxy.sendRequestEntity(CPoolProxy.java:162) at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:237) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpRequestExecutor.doSendRequest(HttpClientSupport.java:504) at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:122) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpClient.doExecute(HttpClientSupport.java:250) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:631) at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:605) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.submitRequest(HttpClientRequestTransport.java:337) at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:254) at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:130) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:835) Suppressed: java.net.SocketException: Connection reset by peer: socket write error at java.base/java.net.SocketOutputStream.socketWrite0(Native Method) at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110) at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150) at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:81) at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:351) ... 33 more Caused by: java.net.SocketException: Connection reset by peer: socket write error at java.base/java.net.SocketOutputStream.socketWrite0(Native Method) at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110) at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150) at java.base/sun.security.ssl.SSLSocketOutputRecord.flush(SSLSocketOutputRecord.java:251) at java.base/sun.security.ssl.HandshakeOutStream.flush(HandshakeOutStream.java:89) at java.base/sun.security.ssl.ClientHello$ClientHelloKickstartProducer.produce(ClientHello.java:658) at java.base/sun.security.ssl.SSLHandshake.kickstart(SSLHandshake.java:515) at java.base/sun.security.ssl.ClientHandshakeContext.kickstart(ClientHandshakeContext.java:107) at java.base/sun.security.ssl.TransportContext.kickstart(TransportContext.java:227) at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:395) ... 31 more
Related Content
- 5 years ago
- 6 years ago
- 6 years ago
Recent Discussions
- 4 days ago
- 9 days ago