get AMQP_RESPONSE_LIBRARY_EXCEPTION randomly
Opened this issue · 1 comments
SharonJin commented
Hi, I got a very tricky issue when creating new channel.
In the constructor of Channel class, DoLogin() -> CheckRpcReply() returns AMQP_RESPONSE_LIBRARY_EXCEPTION exception, whose details are "a socket error occurred". At the same time, the log from rabbitmq server said "handshake_timeout, frame_header".
This exception occurs randomly, and makes my process crashed.
Any suggestions or ideas?
alanxz commented
This means that the handshake isn't completing within the default timeout (10s I believe).
Make sure that the connection between the broker and client isn't poor (e.g., a bad 3G cell connection may cause this for example).