Quantcast
Viewing all articles
Browse latest Browse all 4979

New XMPP lib cannot connect: Understanding steps in servers log

Hello !

I am using another client library since today, but this fails to connect to my openfire - other programs do fine.

I am just asking about the entries in the servers logfile in reaction to new clients connection attempt.

There is the following:

 

<pre>

2015.09.29 16:20:37 NIOConnection: startTLS: using c2s

2015.09.29 16:20:37 AuthorizationManager: Trying Default Policy.authorize(test , test@manne.eu)

2015.09.29 16:20:37 DefaultAuthorizationPolicy: Checking authenID realm

2015.09.29 16:20:37 DefaultAuthorizationPolicy: authenRealm = xmpp.domain

2015.09.29 16:20:37 LocalOutgoingServerSession: OS - Trying to connect to thor.manne.eu:5269(DNS lookup: thor.manne.eu:5269)

2015.09.29 16:20:37 Connect Socket[addr=/37.209.66.102,port=57442,localport=5269]

2015.09.29 16:20:37 LocalOutgoingServerSession: OS - Plain connection to thor.manne.eu:5269 successful

2015.09.29 16:20:37 LocalOutgoingServerSession: OS - Going to try connecting using server dialback with: thor.manne.eu

2015.09.29 16:20:37 Connection closed before session established

Socket[addr=/37.209.66.102,port=57442,localport=5269]

2015.09.29 16:20:37 ServerDialback: OS - Trying to connect to thor.manne.eu:5269(DNS lookup: thor.manne.eu:5269)

2015.09.29 16:20:37 Connect Socket[addr=/37.209.66.102,port=57443,localport=5269]

2015.09.29 16:20:37 ServerDialback: OS - Connection to thor.manne.eu:5269 successful

2015.09.29 16:20:37 ServerDialback: OS - Sent dialback key to host: thor.manne.eu id: 8a8a0cb5 from domain: manne.eu

2015.09.29 16:20:37 ServerDialback: RS - Received dialback key from host: manne.eu to: thor.manne.eu

2015.09.29 16:20:37 ServerDialback: RS - Error, hostname not recognized: thor.manne.eu

2015.09.29 16:20:37 Connection closed before session established

Socket[addr=/37.209.66.102,port=57443,localport=5269]

2015.09.29 16:20:37 ServerDialback: OS - Unexpected answer in validation from: thor.manne.eu id: 8a8a0cb5 for domain: manne.eu answer:<stream:error xmlns:stream="http://etherx.jabber.org/streams"><host-unknown xmlns="urn:ietf:params:xml:ns:xmpp-streams"/></stream:error>

2015.09.29 16:20:37 OutgoingSessionPromise: Error sending packet to remote server:

<iq to="thor.manne.eu" type="set" id="1" from="test@manne.eu/694add46">

<session xmlns="urn:ietf:params:xml:ns:xmpp-session"/>

</iq>

java.lang.Exception: Failed to create connection to remote server

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

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

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)

</pre>

 

There are two things: The connection is closed, from which side, I cannot see and - then, more logentries appear..

The other thing is a hostname resolution problem ?? I am using programs and gajim (from intern) and

Xabber from android with no problems.

Thanks,

Manfred

 


Viewing all articles
Browse latest Browse all 4979

Trending Articles