I'm trying to cluster 2 servers. So far everything has gone pretty smoothly, except when I try to ping the first node from the second I'm getting
"Connection attempt from disallowed node"
I've checked and rechecked, and the cookie is identical on both servers. Firewall between the two servers is wide open.
Both are under the same domain in the cfg, and their names are ejabberd@dev1 and ejabberd2@pidge. The two servers can ping each other by hostname. Ejabberdctl starts using -sname. .hosts.erlang file is set and being read on both servers. Each node is using ejabberd 2.1.3.
At this point I just don't know what else it can be.
rkalajian wrote: I'm trying
I'm trying to cluster 2 servers. So far everything has gone pretty smoothly, except when I try to ping the first node from the second I'm getting
"Connection attempt from disallowed node"
I've checked and rechecked, and the cookie is identical on both servers.
You checked that the cookie file is identical on both servers. But did you check the Erlang nodes read such files correctly and set their cookies identical?
You can check that by executing this in each node, and compare the result:
To get access to that erlang shell, either:
A) ejabberdctl start, then ejabberdctl debug
B) or start ejabberd in live mode with: ejabberdctl live
For more debugging, you can also set the cookie string in your ejabberd start script.
Very simple example of what to add: