Only default password works in Perl RabbitMQ client

41 views
Skip to first unread message

Sherrod S

unread,
Jul 5, 2023, 7:56:54 PM7/5/23
to rabbitmq-users
Hello,

I just installed RabbitMQ 3.11.15 with 
Erlang 25.3.2 on Red Hat 7.9. Everything works except - my Perl  client - either Net::AMQP::RabbitMQ or Net::RabbitFoot - can only connect if the password is "guest". And that's true for any user account. rabbitmqctl authenticate_user works fine - so I suppose it's actually a Perl problem - but I'm just wondering if anyone has seen this? The error I get on the AMQP server is "AMQPLAIN login refused: user  '<any-user>' - invalid credentials". I tried configuring auth_backend in rabbitmq.conf - but since "internal" is the default - it didn't make a difference. When the connection succeeds - the log just says " accepting connection" - and doesn't log if it's "PLAIN",  "AMQPLAIN" or "EXTERNAL".


Sherrod

pvladMQ

unread,
Jul 7, 2023, 6:58:24 PM7/7/23
to rabbitmq-users
That's fairly odd. A sample of the code would be useful. 

Sherrod S

unread,
Jul 9, 2023, 11:07:51 PM7/9/23
to rabbitmq-users
My code is pretty much the CPAN Net::AMQP::RabbitMQ "simple consumer.pl" -  but with a subroutine to process the queue messages once the connection is made. Of course the connection is never made - so I never get to processing the queue. I think it's just a bad install. I have another instance of  3.11.15 which works fine  - with the same code.

Sherrod

Reply all
Reply to author
Forward
0 new messages