[RabbitMQ] AMQP close-reason, initiated by Library, code=541

RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable ---> RabbitMQ.Client.Exceptions.OperationInterruptedException: The AMQP operation was interrupted: AMQP close-reason, initiated by Library, code=541, text="Unexpected Exception", classId=0, methodId=0, cause=System.IO.IOException: 无法从传输连接中读取数据: 远程主机强迫关闭了一个现有的连接。。 ---> System.Net.Sockets.SocketException: 远程主机强迫关闭了一个现有的连接。
   在 System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   在 System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- 内部异常堆栈跟踪的结尾 ---
   在 RabbitMQ.Client.Impl.Frame.ReadFrom(NetworkBinaryReader reader)
   在 RabbitMQ.Client.Impl.SocketFrameHandler.ReadFrame()
   在 RabbitMQ.Client.Framing.Impl.Connection.MainLoopIteration()
   在 RabbitMQ.Client.Framing.Impl.Connection.MainLoop()
   在 RabbitMQ.Client.Impl.SimpleBlockingRpcContinuation.GetReply()
   在 RabbitMQ.Client.Impl.ModelBase.ConnectionOpen(String virtualHost, String capabilities, Boolean insist)
   在 RabbitMQ.Client.Framing.Impl.Connection.Open(Boolean insist)
   在 RabbitMQ.Client.Framing.Impl.Connection..ctor(IConnectionFactory factory, Boolean insist, IFrameHandler frameHandler)
   在 RabbitMQ.Client.Framing.Impl.ProtocolBase.CreateConnection(IConnectionFactory factory, Boolean insist, IFrameHandler frameHandler)
   在 RabbitMQ.Client.ConnectionFactory.CreateConnection()
   --- 内部异常堆栈跟踪的结尾 ---
   在 RabbitMQ.Client.ConnectionFactory.CreateConnection()
   在 CNABB.LP.EDI.Component.RabbitMqHelper.Send(RabbitMqConfig cfg, XmlDocument doc, String system)

你可能感兴趣的:([RabbitMQ] AMQP close-reason, initiated by Library, code=541)