小编BBa*_*Bao的帖子

RabbitMQ 3.5.6 无法与任何配置的主机建立 TCP 连接 (Bunny::TCPConnectionFailedForAllHosts)

我正在尝试连接到 RabbitMQ 服务器,但总是收到以下错误:

W, [2015-12-08T15:38:01.993251 #37405]  WARN -- #<Bunny::Session:0x7fe07b894f78 guest@localhost:5672, vhost=/dev_prod, addresses=[localhost:5672]>: An empty frame was received while opening the connection. In RabbitMQ <= 3.1 this could mean an authentication issue.
Run Code Online (Sandbox Code Playgroud)

.../.rvm/gems/ruby-2.1.2/gems/bunny-2.2.0/lib/bunny/session.rb:315:in `rescue in start': Could not establish TCP connection to any of the configured hosts (Bunny::TCPConnectionFailedForAllHosts)
Run Code Online (Sandbox Code Playgroud)

我在 MAC 操作系统上使用 Ruby 2.1.2、RabbitMQ 3.5.6。抱歉,我是 RabbitMQ 的新手,只是尝试使用它,但无法解决问题。请给我一些建议。

ruby-on-rails rabbitmq bunny

5
推荐指数
1
解决办法
7843
查看次数

标签 统计

bunny ×1

rabbitmq ×1

ruby-on-rails ×1