Skip to content
Discussion options

You must be logged in to vote

I get the following when I try to publish using Pika:

WARNING:pika.channel:Received remote Channel.Close (403): "ACCESS_REFUSED - access to exchange 'direct' in vhost '/' refused for user 'test'" on <Channel number=1 CLOSING conn=<SelectConnection OPEN transport=<pika.adapters.utils.io_services_utils._AsyncPlaintextTransport object at 0x0000018B7A1A1A80> params=<ConnectionParameters host=localhost port=5672 virtual_host=/ ssl=False>>>

In the RabbitMQ logs:

2022-01-04 07:28:22.032000-08:00 [error] <0.3373.0> operation basic.publish caused a channel exception access_refused: access to exchange 'direct' in vhost '/' refused for user 'test'

I suggest checking your RabbitMQ log files. The ja…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@kotyara85
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@kotyara85
Comment options

@lukebakken
Comment options

Answer selected by lukebakken
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants