[ejabberd] problem with s2s (close in wait_for_stream)

Vyacheslav Karpukhin vyacheslav at karpukhin.com
Fri Jun 18 01:41:29 MSD 2010

George Hazan <george.hazan <at> gmail.com> writes:

>    Приветствую, Vyacheslav!
>    Вы писали Thu, 17 Jun 2010 20:40:02 +0000 (UTC)  :
> VK> i use ejabberd 2.1.4 on both servers ("local" and "remote"), both
> VK> servers didn't have SRV records until few hours ago. nevertheless,
> VK> sometimes they were able to connect to each other, and sometimes --
> VK> not. i think that excludes theory about problem with DNS resolution.
> No, it doesn't. DNS record is not an option, it's a must. In your case, the
> s2s handshake dies in the very beginning of the dialback session
> establishing. It could be only a firewall or a DNS record.

you are wrong. look carefully at the remote server's logs —
it receives the connection, accepts it, even receives one
stanza from the other server… there is nothing wrong
with network connectivity, firewall or DNS.

More information about the ejabberd mailing list