zoukankan      html  css  js  c++  java
  • [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)

  • 相关阅读:
    java 异常java.lang.UnsupportedOperationException
    转载RabbitMQ入门(6)--远程调用
    转载RabbitMQ入门(5)--主题
    转载RabbitMQ入门(4)--路由
    转载RabbitMQ入门(3)--发布和订阅
    转载RabbitMQ入门(2)--工作队列
    转载RabbitMQ入门(1)--介绍
    转载:浅析Java中的final关键字
    Java NIO Channel通道
    Java NIO Buffer缓冲区
  • 原文地址:https://www.cnblogs.com/xuzhong/p/4946415.html
Copyright © 2011-2022 走看看