protocol method: #method<connection.close>(reply-code=530, reply-text=NOTALLOWED - vhost / not found

2022-11-24 20:34:13 浏览数 (2)

请求rabbitmq链接访问报如下错误:

代码语言:javascript复制
Caused by: com.rabbitmq.client.ShutdownSignalException:
connection error; protocol method: #method<connection.close
(reply-code=530, reply-text=NOT_ALLOWED - vhost /zjq not found
, class-id=10, method-id=40)

根据报错信息是找不到对应的虚拟主机地址。在对应的users中配置对应的虚拟主机地址即可正常创建链接。

0 人点赞