com.rabbitmq.client.ShutdownSignalException: connection error; protocol method: #method<connection.c

com.rabbitmq.client.ShutdownSignalException: connection error; protocol method: #method<connection.c,第1张

com.rabbitmq.client.ShutdownSignalException: connection error; protocol method: #method<connection.c

项目场景:

记录一下MQ 提供者发送数据得时候报错 配置出现错误

//也可以参考这位大佬

Caused by:com.rabbitmq.client.ShutdownSignalException: connection error;(reply-code=530, reply-text=NOT_ALLOWED - access to vhost '/' refused for user 'admin' - 奋斗的渣渣 - 博客园

问题描述:

com.rabbitmq.client.ShutdownSignalException: connection error; protocol method: #method(reply-code=530, reply-text=NOT_ALLOWED - vhost JCcccHost not found, class-id=10, method-id=40) 

 

解决方案:

1-先打开mq 管理页面

2-看下配置文件 yml   virtual-host: /  要跟上面端口对应得

 3-重试一下直接发送成功

 

 

 

欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/zaji/5688231.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-17
下一篇 2022-12-17

发表评论

登录后才能评论

评论列表(0条)