powered by Jive Software

Bug? unable to contact jabber server

I have added my jabber account phaoost@x2.cz to roster. It is contstantly showing offline. I can receive messages from that account but cannot send:

On phaoost@x2.cz my openfire account showing as non-authorized.

I tested it with gmail account, it’s working fine.

Here is what I am getting in logs:

2011.03.09 16:11:59 Error trying to connect to remote server: cz(DNS lookup: cz:5269)

java.net.UnknownHostException: cz

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

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

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

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSess ion(LocalOutgoingServerSession.java:278)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain (LocalOutgoingServerSession.java:208)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:261)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:238)

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

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

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

I got exactly same error but with account hsn@jabber.cz

Same problem here using openfire 3.7.0.

2011.03.11 21:12:15 Accepting self-signed certificate of remote server: [paws.de]
2011.03.11 21:12:15 Error trying to connect to remote server: de(DNS lookup: de:5269)
java.net.UnknownHostException: de
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSess ion(LocalOutgoingServerSession.java:278)
at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain (LocalOutgoingServerSession.java:208)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:261)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:238)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
2011.03.11 21:13:21 Accepting self-signed certificate of remote server: [paws.de]
2011.03.11 21:13:21 Error trying to connect to remote server: de(DNS lookup: de:5269)
java.net.UnknownHostException: de
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:529)
at org.jivesoftware.openfire.session.LocalOutgoingServerSession.createOutgoingSess ion(LocalOutgoingServerSession.java:278)
at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain (LocalOutgoingServerSession.java:208)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPa cket(OutgoingSessionPromise.java:261)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:238)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
2011.03.11 21:13:21 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.routeToLocalDomain(RoutingTableI mpl.java:286)
at org.jivesoftware.openfire.spi.RoutingTableImpl.routePacket(RoutingTableImpl.jav a:233)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.return ErrorToSender(OutgoingSessionPromise.java:299)
at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(Ou tgoingSessionPromise.java:241)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java: 886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)

Ayn update for this? It would be nice to hear from developers about problem described

Sorry, there are no active developers of openfire at the moment. Patches welcome.

daryl

This error was in 3.7.0 and it is still in 3.7.1, i cant add my other account hsn@jabber.cz as contact:

2011.11.06 04:34:50 org.jivesoftware.openfire.server.ServerDialback - ServerDialback: OS - Ignoring unexpected answer in validation from: jabber.cz id: 3462818358 for domain: 127.0.0.1 answer:<stream:features xmlns:stream="[http://etherx.jabber.org/streams](http://etherx.jabber.org/streams)"><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><c xmlns="[http://jabber.org/protocol/caps](http://jabber.org/protocol/caps)" hash="sha-1" node="[http://www.process-one.net/en/ejabberd/](http://www.process-one.net/en/ejabberd/)" ver="yY9tLrun8DThxSbETeVklRoV6ek="/></stream:features>

2011.11.06 04:36:53 org.jivesoftware.openfire.session.LocalOutgoingServerSession - Error trying to connect to remote server: cz(DNS lookup: cz:5269)

java.net.UnknownHostException: cz

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.createOutgoingSession(LocalOutgoingServerSession.java:278)

at org.jivesoftware.openfire.session.LocalOutgoingServerSession.authenticateDomain(LocalOutgoingServerSession.java:208)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.sendPacket(OutgoingSessionPromise.java:261)

at org.jivesoftware.openfire.server.OutgoingSessionPromise$PacketsProcessor.run(OutgoingSessionPromise.java:238)

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)

Hi, I’ve the same problem with jabber.cz Is there chance you found a solution?

installed ejabberd and it works okay.

well - i thought about the same this morning - just don’t know whether ejabberd will run ok on windows server - any hints?

It has a windows installer, so should work, in theory.

indeed it does - up and running in less than 30 minutes …