• Register
0 votes
41 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 client versions are 3.4.3.

java.net.SocketException: Connection reset by peer: socket write error
	at java.net.SocketOutputStream.socketWrite0(Native Method)
	at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
	at java.net.SocketOutputStream.write(SocketOutputStream.java:159)
	at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
	at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)
	at java.io.DataOutputStream.flush(DataOutputStream.java:123)
	at com.rabbitmq.client.impl.SocketFrameHandler.flush(SocketFrameHandler.java:150)
	at com.rabbitmq.client.impl.AMQConnection.flush(AMQConnection.java:514)
	at com.rabbitmq.client.impl.AMQCommand.transmit(AMQCommand.java:125)
	at com.rabbitmq.client.impl.AMQChannel.quiescingTransmit(AMQChannel.java:316)
	at com.rabbitmq.client.impl.AMQChannel.transmit(AMQChannel.java:292)
	at com.rabbitmq.client.impl.ChannelN.basicPublish(ChannelN.java:647)
	at com.rabbitmq.client.impl.ChannelN.basicPublish(ChannelN.java:630)
	at com.rabbitmq.client.impl.ChannelN.basicPublish(ChannelN.java:621)

Please help me.

10 7 2
6,050 points

1 Answer

0 votes

Answer:

Something is causing the AMQP connection to fail at a TCP level - either
some network link is going down, or some "smart" piece of networking
equipment is cutting the connection off.

- show quoted text -
> --
> You received this message because you are subscribed to the Google
> Groups "rabbitmq-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to rabbitm...@googlegroups.com
> <mailto:rabbitmq-users+unsubscribe@googlegroups.com>.
> To post to this group, send email to rabbitm...@googlegroups.com
> <mailto:rabbitm...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout.

Let me know if it is working for you or not.

11 6 4
34,930 points

Related questions

0 votes
1 answer 154 views
154 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
0 votes
1 answer 268 views
268 views
Problem : I am getting bellow error while using Sockets java.net.socketexception: software caused connection abort: socket write error
asked Oct 19, 2019 peterlaw 6.9k points
1 vote
2 answers 306 views
306 views
What is the meaning of the "connection reset by peer" error on a TCP connection? Why do we get the error "Connection reset by peer" during a web service call? Explaining Connection Reset by Peer Log Messages? Is it a fatal error or just a notification or related ... it mean when it says the connection was reset? How do I fix my connection reset? What does Connection reset by peer mean on Instagram
asked Jul 23, 2019 sadmin 2.1k points
1 vote
2 answers 77 views
77 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 6.1k 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 6.1k points