Server attemps to do dns lookups on user names

Hi folks, we have been using the wildfire server for awhile, recently it has started to act odd since we upgraded to the newest code release. New users added to the system can not view groups properly, and the server seems to be attempting to do name lookups on them. here is the bit of the error log:

2006.01.24 09:13:59 org.jivesoftware.wildfire.server.OutgoingServerSession.createOutgoingSession(Out goingServerSession.java:266) Error trying to connect to remote server: eri(DNS lookup: eri:5269)

java.net.UnknownHostException: eri

eri is the user name.

When this user (and other new users) log in, they don’‘t see any buddies, even after they have both auth’'d each other. in an attempt to resolve this I dropped the sql table, and basicaly did a fresh new install of the server. if it matters, the sql db is remote, not local. I suspect when one of these issues is resolved the other will go away (fingers crossed).

anyone have an idea what might be going on here? please let me know if you require further logs. below is more of the error log.

thank you!

greg

Last packet sent to the server was 9 ms ago.

at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2563)

at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2862)

at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)

at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1666)

at com.mysql.jdbc.Connection.execSQL(Connection.java:2994)

at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:936)

at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1166)

at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1082)

at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1067)

at org.jivesoftware.wildfire.user.User.updateProperty(User.java:420)

at org.jivesoftware.wildfire.user.User.access$200(User.java:39)

at org.jivesoftware.wildfire.user.User$PropertiesMap.put(User.java:298)

at org.jivesoftware.wildfire.spi.PresenceManagerImpl.userUnavailable(PresenceManag erImpl.java:172)

at org.jivesoftware.wildfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:111)

at org.jivesoftware.wildfire.handler.PresenceUpdateHandler.process(PresenceUpdateH andler.java:141)

at org.jivesoftware.wildfire.SessionManager$ClientSessionListener.onConnectionClos e(SessionManager.java:1299)

at org.jivesoftware.wildfire.net.SocketConnection.notifyCloseListeners(SocketConne ction.java:515)

at org.jivesoftware.wildfire.net.SocketConnection.forceClose(SocketConnection.java :418)

at org.jivesoftware.wildfire.net.SocketConnection.checkHealth(SocketConnection.jav a:393)

at org.jivesoftware.wildfire.net.SocketSendingTracker.checkHealth(SocketSendingTra cker.java:100)

at org.jivesoftware.wildfire.net.SocketSendingTracker.access$100(SocketSendingTrac ker.java:21)

at org.jivesoftware.wildfire.net.SocketSendingTracker$1.run(SocketSendingTracker.j ava:61)

2006.01.24 09:13:59 org.jivesoftware.wildfire.server.OutgoingServerSession.createOutgoingSession(Out goingServerSession.java:266) Error trying to connect to remote server: eri(DNS lookup: eri:5269)

java.net.UnknownHostException: eri

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

at java.net.Socket.connect(Socket.java:507)

at org.jivesoftware.wildfire.server.OutgoingServerSession.createOutgoingSession(Ou tgoingServerSession.java:261)

at org.jivesoftware.wildfire.server.OutgoingServerSession.authenticateDomain(Outgo ingServerSession.java:141)

at org.jivesoftware.wildfire.server.OutgoingSessionPromise.createSessionAndSendPac ket(OutgoingSessionPromise.java:126)

at org.jivesoftware.wildfire.server.OutgoingSessionPromise.access$300(OutgoingSess ionPromise.java:37)

at org.jivesoftware.wildfire.server.OutgoingSessionPromise$1$1.run(OutgoingSession Promise.java:91)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 650)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

at java.lang.Thread.run(Thread.java:595)

2006.01.24 12:31:04 org.jivesoftware.wildfire.server.OutgoingServerSession.createOutgoingSession(Out goingServerSession.java:266) Error trying to connect to remote server: eri(DNS lookup: eri:5269)

java.net.UnknownHostException: eri

at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)

at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)

at java.net.Socket.connect(Socket.java:507)

at org.jivesoftware.wildfire.server.OutgoingServerSession.createOutgoingSession(Ou tgoingServerSession.java:261)

at org.jivesoftware.wildfire.server.OutgoingServerSession.authenticateDomain(Outgo ingServerSession.java:141)

at org.jivesoftware.wildfire.server.OutgoingSessionPromise.createSessionAndSendPac ket(OutgoingSessionPromise.java:126)

at org.jivesoftware.wildfire.server.OutgoingSessionPromise.access$300(OutgoingSess ionPromise.java:37)

at org.jivesoftware.wildfire.server.OutgoingSessionPromise$1$1.run(OutgoingSession Promise.java:91)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 650)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

at java.lang.Thread.run(Thread.java:595)

Was anyone able to answer this question? I am having the same problem where I get DNS lookups on the user id.

Hi,

I did not take a detailed look at the stacktrace, but OutgoingServerSession sound a lot like a server2server problem, … We recently discussed a similar problem in http://www.jivesoftware.org/community/thread.jspa?threadID=17842 and there it wasn’'t.

Maybe this one is also related to the DNS name which you configured in Wildfire, it seems that the Jive Messenger versions were more “administrator-friendly”.

LG