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:

  • (level 2) func: JSJaCParseStreamFeatures*

<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”><stream:features><mechanisms xmlns=“urn:ietf:params:xml:ns:xmpp-sasl”><mechanism>DIGEST-MD5</mec hanism><mechanism>PLAIN</mechanism></mechanisms><compres sion xmlns=“http://jabber.org/features/compress”><method>zlib</method></compression><bind xmlns=“urn:ietf:params:xml:ns:xmpp-bind”/><session xmlns=“urn:ietf:params:xml:ns:xmpp-session”/></stream:features></bo dy>

  • (level 2) func: JSJaCParseStreamFeatures*

SASL detected

  • (level 2) func: JSJaCSASLAuth*

SASL using mechanism ‘‘DIGEST-MD5’’

  • (level 2) func: JSJaCSASLAuthDigestMd5S1*

<body xmlns=’‘http://jabber.org/protocol/httpbind’’><challenge xmlns=“urn:ietf:params:xml:ns:xmpp-sasl”>cmVhbG09Im9wZW5maXJlLmlkZWVsaWMub20 iLG5vbmNlPSIzTE5Pb3g2Y3dqMDd0SWxaYVMxWGppalZtMU9FNVBwOEZySDk0VUpnIixxb3A9ImF1dGg iLGNoYXJzZXQ9dXRmLTgsYWxnb3JpdGhtPW1kNS1zZXNz</challenge></body>

  • (level 2) func: JSJaCSASLAuthDigestMd5S1*

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

  • (level 2) func: JSJaCSASLAuthDigestMd5S1*

nonce: 3LNOox6cwj07tIlZaS1XjijVm1OE5Pp8FrH94UJg

  • (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

  • (level 2) func: JSJaCSASLAuthDigestMd5S2*

<body xmlns=’‘http://jabber.org/protocol/httpbind’’><failure xmlns=“urn:ietf:params:xml:ns:xmpp-sasl”><not-authorized/></failure ></body>

  • (level 1) func: JSJaCSASLAuthDigestMd5S2*

auth error: <failure xmlns=“urn:ietf:params:xml:ns:xmpp-sasl”><not-authorized/></failure >

  • (level 2) func: unknown*

handling event ‘‘status_changed’’

  • (level 0) func: handleStatusChange*

status changed: disconnecting

  • (level 2) func: JSJaCHBCDisconnect*

Disconnected: <body xmlns=“http://jabber.org/protocol/httpbind”></body>

  • (level 2) func: JSJaCSASLAuthDigestMd5S2*

response:

  • (level 2) func: JSJaCSASLAuthDigestMd5S2*

rspauth:

  • (level 2) func: JSJaCSASLAuthDigestMd5S2*

rsptest: 211cc4d8e29ea63edb71a6280dcdf8e1

  • (level 1) func: JSJaCSASLAuthDigestMd5S2*

SASL Digest-MD5: server repsonse with wrong rspauth

Message was edited by: Caolga

Hi,

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

Kind regards,

Nick

Still no answer here?