We are getting below error when trying to send message to RabbitMQ. Our application is on .net core 3.0 on linux VM, and the RMQ server is running in a cluster of two on linux VMs. The issue is intermittent and not happening always.
Already closed: The AMQP operation was interrupted: AMQP close-reason, initiated by Library, code=541,
text='Unexpected Exception', classId=0, methodId=0, cause=System.Net.Sockets.SocketException (110):
Connection timed out
at RabbitMQ.Client.Impl.InboundFrame.ReadFrom(NetworkBinaryReader reader)
at RabbitMQ.Client.Framing.Impl.Connection.MainLoopIteration()
at RabbitMQ.Client.Framing.Impl.Connection.MainLoop()
We have enabled automatic recovery by setting AutomaticRecoveryEnabled to true, and other than that every setting is default one.