• Register
0 votes
72 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,060 points

Please log in or register to answer this question.

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,950 points

Related questions

0 votes
1 answer 221 views
221 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 367 views
367 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 374 views
374 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 115 views
115 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, 2020 LizzyM 6.1k points
2 votes
1 answer 30 views
30 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, 2020 LizzyM 6.1k points
0 votes
1 answer 62 views
62 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 3 views
3 views
What can cause this exception?
asked Dec 19, 2020 TeamScript 9.2k points
0 votes
1 answer 8 views
8 views
Help me by solving this question.
asked Jan 4 TeamScript 9.2k points
0 votes
1 answer 780 views
780 views
Problem : My Environment is Nginx + uwsgi and I am very new to it. I am getting a 502 bad gateway error from Nginx on certain GET requests. It seems to be related to a length of URL.. Please find below the nginx/error.log [error] 22113#0: *1 recv ... response header from upstream, client: 192.168.1.100, server: server.domain.com, request: "GET <long_url_here>" Can somebody solve this issue?
asked Nov 27, 2019 alecxe 7.5k points