Sorry, once again it's me. I noticed that kopete is working if I explicitly 
set the connection server (in my case devloop.de). Setting the connection 
server results on major XML changes. Please note that 'verison="1.0"' in the 
first stream tag of the XML. I don't know much about the XMPP protocol. May 
someone is able to give me a tip about what is going wrong? Is that a jabberd2 
or a kopete problem?

thanks
Daniel

-----------------------------------------------------------------------
without connection server set (not working)
-----------------------------------------------------------------------
<?xml version="1.0"?>

<stream:stream xmlns:stream="http://etherx.jabber.org/streams"; version="1.0" 
xmlns="jabber:client" to="devloop.de">

<?xml version='1.0'?><stream:stream 
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' 
from='devloop.de' version='1.0' id='13ipsmggju6kqcb82rqdmqfny42xtfuujdjbz0sj'>

<stream:features>
<mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl">
<mechanism>PLAIN</mechanism>
<mechanism>DIGEST-MD5</mechanism>
</mechanisms>
<auth xmlns="http://jabber.org/features/iq-auth"/>
<register xmlns="http://jabber.org/features/iq-register"/>
</stream:features>

<auth xmlns="urn:ietf:params:xml:ns:xmpp-sasl" mechanism="DIGEST-MD5"/>

<challenge xmlns="urn:ietf:params:xml:ns:xmpp-
sasl">cmVhbG09ImRldmxvb3AuZGUiLCBub25jZT0icEFWL3hRZUg5KzUvNEVVX2t0b3dhZz09IiwgcW9wPSJhdXRoIiwgY2hhcnNldD11dGYtOCwgYWxnb3JpdGhtPW1kNS1zZXNz</challenge>

<response xmlns="urn:ietf:params:xml:ns:xmpp-
sasl">dXNlcm5hbWU9ImRhbWFnZSIscmVhbG09ImRldmxvb3AuZGUiLG5vbmNlPSWwQVYveFFlSDkrNS80RVVLa3Rvd2FnPT0iLGNub25jZT0ieEFweU1Hb2ZZRlROR0xKUnRhTHlIekQ0NlJYOHZzeDg4T2JobmF4WTMzRT0iLG5jPTAwMDAwMDAxLGRpZ2VzdC11cmk9InhtcHAvZGV2bG9vcC5kZSIscW9wPWF1dGgscmVzcG9uc2U9OWU0NjY0MjQ3MDEzMzYzNDI2Mjg2NGRiNDFlYzAxOWYsY2hhcnNldD11dGYtOA==</response>

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

<?xml version="1.0"?>

<stream:stream xmlns:stream="http://etherx.jabber.org/streams"; version="1.0" 
xmlns="jabber:client" to="devloop.de">
-----------------------------------------------------------------------

-----------------------------------------------------------------------
with connection server set (working)
-----------------------------------------------------------------------
<?xml version="1.0"?>

<stream:stream xmlns:stream="http://etherx.jabber.org/streams"; 
xmlns="jabber:client" to="devloop.de">

<?xml version='1.0'?><stream:stream 
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' 
from='devloop.de' id='x64pfgs4l4jlb4m6h2lj9t22cfgq9xw641wjhpn2'>

<iq type="get" to="devloop.de" id="auth_1">
<query xmlns="jabber:iq:auth">
<username>damage</username>
</query>
</iq>

<iq type="result" id="auth_1">
<query xmlns="jabber:iq:auth">
<username>damage</username>
<resource/>
<password/>
<digest/>
</query>
</iq>

<iq type="set" to="devloop.de" id="auth_2">
<query xmlns="jabber:iq:auth">
<username>damage</username>
<digest>[Filtered]</digest>
<resource>Kopete</resource>
</query>
</iq>

[rosters etc.]
-----------------------------------------------------------------------


Am Dienstag, 17. Juli 2012, 22:34:36 schrieb [email protected]:
> Hi again,
> I tried at home from my router with mcabber. Everything worked fine. Then I
> tried from my working machine (which is behind the router) and... guess...
> 
> 
> 
> 
> it worked, too ;)
> 
> Erm, Kopete? What are you doing?
> 
> thanks for your attention
> Daniel
> 
> Am Montag, 16. Juli 2012, 23:51:25 schrieb [email protected]:
> > If I create a tunnel on port 5222 (ssh -L 5222:localhost:5222 devloop.de)
> > and if I set my jabber client to connect to localhost:5222 everything is
> > working fine. Login works, presence message are comming in. This is the
> > log: --------------------------------------------------
> > Jul 16 23:26:32 devloop jabberd/c2s[4445]: [8] [127.0.0.1, port=49636]
> > connect Jul 16 23:26:32 devloop jabberd/c2s[4445]: [8] legacy
> > authentication succeeded: host=devloop.de, username=damage,
> > resource=Kopete
> > Jul 16 23:26:32 devloop jabberd/c2s[4445]: [8] requesting session:
> > [email protected]/Kopete Jul 16 23:26:32 devloop jabberd/sm[4422]:
> > session started: [email protected]/Kopete
> > --------------------------------------------------
> > 
> > But if I try to use the normal "remote" way and try to connect directly to
> > devloop.de:5222 my client is hanging during login. And the log is just:
> > --------------------------------------------------
> > Jul 16 23:27:28 devloop jabberd/c2s[4445]: [8] [91.37.187.80, port=33738]
> > connect
> > --------------------------------------------------


Reply via email to