RabbitMQ 问题记录
来源:互联网 发布:淘宝客qq群里的优惠券 编辑:程序博客网 时间:2024/05/16 17:01
问题:
com.rabbitmq.client.ShutdownSignalException: connection error; protocol method: #method<connection.close>
完整错误提示:
1 Caused by: com.rabbitmq.client.ShutdownSignalException: channel error; reason: {#method<channel.close>(reply-code=403, reply-text=ACCESS_REFUSED - access to queue 'hello' in vhost '/' refused for user 'admin', class-id=50, method-id=10), null, ""}
原因:
为了授权该用户对VirtualHost”/” 的访问,用户添加之后,需要对该用户进行授权。
阅读全文