使用spring-boot-1.1.3在rabbitmq服务器上进行access_refused,罚款为1.0.1

时间:2014-07-03 09:06:24

标签: rabbitmq spring-boot spring-amqp

我在spring-boot 1.0.1下有一个工作的客户端应用程序,但是当我将spring-boot版本更新到1.1.3.RELEASE时,我在客户端上得到一个定期的连接重置堆栈跟踪,我可以看到登录服务器后:

= INFO REPORT ==== 2014年7月3日:: 10:57:55 === 接受AMQP连接< 0.3945.0> (192.168.100.14:64049 - > 192.168.100.116:5672)

=错误报告==== 2014年7月3日:: 10:57:58 === 关闭AMQP连接< 0.3945.0> (192.168.100.14:64049 - > 192.168.100.116:5672): {handshake_error,开口,0,                  {amqp_error,access_refused,                              "访问vhost' dev-lmu'拒绝用户' hermes'",                              ' connection.open'}}

我认为设置权限问题不可能的前提是公平的,因为应用程序在启动1.0.1下工作

我使用RabbitMQ 3.3.4

还有其他人遇到过这个问题吗?

1 个答案:

答案 0 :(得分:1)

看起来这是启动时的错误,但它已被修复(升级到1.1.4)

https://github.com/spring-projects/spring-boot/commit/ad1636fd349b2e6636837d98af1ba1d07500ec9f#diff-19dc1e9553b1605c75168e38dcbc9477

删除了领先' /'来自虚拟主机。

相关的启动问题是:https://github.com/spring-projects/spring-boot/issues/1206