Not update user state while using s2s


I have 2 openfire servers (4.0.1)

Created all A and SRV records in dns, and successfully connected servers. I can add users, authenticate, send and recive messages.

Cleint1 connected to Server1

Client2 connected to Server2

I see what client state has changed on server1, when I change it on client1. Server1 send a tcp package from port 5269 to server2 and recived answer. On Cleint2 I see what client1 user’s state has been changed. I see what client state has changed on server2, when I change it on client2 too, but server2 dont send this information to** server1**, and on the client1 user’s state is not refreshed.

I test it using tcpdump - no packeges from server2 to** server1** when i change state on** client2**

No errors on debug log, only messages like this

016.02.17 14:51:52 org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a MESSAGE_RECEIVED for session 7

2016.02.17 14:51:52 org.apache.mina.filter.ssl.SslFilter - Session Server7: Writing Message : WriteRequest: HeapBuffer[pos=0 lim=63 cap=4096: 3C 69 71 20 74 79 70 65 3D 22 72 65 73 75 6C 74…]

2016.02.17 14:51:52 org.apache.mina.filter.executor.OrderedThreadPoolExecutor - Adding event MESSAGE_SENT to session 7

on both servers.

Any ideas what could be wrong?

Sorry for my bad english and thx for help)

Okey, iam fix it, but i dont know how its work…

I have 2 server

  1. Openfire 4.0.1 (updated from 3.7.1) with 1.8.0_66 Oracle Corporation – Java HotSpot™ Client VM on Windows Server 2008 / x86

Server Name:

Host Name: NEON

xmpp.domain =

xmpp.fqdn =

  1. Openfire 4.0.1 with 1.7.0_95 Oracle Corporation – OpenJDK 64-Bit Server VM on Debian 8 x64.

Server Name:

Host Name: Openfire

xmpp.domain =

Dns records: 0 100 5222 0 100 5269 0 100 5269 A A

!! NOT resolve!! 0 100 5222 0 100 5269 0 100 5269 =

On this configuration all works fine.

If a change xmpp.domain on 2server from to (like 1server) - got a problem with precense status.

I cant understand why 1st server work fine without hostname in xmpp.domain, but 2server dont.

Any ideas?