powered by Jive Software

Problem with s2s on openfire server

Ok, I have 3 openfire servers - server1,server2,serverNew. Servers 1 and 2 can do s2s fine but neither can do s2s with serverNew. I can ping serverNew and as login through serverNew. I checked serverNew’s s2s settings and it allows ANYONE as well as enabled. Funny thing is, serverNew has 3 s2s sessions (under sessions tab) going on with 3 other servers that are also not mine. So if I log into serverNew I cant do S2S with server1/2 but i can do S2S with the servers in the sessions table. Is there something I am missing here? I am a bit confused… I did add conference.serverNew in the hosts files - same way i did for server1/2…


I checked the debug window and here’s what i got:

Also checked out the logs:

From testserver1 - connection refused

2010.06.17 11:17:41 [org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSes sion(LocalOutgoingServerSession.java:258)] Error trying to connect to remote server: conference.testservernew(DNS lookup: conference.testservernew:5269)
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSess ion(LocalOutgoingServerSession.java:253)
at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain (LocalOutgoingServerSession.java:144)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:239)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:216)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

from testservernew:

unknown hostname testserver1

so seems testservernew receives the request for adding the conference BUT dont know who testserver1 is… what can i do to fix that?