[rabbitmq-discuss] Connection attempt from disallowed node question

Emile Joubert emile at rabbitmq.com
Wed Mar 14 11:32:08 GMT 2012

Hi Derek,

On 13/03/12 22:22, Derek Greer wrote:
>  =ERROR REPORT==== 13-Mar-2012::15:00:15 ===
> 110 ** Connection attempt from disallowed node rabbitmqctl32476@[machine
> name] **
> Everything I've read about this says this is due to the erlang cookie of
> the user executing the rabbitmqctl.bat command not matching the global
> erlang cookie in C:\Windows, so I've had the admin check these values
> and he claims they are the exact same.  The RabbitMQ service is running
> as the default system account which doesn't have a home directory, so I
> assume the service runs the process with the cookie from C:\Windows.

Yes, this error is due to mismatched cookie files between the running
service and the user running the rabbitmqctl.bat command.

If the service runs in an environment with a HOMEDRIVE and HOMEPATH
variable then the GetWindowsDirectory Windows API function is used to
locate the Erlang cookie file. The cookie file in the Windows directory
must match the cookie file in the home directory of the user running the
rabbitmqctl command, as explained here:


You can obtain the hash of the cookie by turning on console logging (set
RABBITMQ_CONSOLE_LOG to new or reuse) and checking the line starting
with "cookie hash    :".

There are some Erlang configuration parameters that are able override
the cookie value. Ensure that the startup scripts and rabbitmq.config
files have not been customised in this way.

If the Erlang VM does not find a cookie file then one will be created
with random contents. Make sure that the contents of the cookie files
were not auto-filled when starting up.


More information about the rabbitmq-discuss mailing list