我正在试用 Bunny amqp 客户端 gem 版本 2.0.0。当我尝试时,我发现了以下错误:
W,[2015-08-03T07:36:21.913706 #9100] WARN -- #: 无法建立到 10.223.19.94:5672 的 TCP 连接:/usr/local/rvm/gems/ruby-1.9.2-p320/gems /bunny-2.0.0/lib/bunny/session.rb:298:inrescue in start': Could not establish TCP connection to any of the configured hosts (Bunny::TCPConnectionFailedForAllHosts)
from /usr/local/rvm/gems/ruby-1.9.2-p320/gems/bunny-2.0.0/lib/bunny/session.rb:264:in
从 rabbit-client-test.rb:12:in 开始<main>
另外,我注意到以前版本的 bunny 1.7.0 中没有出现同样的错误。它与宝石有关吗?