• Register
0 votes
130 views

Problem :

I am getting bellow error while using Sockets

java.net.socketexception: software caused connection abort: socket write error

by (6.9k points)  

1 Answer

0 votes

Solution:

The Socket Exception usually comes with the specified detail message about the issue.

Example of detailed message:

Software caused connection abort: socket write error.

Possible solution: 

Please make sure that you are writing the correct length of bytes to the stream. So please double check what you want to send. 

Further Readings:

https://github.com/aws/aws-sdk-java/issues/1478

by (36.1k points)  
edited by
...