Error with creating new user - rabbitmqctl

95 views
Skip to first unread message

J. Adder

unread,
Aug 8, 2018, 4:49:51 PM8/8/18
to rabbitmq-users
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

Michael Klishin

unread,
Aug 8, 2018, 5:06:09 PM8/8/18
to rabbitm...@googlegroups.com
> TCP connection succeeded but Erlang distribution failed

is the line you are looking for and it has a dedicated documentation section.
FWIW it's the most commonly asked question on this list and probably Stack Overflow [if we count threads related to RabbitMQ].

See [1].



--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-users+unsubscribe@googlegroups.com.
To post to this group, send email to rabbitmq-users@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
MK

Staff Software Engineer, Pivotal/RabbitMQ
Reply all
Reply to author
Forward
0 new messages