Skip to content

[Questions] SocketException happens sometimes and messages not consumed #12917

Closed Answered by michaelklishin
Luk7c asked this question in Questions
Discussion options

You must be logged in to vote
2024-12-10 11:25:25.928085+00:00 [error] <0.1998.0> {writer,send_failed,timeout}

is clear evidence of a genuine TCP connection problem. This message is logged when RabbitMQ tries to send a serialized protocol frame on a connection and that operation fails (in this case, with a timeout).

A traffic capture with Wireshark or tcpdump (that can be loaded into Wireshark for inspection on a different machine) would provide a lot of relevant information at the TCP level and below.

This is expected from time to time in practice. This is why all messaging and streaming protocols RabbitMQ supports provide heartbeats (even if the feature is named differently), and why publisher confirms, connection …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by michaelklishin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants