zoukankan      html  css  js  c++  java
  • SpringBoot 整合RabbitMQ错误记录


    1. 控制台报错:Exception in thread "main" java.io.IOException……
    Caused by: com.rabbitmq.client.ShutdownSignalException: connection error; protocol method: #method<connection.close>(reply-code=530, reply-text=NOT_ALLOWED - access to vhost '/' refused for user 'springboot'……
    Caused by: com.rabbitmq.client.ShutdownSignalException: connection error;
    原因分析:用户没有对应Virtual Hosts 的操作权限

    解决方案:添加登录用户权限 rabbitmqctl set_permissions -p / mq '.*' '.*' '.*' 或者登录RabbitMQ管理页面http://localhost:15672/#/ 添加用户权限

    2. 控制台报错:protocol method reply-text=NOT_FOUND - no queue 'hello' in vhost '/',

    原因分析:Virtual Hosts '/'中没有添加 名称为'hello'的queue

    解决方案:登录RabbitMQ管理页面http://localhost:15672/, 在对应用户下Add Queue
  • 相关阅读:
    Checkpointing
    Flink1.10全文跟读翻译
    The Broadcast State Pattern
    mr原理简单分析
    Event Time
    动态规划潜入
    寻找hive数据倾斜路
    Distributed Runtime
    druid18.1版本single-server启动报错
    Programming Model
  • 原文地址:https://www.cnblogs.com/gara/p/8745463.html
Copyright © 2011-2022 走看看