Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Openfire with Connection Manager

$
0
0

We are using openfire with two connection manager acting as a reverse proxy. When we connect our client to openfire directly, the client connects very fast (0 sec). However when we connect using the connection mnager, it seems that the connection takes a very long time (15 seconds). I am using the default configuration of manager.xml. I have tried to tune the parameters but it makes little difference. We're using jabber.net and our server is commserver resolved using DNS. Any help to resolve this will be greatly appreciated. After this step, the communication is relatively stable.

 

Below are the stack trace -

 

Sign in through Connection Manager
SEND at 6:09:31 PM :<stream:stream xmlns:stream="http://etherx.jabber.org/streams" id="227785bf" xmlns="jabber:client" to="commserver" version="1.0">
RECV at 6:09:31 PM :<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="172.24.58.9" id="5qva574220a90" xml:lang="en" version="1.0">
RECV at 6:09:31 PM :<stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism >ANONYMOUS</mechanism></mechanisms><auth xmlns="http://jabber.org/features/iq-authhttp://jabber.org/features/iq-auth"/></stream:features>
SEND at 6:09:31 PM :<auth mechanism="PLAIN" xmlns="urn:ietf:params:xml:ns:xmpp-sasl">AGNzdXNlcjMAcEBzc3cwcmQ=</auth>

 

===> There is a delay of 15 seconds here looking at the time stamp


RECV at 6:09:46 PM :<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
SEND at 6:09:46 PM :<stream:stream xmlns:stream="http://etherx.jabber.org/streams" id="864f64a2" xmlns="jabber:client" to="commserver" version="1.0">
RECV at 6:09:46 PM :<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="172.24.58.9" id="5qva574220a90" xml:lang="en" version="1.0"><stream:features><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>

 

The same code connecting directly

 

Sign in to App Server

SEND at 6:08:21 PM :<stream:stream xmlns:stream="http://etherx.jabber.org/streams" id="33ecec41" xmlns="jabber:client" to="commserver" version="1.0">

RECV at 6:08:21 PM :<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="mqcommunicator" id="e07b621a" xml:lang="en" version="1.0">

RECV at 6:08:21 PM :<stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechanism >ANONYMOUS</mechanism></mechanisms><compression xmlns="zlibhttp://jabber.org/features/compress"><method>zlib</method></compression><aut h xmlns="http://jabber.org/features/iq-authhttp://jabber.org/features/iq-auth"/></stream:features>

SEND at 6:08:21 PM :<auth mechanism="PLAIN" xmlns="urn:ietf:params:xml:ns:xmpp-sasl">AGNzdXNlcjMAcEBzc3cwcmQ=</auth>

RECV at 6:08:21 PM :<success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>

SEND at 6:08:21 PM :<stream:stream xmlns:stream="http://etherx.jabber.org/streams" id="94b9638d" xmlns="jabber:client" to="commserver" version="1.0">

RECV at 6:08:21 PM :<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="mqcommunicator" id="e07b621a" xml:lang="en" version="1.0"><stream:features><compression xmlns="zlibhttp://jabber.org/features/compress"><method>zlib</method></compression><bin d xmlns="urn:ietf:params:xml:ns:xmpp-bind"/><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></stream:features>


Viewing all articles
Browse latest Browse all 10742

Trending Articles