• Register
0 votes
203 views

Problem :

I am getting bellow error while using Sockets

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

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

36.1k points
edited by

Related questions

1 vote
2 answers 36 views
36 views
Problem: I am able to login through webservices api to particular account on 'Oracle on demand'. When i tries to call 'accountQueryPage' method of the stub class (Stub class is generated with help Account.wsdl file), i got the following exception java.net.SocketException: Software caused connection abort: recv failed Can anyone give me some pointers.
asked Mar 27 LizzyM 5.7k points
2 votes
1 answer 24 views
24 views
Problem: I am able to login through webservices api to particular account on 'Oracle on demand'. When i tries to call 'accountQueryPage' method of the stub class (Stub class is generated with help Account.wsdl file), i got the following exception java.net.SocketException: Software caused connection abort: recv failed Can anyone give me some pointers.
asked Mar 24 LizzyM 5.7k points
0 votes
1 answer 55 views
55 views
Problem : I am struggling to find the solution for the bellow error java net socketexception software caused connection abort recv failed
asked Oct 31, 2019 peterlaw 6.9k points
0 votes
1 answer 27 views
27 views
Problem: I am seeing "{writer,send_failed,{error,closed}}" error on server side and "java.net.SocketException: Connection reset by peer: socket write error" error on java client side intermittently. What could possibly go wrong here? Both server and ... rabbitmq.client.impl.ChannelN.basicPublish(ChannelN.java:630) at com.rabbitmq.client.impl.ChannelN.basicPublish(ChannelN.java:621) Please help me.
asked Mar 23 LizzyM 5.7k points
0 votes
1 answer 115 views
115 views
Problem : I am trying to implement an HTTP Server using Sockets but getting bellow error java net socketexception connection reset by peer socket write error
asked Oct 31, 2019 peterlaw 6.9k points