Hello everyone,
this is my first post here, and I’ve really tried to find the answer by myself before bothering you. Also please be tolerant in case of any language mistakes - English is not my native language and even if I try, some bad vocabulary/grammar may happer
So, let’s go with the problems.
- Google Talk:
As it was some time ago with 3.5.0 version of Openfire, my gmail contacts are no longer visible. I can’t add, authorize and - of course - talk with them. After adding a contact on Openfire or the Gmail side, I can see packet traffic on my network interface (here: http://wklej.org/id/152101/ is some output from tcpdump), but nothing happens on the client sides (I’ve tried Adium under Mac OS X and Pidgin for Linux/Windows on my side; Gtalk built-in web interface and Pidgin on Linux machine on Google side). The only information that I have is something from warn.log (why not error.log, by the way?):
2009.09.19 04:20:38 Error returning error to sender. Original packet:
org.jivesoftware.openfire.PacketException: Cannot route packet of type IQ or Presence to bare JID:
at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.jav a:217)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.return ErrorToSender(OutgoingSessionPromise.java:285)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:219)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
After releasing 3.5.2 problem disappeared, but now (I can’t tell, for how long) it’s happening again.
The second thing is, my Openfire sometimes acts like it have lost the ability to resolve DNS. Here’s an example: I’m trying to add contant from other jabberd (Openfire too, if anyone concerned) and my error.log is then filled with this:
2009.09.19 04:21:28 [org.jivesoftware.openfire.server.ServerDialback.createOutgoingSession(ServerDi alback.java:257)] Error creating outgoing session to remote server: jabber.idg.pl(DNS lookup: jabber.idg.pl)
org.xmlpull.v1.XmlPullParserException: expected start tag name and not / (position: START_DOCUMENT seen </… @1:2)
at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1475)
at org.jivesoftware.openfire.net.MXParser.nextImpl(MXParser.java:332)
at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
at org.jivesoftware.openfire.server.ServerDialback.createOutgoingSession(ServerDia lback.java:218)
at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSess ion(LocalOutgoingServerSession.java:371)
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(ThreadPoolExecutor.java: 885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Of course my machine is able to resolve that name and connect to jabberd on it:
insomniac /var/log/openfire # host jabber.idg.pl
jabber.idg.pl has address 194.69.207.130
insomniac /var/log/openfire # telnet jabber.idg.pl 5269
Trying 194.69.207.130…
Connected to jabber.idg.pl.
Escape character is ‘^]’.
^]
telnet> Connection closed.
insomniac /var/log/openfire #
So for me it looks like Java have some troubles with resolving DNS names. I’ve tried running Openfire (or, maybe, java) as root to be sure that’s not problem with accessing resolv.conf or sth, but still no results. It’s kinda weird, as long as it don’t want to work with some hosts and works pretty with others (so I assume it can’t be any ‘global’ or ‘server-wide’ issue, right?).
If it will help in any way, here is some additional information:
-
Openfire 3.6.4;
-
FreeBSD 7.2-RELEASE amd64;
-
diablo-jdk1.6.0
-
no limits for memory/processor tasks for user ‘openfire’.
I’m looking forward for hearing any news from you. If I need to add additional informations, please just give me a sign.
Thanks in advance,
- Bartek