Forum Discussion

Said's avatar
3 years ago Connection reset by peer

Hi All,


For a specific request I am getting error below:

Wed Jun 09 10:37:31 CEST 2021: ERROR: Connection reset by peer Connection reset by peer
   	at java.base/
   	at java.base/
   	at java.base/$2.write(
   	at java.base/$SocketOutputStream.write(
   	at org.apache.http.entity.ByteArrayEntity.writeTo(
   	at org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity(
   	at org.apache.http.impl.conn.CPoolProxy.sendRequestEntity(
   	at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(
   	at org.apache.http.protocol.HttpRequestExecutor.execute(
   	at org.apache.http.impl.execchain.MainClientExec.execute(
   	at org.apache.http.impl.execchain.ProtocolExec.execute(
   	at org.apache.http.impl.execchain.RetryExec.execute(
   	at org.apache.http.impl.execchain.RedirectExec.execute(
   	at org.apache.http.impl.client.InternalHttpClient.doExecute(
   	at org.apache.http.impl.client.CloseableHttpClient.execute(
   	at org.apache.http.impl.client.CloseableHttpClient.execute(
   	at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.submitRequest(
   	at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(
   	at java.base/java.util.concurrent.Executors$
   	at java.base/
   	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(
   	at java.base/java.util.concurrent.ThreadPoolExecutor$
   	at java.base/

I cannot share the request in this forum, but I can give some details:

  • The error does not occur for all request. Most of them work fine.
  • I got it in a specific case (reproducable). I noticed that one of the values for an element is much longer (164.956 character). The total Message Size in ReadyAPI is: 166220.
  • In case without error the element size around 106.000 characters, but I am not sure length is the cause.

I am using ReadyAPI 3.6. Can someone advice me on this issue? Please tell me if you need additional information.

If needed I can share request with SmartBear support.


Thanks in advance!

1 Reply

  • sonya_m's avatar
    SmartBear Alumni (Retired)

    Hi Said ! I've found your support ticket about this issue (00480658), looks like this might be something in the app code, please keep working with the team, also, if you find what was causing the issue - share the result here, too! Sure this is going to be useful for community members facing something similar. Thank you.