What's the cause of reply-code=403 error?
search cancel

What's the cause of reply-code=403 error?

book

Article ID: 293250

calendar_today

Updated On:

Products

VMware RabbitMQ

Environment

Product Version: 1.20

Resolution

Checklist:

Consumer client received the below error:

channel is already closed due to channel error; protocol method: #method<channel.close>(reply-code=403, reply-text=ACCESS_REFUSED - access to queue 'example.queue' in vhost 'EXAMPLE' refused for user 'example.user', class-id=60, method-id=70)


The reply code 403 (ACCESS-REFUSED) has many root cause. Some common causes are:

  • user's password is wrong,
  • user's permission is insufficient, or
  • user lacks Write permissions on the exchange.
     

This message, "access to queue 'example.queue' in vhost 'EXAMPLE' refused for user 'example.user'," indicates that the user, example.user, the failed either authentication verification or access authorization for "vhost=EXAMPLE and queue=example.queue." Considered with the, "channel is already closed due to channel error," message it is likely that the user does not have Write permissions on the exchange".