RabbitMQ: TCP connection succeeded but Erlang distribution failed
search cancel

RabbitMQ: TCP connection succeeded but Erlang distribution failed

book

Article ID: 297357

calendar_today

Updated On:

Products

Support Only for OpenSource RabbitMQ

Issue/Introduction

You may encounter the issue after you install a fresh Erlang and RabbitMQ on the Window OS per below guides:
https://www.erlang.org/downloads
https://www.rabbitmq.com/install-windows.html

Snipaste_2023-08-04_13-56-04.jpg

Environment

Product Version: Other
OS: Windows

Resolution

The fresh installation of the RabbitMQ in the Windows OS is a little tricky and it had the .erlang.cookie files in two different location. But the cookie is different and this is why the RabbitMQ did not come online.

One location is:
%HOMEPATH%\.erlang.cookie

The other location is:
%WINDIR%\System32\config\systemprofile\.erlang.cookie


Solution:

Please make these two .erlang.cookie are identical and restart the RabbitMQ service from the startup menu.
Snipaste_2023-08-04_14-10-09.jpg

The RabbitMQ is running well now.

Snipaste_2023-08-04_14-11-18.jpg