zoukankan      html  css  js  c++  java
  • RabbitMQ本地正常,发布到服务器上 出行连接失败

    本地允许正常,发布到服务器上遇到如下异常:

    RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable --->
     System.IO.IOException: connection.start was never received, likely due to a network timeout<br/>   
    在 RabbitMQ.Client.Framing.Impl.Connection.StartAndTune()<br/>   在 RabbitMQ.Client.Framing.Impl.Connection.Open(Boolean insist)<br/>  
     在 RabbitMQ.Client.Framing.Impl.Connection..ctor(IConnectionFactory factory, Boolean insist, IFrameHandler frameHandler, String clientProvidedName)<br/>   
    在 RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.Init(IFrameHandler fh)<br/>  
     在 RabbitMQ.Client.Framing.Impl.AutorecoveringConnection.Init(IEndpointResolver endpoints)<br/>   
    在 RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)<br/>  
     --- 内部异常堆栈跟踪的结尾 ---<br/>
       在 RabbitMQ.Client.ConnectionFactory.CreateConnection(IEndpointResolver endpointResolver, String clientProvidedName)<br/>   
    在 RabbitMQ.Client.ConnectionFactory.CreateConnection(String clientProvidedName)<br/>  
    

     折腾了一天,最终把 web项目中 用Nuget 也安装引用下  “RabbitMQ.Client” ,重新发布即可。

  • 相关阅读:
    HDU1058Humble Numbers
    HDU1056 HangOver
    HDU1048The Hardest Problem Ever
    HDU 1028Ignatius and the Princess III(母函数简单题)
    HDU1014Uniform Generator
    HDU1013Digital Roots
    HDU1005Number Sequence(找规律)
    HDU1004 Let the Balloon Rise(map的简单用法)
    HDU1002 -A + B Problem II(大数a+b)
    Codeforces Round #363 (Div. 2)->C. Vacations
  • 原文地址:https://www.cnblogs.com/lxf1117/p/13303430.html
Copyright © 2011-2022 走看看