Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rabbitmq connect refuse #127

Open
caicai683 opened this issue Dec 31, 2021 · 0 comments
Open

rabbitmq connect refuse #127

caicai683 opened this issue Dec 31, 2021 · 0 comments
Labels

Comments

@caicai683
Copy link

Please include the following information:

  1. Logstash 7.6.12
  2. rabbitmq3.8.6
    JVM (e.g. java -version):
    java version "1.8.0_291"

we use logstash to recived msg from rabbitmq, and we create user ipanel, just only have read permissions, no config permissions, then refused for user 'ipanel'", :cause=>java.io.IOException

but ,if we give the ipanel config permissions,then connection is ok!

logstash config is
input {
rabbitmq {
host => "192.168.3.9"
vhost => "/"
port => 5672
user => "ipanel"
password => "123456"
queue => "series"
durable => true
codec => "plain"
}

Provide logs (if relevant):
[2021-12-31T19:29:24,412][INFO ][logstash.inputs.rabbitmq ][main][6afa422247853f1c0e306f77456d68ccc69ab2c00ab11dbaf353d74e68d285d9] Connected to RabbitMQ {:url=>"amqp://ipanel:XXXXXX@localhost:5672/"}
[2021-12-31T19:29:24,416][WARN ][logstash.inputs.rabbitmq ][main][6afa422247853f1c0e306f77456d68ccc69ab2c00ab11dbaf353d74e68d285d9] Error while setting up connection, will retry {:exception=>MarchHare::AccessRefused, :message=>"ACCESS_REFUSED - access to queue 'star' in vhost '/' refused for user 'ipanel'", :cause=>java.io.IOException}

@caicai683 caicai683 added the bug label Dec 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant