This thread is archived
2 Replies Last post: Jul 17, 2007 9:34 AM by Bernd  
  1 posts since
Jun 20, 2007
Currently Being Moderated

Jun 21, 2007 7:57 AM

Openfire + JsJac = server response with wrong rspauth

Hi everybody,

 

I have an error when I try to connect Openfire 3.3.1 server with the JsJac 0.6.1 simpleclient.

Something is wrong with the SASL authentication but why?

 

If somebody can help me it would be great!

The JsJac debugger said:

 

 

jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCParseStreamFeatures

 

 

&lt;body xmlns="http://jabber.org/protocol/httpbind" xmlns:stream="http://etherx.jabber.org/streams" authid="cff1185f" sid="cff1185f" secure="true" requests="2" inactivity="30" polling="5" wait="300"&gt;&lt;stream:features&gt;&lt;mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"&gt;&lt;mechanism&gt;DIGEST-MD5&lt;/mec hanism&gt;&lt;mechanism&gt;PLAIN&lt;/mechanism&gt;&lt;/mechanisms&gt;&lt;compres sion xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"/&gt;&lt;session xmlns="urn:ietf:params:xml:ns:xmpp-session"/&gt;&lt;/stream:features&gt;&lt;/bo dy&gt;

 

 

jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCParseStreamFeatures

 

 

SASL detected

 

 

jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuth

 

 

SASL using mechanism ''DIGEST-MD5''

 

 

jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuthDigestMd5S1

 

 

&lt;body xmlns=''http://jabber.org/protocol/httpbind''><challenge xmlns="urn:ietf:params:xml:ns:xmpp-sasl"&gt;cmVhbG09Im9wZW5maXJlLmlkZWVsaWMub20 iLG5vbmNlPSIzTE5Pb3g2Y3dqMDd0SWxaYVMxWGppalZtMU9FNVBwOEZySDk0VUpnIixxb3A9ImF1dGg iLGNoYXJzZXQ9dXRmLTgsYWxnb3JpdGhtPW1kNS1zZXNz&lt;/challenge&gt;&lt;/body&gt;

 

 

jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuthDigestMd5S1

 

 

got challenge: realm="myserver.com",nonce="3LNOox6cwj07tIlZaS1XjijVm1OE5Pp8FrH94UJg",qop="auth ",charset=utf-8,algorithm=md5-sess

 

 

jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuthDigestMd5S1

 

 

nonce: 3LNOox6cwj07tIlZaS1XjijVm1OE5Pp8FrH94UJg

 

 

jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuthDigestMd5S1

 

 

response: username="jojoba",realm="openfire.ideelic.om",nonce="3LNOox6cwj07tIlZaS1XjijVm1 OE5Pp8FrH94UJg",cnonce="BMBLAJIIELDGMB",nc="00000001",qop=auth,digest-uri="xmpp/ openfire.ideelic.om",response="72c4a14f06d27881c23ef146dea59bf5",charset=utf-8

 

 

jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuthDigestMd5S2

 

 

&lt;body xmlns=''http://jabber.org/protocol/httpbind''><failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"&gt;&lt;not-authorized/&gt;&lt;/failure &gt;&lt;/body&gt;

 

 

jeudi 21 juin 2007 14:40:11 (level 1) func: JSJaCSASLAuthDigestMd5S2

 

 

auth error: &lt;failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"&gt;&lt;not-authorized/&gt;&lt;/failure &gt;

 

 

jeudi 21 juin 2007 14:40:11 (level 2) func: unknown

 

 

handling event ''status_changed''

 

 

jeudi 21 juin 2007 14:40:11 (level 0) func: handleStatusChange

 

 

status changed: disconnecting

 

 

jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCHBCDisconnect

 

 

Disconnected: &lt;body xmlns="http://jabber.org/protocol/httpbind"></body>

 

 

jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuthDigestMd5S2

 

 

response:

 

 

jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuthDigestMd5S2

 

 

rspauth:

 

 

jeudi 21 juin 2007 14:40:11 (level 2) func: JSJaCSASLAuthDigestMd5S2

 

 

rsptest: 211cc4d8e29ea63edb71a6280dcdf8e1

 

 

jeudi 21 juin 2007 14:40:11 (level 1) func: JSJaCSASLAuthDigestMd5S2

 

 

SASL Digest-MD5: server repsonse with wrong rspauth

 

 

 

 

 

*

 

Message was edited by: Caolga

  2 posts since
Jul 4, 2007
Currently Being Moderated
Jul 11, 2007 7:26 AM in response to: Caolga
Re: Openfire + JsJac = server response with wrong rspauth

Hi,

 

I have the same error. Did you manage to find a solution? Thanks.

 

Kind regards,

 

Nick

  3 posts since
Jul 16, 2007
Currently Being Moderated
Jul 17, 2007 9:34 AM in response to: Caolga
Re: Openfire + JsJac = server response with wrong rspauth

Still no answer here?

More Like This

  • Retrieving data ...