阿里云MQ报错:The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=403

报错截图:

The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=403, text='AccessDeniedByRamPolicy, ReqId:639816A74146313600B7647E', classId=10, methodId=40

处理方法: 

AMQP协议返回码:

阿里云MQ报错:The AMQP operation was interrupted: AMQP close-reason, initiated by Peer, code=403_第1张图片

 

打开RAM控制台。选择“用户”,单击对应的用户名,在“权限管理”添加“AliyunAMQPFullAccess”权限。(管理消息队列 RabbitMQ 版的权限)。

你可能感兴趣的:(阿里云,开发语言,rabbitmq)