• Register
1 vote
19 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)

Can anyone help me out ti solve this ?

10 7 2
6,060 points

Please log in or register to answer this question.

1 Answer

1 vote

Answer:

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

Hope this solves your problem.

11 6 4
34,950 points

Related questions

0 votes
1 answer 29 views
29 views
In my ubuntu operating system I was trying to run my java program that gives me the following error "java.io.IOException: No space left on device" at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:53) how can I ignore such an error?
asked Mar 11, 2020 LizzyM 6.1k points
0 votes
1 answer 2 views
2 views
Problem: When the callee throws an exception i.e. void showfile() throws java.io.IOException the caller should handle it or throw it again. And also learn naming conventions. A class name should start with a capital letter. How can i solve this?
asked 2 days ago Ali 4.4k points
0 votes
1 answer 2 views
2 views
Problem: This is a problem with JDBC connection. This is a common error, that generally comes when the DB server is receiving and processing numerous records.Connection time out or socket read time out. First i try this: In JDBC adapter go to Advanced Tab Page and check Transaction Isolation Level as Serializable. It still problem persists? what can i do to fix it?
asked 2 days ago Ali 4.4k points
0 votes
3 answers 8 views
8 views
Solution: SSLHandshakeException caused by java.io.EOFException: SSL peer shut down incorrectly during node synchronization. Troubleshooting Caused by: java.io.EOFException: SSL peer shut down incorrectly at sun.security.ssl.InputRecord.read(InputRecord.java:505) can anyone have any idea about it
asked 2 days ago Ali 4.4k points
1 vote
1 answer 5 views
5 views
Problem: keytool error: java.io.filenotfoundexception: my-release-key.keystore (access is denied)
asked 3 days ago Sofia Castro 3.6k points
0 votes
1 answer 8 views
8 views
Problem: I have a file named "word.txt". It is in the same directory as my java file. But when I try to access it in the following code this file not found error occurs: Exception in thread "main" java.io.FileNotFoundException: word.txt (The system ... Native Method) at java.io.FileInputStream.<init>(Unknown Source) at java.util.Scanner.<init>(Unknown Source) at Hangman1.main(Hangman1.java:6)
asked 6 days ago Ali 4.4k points
0 votes
1 answer 21 views
21 views
Solve this.
asked Feb 13 TeamScript 13.5k points
0 votes
1 answer 11 views
11 views
Can anyone help me to find out the issue? Where is the problem with the server?
asked Feb 12 TeamScript 13.5k points
0 votes
1 answer 6 views
6 views
What is going on? Is it because I ran the program with an older version of the IDE?
asked Feb 9 TeamScript 13.5k points
0 votes
1 answer 6 views