Spring AMQP + RabbitMQ 3.3.5 ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN

后端 未结 12 2031
南笙
南笙 2020-12-01 00:43

I am getting below exception

org.springframework.amqp.AmqpAuthenticationException: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED

12条回答
  •  感动是毒
    2020-12-01 00:55

    The error

    ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile.

    can occur if the credentials that your application is trying to use to connect to RabbitMQ are incorrect or missing.

    I had this happen when the RabbitMQ credentials stored in my ASP.NET application's web.config file had a value of "" for the password instead of the actual password string value.

提交回复
热议问题