Connection problem #14309
-
I got this error while connection, I don't know what is wrong, I using RabbitMQ for the first time. Connection failed: Handshake terminated by server: 403 (ACCESS-REFUSED) with message "ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN. For details see the broker logfile." Here is my code const amqp = require("amqplib"); const username = encodeURIComponent(""); const url = (async () => { |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The error states that your user and password are incorrect. Based on your code, you're trying to login where username / password are both the empty string. Is that really what you're trying to do? |
Beta Was this translation helpful? Give feedback.
-
@aqibnawazdev the error message tells you exactly what to do. Why do you expect us to tell you the same thing again? Start with inspecting the logs and verifying why your code uses a blank username and a blank password. We will not troubleshoot authentication and networking for non-paying users. There are several doc section that help you do that on your own efficiently: |
Beta Was this translation helpful? Give feedback.
@aqibnawazdev the error message tells you exactly what to do. Why do you expect us to tell you the same thing again? Start with inspecting the logs and verifying why your code uses a blank username and a blank password.
We will not troubleshoot authentication and networking for non-paying users. There are several doc section that help you do that on your own efficiently: