I have tried using the "rabbitmqctl" plugin to create a new user using the command "add_user", but I received an error with these details:
Error: unable to perform an operation on node 'rabbit@LAPTOP-********'. Please see diagnostics information and suggestions below.
Most common reasons for this are:
* Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)
* CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)
* Target node is not running
In addition to the diagnostics info below:
* See the CLI, clustering and networking guides on http://rabbitmq.com/documentation.html to learn more
* Consult server logs on node rabbit@LAPTOP-********
DIAGNOSTICS
===========
attempted to contact: ['rabbit@LAPTOP-********']
rabbit@LAPTOP-********:
* connected to epmd (port 4369) on LAPTOP-********
* epmd reports node 'rabbit' uses port 25672 for inter-node and CLI tool traffic
* TCP connection succeeded but Erlang distribution failed
* Authentication failed (rejected by the remote node), please check the Erlang cookie
Current node details:
* node name: 'rabbitmqcli61@LAPTOP-********'
* effective user's home directory: C:\Users\%USERNAME%
* Erlang cookie hash: ************************
When I tried the command "list_users", I received the same error message; so, naturally, I checked some of these issues. What I found was:
- the node on RabbitMQ is already running
- there is no firewall restrictions on my machine (that I know of) that limit RabbitMQ from running (since I can run programs with RabbitMQ just fine)
But how do I resolve this unknown "Erlang distribution/CLI tool" issue? Or is that even the issue here?
F.Y.I. This is using the Java 3.7.5 agent