Forum Discussion

mateiacd's avatar
mateiacd
Contributor
4 years ago

java.net.SocketException: Connection reset by peer: socket write error

Hello,

- Collaborator Enterprise v13.2.13200 Server

- Collaborator client v12.4.12400

- SCM system is configured to PTC Integrity

 

The PTC Integrity change package has 96 new files and 48 updated files

The total size of the files is rather small ~ 4.2 MB

 

When creating a review from ccollabgui.exe, when executing command ccollab addchangelist,

the following java exception is raised.

Please see the two attached files for more error details.

 

ERROR: Executing command `ccollab addchangelist`:
Error occurred: ERROR: Executing command `ccollab addchangelist`:
java.io.IOException: java.net.SocketException: Connection reset
Error occurred: java.io.IOException: java.net.SocketException: Connection reset
com.smartbear.collaborator.client.exceptions.CollabClientException: java.io.IOException: java.net.SocketException: Connection reset
Error occurred: com.smartbear.collaborator.client.exceptions.CollabClientException: java.io.IOException: java.net.SocketException: Connection reset
at com.smartbear.collaborator.json.api.AbstractApi.sendBatch(AbstractApi.java:95)

....

....

javax.net.ssl.SSLException: java.net.SocketException: Connection reset
Error occurred: javax.net.ssl.SSLException: java.net.SocketException: Connection reset
at sun.security.ssl.Alert.createSSLException(Unknown Source)
Error occurred: at sun.security.ssl.Alert.createSSLException(Unknown Source)
at sun.security.ssl.TransportContext.fatal(Unknown Source)
Error occurred: at sun.security.ssl.TransportContext.fatal(Unknown Source)
at sun.security.ssl.TransportContext.fatal(Unknown Source)
Error occurred: at sun.security.ssl.TransportContext.fatal(Unknown Source)
at sun.security.ssl.TransportContext.fatal(Unknown Source)
Error occurred: at sun.security.ssl.TransportContext.fatal(Unknown Source)
at sun.security.ssl.SSLSocketImpl.handleException(Unknown Source)
Error occurred: at sun.security.ssl.SSLSocketImpl.handleException(Unknown Source)
at sun.security.ssl.SSLSocketImpl.access$400(Unknown Source)
Error occurred: at sun.security.ssl.SSLSocketImpl.access$400(Unknown Source)
at sun.security.ssl.SSLSocketImpl$AppInputStream.read(Unknown Source)
Processing change 12345678:1.

Suppressed: java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(Unknown Source)
at java.net.SocketOutputStream.write(Unknown Source)
at sun.security.ssl.SSLSocketOutputRecord.encodeAlert(Unknown Source)
... 36 more

 

  • elvisfreb's avatar
    elvisfreb
    Occasional Visitor

    This Connection reset SocketException occurs on the server side when the client closed the socket connection before the response could be returned over the socket. For example, by quitting the browser before the response was retrieved.

     

    There are several possible causes.

     

    • The other end has deliberately reset the connection.
      Writing to a connection that the other end has already closed
      Closing a socket when there is unread data in the socket receive buffer.
      In Windows, 'software caused connection abort', which is not the same as 'connection reset', is caused by network problems sending from your end.