Score:0

RabbitMQ Clusters/Connection Error

mo flag

I have been trying to setup a RabbitMQ Cluster for the past week and have been receiving a connection error No matter what I try. I am trying to remotely connect to three other devices (aka 3 different IP address) as my 3 different nodes. The command I ran is sudo rabbitmqctl join_cluster rabbit@hostname Here's the connection error:

Error: unable to perform an operation on node 'rabbit@otherdevice'. 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 https://rabbitmq.com/documentation.html to learn more
 * Consult server logs on node rabbit@otherdevice
 * If target node is configured to use long node names, don't forget to use --longnames with CLI tools

DIAGNOSTICS
===========

attempted to contact: [rabbit@otherdevice]

rabbit@otherdevice:
  * unable to connect to epmd (port 4369) on otherdevice: address (cannot connect to host/port)


Current node details:
 * node name: 'rabbitmqcli-44-rabbit@my-virtual-machine'
 * effective user's home directory: /var/lib/rabbitmq
 * Erlang cookie hash: 

I have put all of the other other ip addresses and host names (including mine) in the hosts file. The 4369 port is open and listening on all devices. I disabled the firewalls on all of the devices. I can ping all of the devices. I also added the hashed numbered I was receiving when I ran the sudo rabbitmqctl join_cluster rabbit@hostname command in my .erlang.cookie file and so did the other person.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.