Configure s2s

i read the threads about s2s but don’'t found how configure.

i have 2 JM servers 172.26.51.8 and 172.26.51.9 up and running. they are able to telnet each other to the 2569 port (s2s port). how do i get them to communicate?

i add them in “Server -> Server to Server -> Allowed to Connect” but can’'t send messages.

don’'t know what to do more now.

regards,

Rodrigo

Oi Rodrigo,

Can you turn on the debug log from the admin console? Try again the doing s2s communication and then past the info you have in the debug log.

Thanks,

– Gato

here is the debug log of 172.26.51.9

is there something wrong?

2005.08.30 14:27:01 RS - Trying to connect to Authoritative Server: 172.26.51.8:5269

2005.08.30 14:27:09 Connect Socket[addr=/172.26.51.8,port=1249,localport=2569]

2005.08.30 14:27:09 RS - Received dialback key from host: 172.26.51.8 to: cesecsrv.ceara.gov.br

2005.08.30 14:27:09 RS - Trying to connect to Authoritative Server: 172.26.51.8:5269

2005.08.30 14:27:10 Connect Socket[addr=/172.26.51.8,port=1253,localport=2569]

2005.08.30 14:27:10 RS - Received dialback key from host: 172.26.51.8 to: cesecsrv.ceara.gov.br

2005.08.30 14:27:10 RS - Trying to connect to Authoritative Server: 172.26.51.8:5269

2005.08.30 14:27:17 Connect Socket[addr=/172.26.51.8,port=1257,localport=2569]

2005.08.30 14:27:17 RS - Received dialback key from host: 172.26.51.8 to: cesecsrv.ceara.gov.br

2005.08.30 14:27:17 RS - Trying to connect to Authoritative Server: 172.26.51.8:5269

2005.08.30 14:27:17 Connect Socket[addr=/172.26.51.8,port=1261,localport=2569]

2005.08.30 14:27:18 RS - Received dialback key from host: 172.26.51.8 to: cesecsrv.ceara.gov.br

2005.08.30 14:27:18 RS - Trying to connect to Authoritative Server: 172.26.51.8:5269

2005.08.30 14:34:07 Connect Socket[addr=/172.26.51.4,port=32868,localport=2510]

2005.08.30 14:27:18 RS - Received dialback key from host: 172.26.51.8 to: cesecsrv.ceara.gov.br

This looks like a DNS issue as the ip I see for cesecsrv.ceara.gov.br is 200.164.80.186 and not 172.26.51.8

try it from your system and see what happens.

Peter

Rodrigo,

The problem seems to be that JM is trying to dialback to the originating server (i.e. 172.26.51.8) on port 5269 and your servers are using port 2569. Therefore, the dialback is failing thus s2s is not working.

I will create a jira issue so you can configure the default dialback port to use if the DNS look up failed. Meanwhile, you may want to create an SRV record in the form “_xmpp-server._tcp.example.com” in your DNS so that the correct IP and port could be used.

Regards,

– Gato

hi Gato,

it looks like that the problem was just the port 2569.

when i changed to 5269 goes everything okay

i don’'t understand the “_xmpp-server._tcp.example.com”, could you explain to me?

the only problem that i found was in the search to the other server.

using psi, i can discover the other server services, the conference works fine, but the search don’‘t. the error message in the on psi nothing show on the reason. it just can’‘t search. i’‘ve looked in JM logs and don’‘t found anything either. don’'t know why…

thanks for the help,

Rodrigo