2020-07-20 19:26:38,149 [18208] ERROR LoglevelErr - RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable ---> RabbitMQ.Client.Exceptions.PossibleAuthenticationFailureException: Possibly caused by authentication failure ---> 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.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
--- 内部异常堆栈跟踪的结尾 ---
在 System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
在 System.IO.BufferedStream.ReadByte()
在 RabbitMQ.Client.Impl.InboundFrame.ReadFrom(Stream reader) 位置 /_/projects/RabbitMQ.Client/client/impl/F
None of the specified endpoints were reachable;AMQP close-reason, initiated by Library, code=541,
最新推荐文章于 2024-07-22 07:56:36 发布
本文记录了一位开发者在.NET环境下使用RabbitMQ时遇到的'None of the specified endpoints were reachable'异常,详细描述了排查过程,包括尝试更换EasyNetQ库仍然失败,最终发现是因为RabbitMQ.Client版本与服务器上的erlang和rabbitmq版本不兼容,降级RabbitMQ.Client版本至5.1.2后问题得到解决。
摘要由CSDN通过智能技术生成