S2s conference problems

I have 2 Wildfire Servers up and running and s2s is working fine between them except for conference. I get the following error in the debug log:

2006.03.29 13:07:09 OS - Sent dialback key to host: 192.168.1.100 id: 2c3b9add from domain: conference.192.168.1.101

2006.03.29 13:07:09 OS - Unexpected answer in validation from: 192.168.1.100 id: 2c3b9add for domain: conference.192.168.1.101 answer:<stream:error xmlns:stream=“http://etherx.jabber.org/streams”></stream:error>

Does anyone know why I am getting this error or have any suggestions on why it isn’'t working.

Thanks

Hi,

I have some suspicions. I’'m quite sure that “nslookup conference.192.168.1.101” will not return an IP address.

You did not set up a DNS name for your server and also none for conferencing, did you? Try to do this, so that “jabber.server1” and “conference.jabber.server1” resolve to “192.168.1.100”.

And “jabber.server2” and “conference.jabber.server2” should resolve to “192.168.1.101” or whatever the IP of your 2nd server is.

Then set the xmpp.domain (web console /server-properties.jsp ) of each server to match its DNS name.

LG

No my nslookup does not return an IP address for conference.server1. I was reading on some of the other forum posts that if you are running 2 servers and they are both WF then you don’‘t need to register them on the DNS b/c if they don’'t get a connection out of conference.server1 then it will default to just server1. Is that ture?

Hi,

“host-unknown” is very clear in my opinion, maybe for s2s it helps to modify the hosts file of both servers to make them able to resolve conference.serverN.

Was it a developer who did post about the fallback? I didn’'t look at the code but I still believe that it does not hurt to setup the DNS entries.

LG

Sorry I don’‘t remember if it was a developer or not that posted the fall back thing. I don’‘t think it was since it doesn’'t seem to be working.

I have tired to modify the host files on both servers and it still gives me that error. I do not have the ability to modify the dns at this time. I was just wondering if there was a work around.

Hi,

did you add lines like this to your server and restart both (I’'m not sure about the negative DNS TTL) ?

192.168.1.100 conference.192.168.1.100

192.168.1.101 conference.192.168.1.101

You should see another error now.

LG

Hey guys,

jrtaylor0319 is correct when he says that the server will try to connect to sever1 when conference.server1 failed to be contacted. The problem here does not seem to be a problem trying to find and establish a connection to the remote server. But instead this ia a problem of domain names.

2006.03.29 13:07:09 OS - Sent dialback key to host: 192.168.1.100 id: 2c3b9add from domain: conference.192.168.1.101

2006.03.29 13:07:09 OS - Unexpected answer in validation from: 192.168.1.100 id: 2c3b9add for domain: conference.192.168.1.101 answer:<stream:error xmlns:stream=“http://etherx.jabber.org/streams”></stream:error>

That log means that a connection was established to the remote server (192.168.1.100) and that they were trying to authenticate (i.e. validate their identities) and that process failed.

  1. Which is the server name of the server running at 192.168.1.100? It should be 192.168.1.100 or otherwise it will fail. You can check the server name from the admin console.

  2. Are you using black or white lists in the server 192.168.1.100? If you do then make sure that conference.192.168.1.101 is present in the white list.

Could you post the debug log info of each server? That would help us figure out where is the configuration problem. Do you see any useful information in the warn.log?

Thanks,

– Gato

Thanks for all the info.

Yes the name of the servers are there IP addresses, and I am using the white list option. I can establish normal communication fine its just when I use the group chat that it messes up. I will try adding conference.server2 to the whitelist and see what happens and I will post some log files if it fails.

Ok I tired to add conference.serverName to the whitelist and I get the following error when trying to conference:

Receiving Side

Debug:

2006.03.31 10:58:38 RS - Received dialback key from host: conference.192.168.1.100 to: 192.168.1.101

2006.03.31 10:58:39 RS - Trying to connect to Authoritative Server: conference.192.168.1.100:5269

2006.03.31 10:58:39 Logging off 192.168.1.100 on org.jivesoftware.wildfire.net.SocketConnection@173eca6 socket: Socket[addr=/192.168.1.100,port=1606,localport=5269] session: org.jivesoftware.wildfire.server.IncomingServerSession@11a0d35 status: -1 address: 192.168.1.100 id: f0297645

Warn:

2006.03.31 10:58:39 Error verifying key

java.net.UnknownHostException: conference.192.168.1.100

at java.net.PlainSocketImpl.connect(Unknown Source)

at java.net.SocksSocketImpl.connect(Unknown Source)

at java.net.Socket.connect(Unknown Source)

at org.jivesoftware.wildfire.server.ServerDialback.verifyKey(ServerDialback.java:5 15)

at org.jivesoftware.wildfire.server.ServerDialback.validateRemoteDomain(ServerDial back.java:452)

at org.jivesoftware.wildfire.server.IncomingServerSession.validateSubsequentDomain (IncomingServerSession.java:204)

at org.jivesoftware.wildfire.net.ServerSocketReader.processUnknowPacket(ServerSock etReader.java:149)

at org.jivesoftware.wildfire.net.SocketReader.readStream(SocketReader.java:299)

at org.jivesoftware.wildfire.net.SocketReader.run(SocketReader.java:119)

at java.lang.Thread.run(Unknown Source)

Sending side

Debug:

2006.03.31 11:04:48 OS - Sent dialback key to host: 192.168.1.101 id: f0297645 from domain: conference.192.168.1.100

2006.03.31 11:04:49 OS - Unexpected answer in validation from: 192.168.1.101 id: f0297645 for domain: conference.192.168.1.100 answer:<stream:error xmlns:stream=“http://etherx.jabber.org/streams”></stream:error>

As stated before I am using the whitelist option and I set close idle connections to 5 min. I also changed the wait time for servers to get connection to 45 seconds. Also I disabled the TLS method for connection. Please let me know if any of these settings could be causing the problem or any other suggestions

Any Idea about the new errors I got?