Hi,
Trying to set up a test server with jabberd2 (version 2.2dev) using the guide on http://jabberd2.xiaoka.com/wiki/InstallGuide

The problem is that i can't connect the sm module with the router module. The way i've done it is first starting the router so that it just runs... and then trying to connect with sm and this is what i get:

This from sm:
sx (sasl_gsasl.c:425) data from client
sx (sasl_gsasl.c:431) decoded data: realm="jabberd-router", nonce="dEZcwUi2KKiJovC3nKwU/w==", qop="auth, auth-int", charset=utf-8, algorithm=md5-sess
sx (sasl_gsasl.c:627) in _sx_sasl_gsasl_callback, property: 2
sx (sasl_gsasl.c:627) in _sx_sasl_gsasl_callback, property: 11
sx (sasl_gsasl.c:439) sasl handshake in progress (response: username="jabberd", realm="jabberd-router", nonce="dEZcwUi2KKiJovC3nKwU/w==", cnonce="aKFDpchqQo81KKms0by1UQ==", nc=00000001, qop=auth, digest-uri="jabberd-router/myhost.st", response=ada333759bd41249a55530ed0d586ca0, charset=utf-8)
sx (chain.c:106) calling nad write chain
sx (io.c:406) queueing for write: <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dXNlcm5hbWU9ImphYmJlcmQiLCByZWFsbT0iamFiYmVyZC1yb3V0ZXIiLCBub25jZT0iZEVaY3dVaTJLS2lKb3ZDM25Ld1Uvdz09IiwgY25vbmNlPSJhS0ZEcGNocVFvODFLS21zMGJ5MVVRPT0iLCBuYz0wMDAwMDAwMSwgcW9wPWF1dGgsIGRpZ2VzdC11cmk9ImphYmJlcmQtcm91dGVyL2tvZmlzaC5vcmciLCByZXNwb25zZT1hZGEzMzM3NTliZDQxMjQ5YTU1NTMwZWQwZDU4NmNhMCwgY2hhcnNldD11dGYtOA==</response>
sx (io.c:256) tag 5 event 1 data 0x0
Tue Feb 10 20:27:32 2009 sm.c:48 want write
Tue Feb 10 20:27:32 2009 sm.c:243 write action on fd 5
sx (io.c:328) 5 ready for writing
sx (io.c:286) encoding 374 bytes for writing: <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dXNlcm5hbWU9ImphYmJlcmQiLCByZWFsbT0iamFiYmVyZC1yb3V0ZXIiLCBub25jZT0iZEVaY3dVaTJLS2lKb3ZDM25Ld1Uvdz09IiwgY25vbmNlPSJhS0ZEcGNocVFvODFLS21zMGJ5MVVRPT0iLCBuYz0wMDAwMDAwMSwgcW9wPWF1dGgsIGRpZ2VzdC11cmk9ImphYmJlcmQtcm91dGVyL2tvZmlzaC5vcmciLCByZXNwb25zZT1hZGEzMzM3NTliZDQxMjQ5YTU1NTMwZWQwZDU4NmNhMCwgY2hhcnNldD11dGYtOA==</response>
sx (chain.c:79) calling io write chain
sx (io.c:349) handing app 374 bytes to write
sx (io.c:350) tag 5 event 3 data 0x8633248
Tue Feb 10 20:27:32 2009 sm.c:85 writing to 5
Tue Feb 10 20:27:32 2009 sm.c:89 374 bytes written
sx (io.c:383) tag 5 event 0 data 0x0
Tue Feb 10 20:27:32 2009 sm.c:43 want read
Tue Feb 10 20:27:32 2009 sm.c:232 read action on fd 5
sx (io.c:191) 5 ready for reading
sx (io.c:197) tag 5 event 2 data 0x8633288
Tue Feb 10 20:27:32 2009 sm.c:53 reading from 5
Tue Feb 10 20:27:32 2009 sm.c:78 read 80 bytes
sx (io.c:216) passed 80 read bytes
sx (chain.c:93) calling io read chain
sx (io.c:240) decoded read data (80 bytes): <failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><malformed-request/></failure> sx (io.c:92) completed nad: <failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><malformed-request/></failure>
sx (chain.c:119) calling nad read chain
sx (sasl_gsasl.c:590) tag 5 event 8 data 0xbfc7235c
Tue Feb 10 20:27:32 2009 [notice] error from router: Authentication failed ((null))

And this from the router:
sx (io.c:240) decoded read data (374 bytes): <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dXNlcm5hbWU9ImphYmJlcmQiLCByZWFsbT0iamFiYmVyZC1yb3V0ZXIiLCBub25jZT0iZEVaY3dVaTJLS2lKb3ZDM25Ld1Uvdz09IiwgY25vbmNlPSJhS0ZEcGNocVFvODFLS21zMGJ5MVVRPT0iLCBuYz0wMDAwMDAwMSwgcW9wPWF1dGgsIGRpZ2VzdC11cmk9ImphYmJlcmQtcm91dGVyL2tvZmlzaC5vcmciLCByZXNwb25zZT1hZGEzMzM3NTliZDQxMjQ5YTU1NTMwZWQwZDU4NmNhMCwgY2hhcnNldD11dGYtOA==</response> sx (io.c:92) completed nad: <response xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dXNlcm5hbWU9ImphYmJlcmQiLCByZWFsbT0iamFiYmVyZC1yb3V0ZXIiLCBub25jZT0iZEVaY3dVaTJLS2lKb3ZDM25Ld1Uvdz09IiwgY25vbmNlPSJhS0ZEcGNocVFvODFLS21zMGJ5MVVRPT0iLCBuYz0wMDAwMDAwMSwgcW9wPWF1dGgsIGRpZ2VzdC11cmk9ImphYmJlcmQtcm91dGVyL2tvZmlzaC5vcmciLCByZXNwb25zZT1hZGEzMzM3NTliZDQxMjQ5YTU1NTMwZWQwZDU4NmNhMCwgY2hhcnNldD11dGYtOA==</response>
sx (chain.c:119) calling nad read chain
sx (sasl_gsasl.c:371) response from client (decoded: username="jabberd", realm="jabberd-router", nonce="dEZcwUi2KKiJovC3nKwU/w==", cnonce="aKFDpchqQo81KKms0by1UQ==", nc=00000001, qop=auth, digest-uri="jabberd-router/myhost.st", response=ada333759bd41249a55530ed0d586ca0, charset=utf-8)
sx (sasl_gsasl.c:627) in _sx_sasl_gsasl_callback, property: 12
sx (sasl_gsasl.c:627) in _sx_sasl_gsasl_callback, property: 3
Tue Feb 10 20:27:32 2009 main.c:209 sx sasl callback: get pass (authnid=jabberd, realm=jabberd-router) sx (sasl_gsasl.c:413) sasl handshake failed; (55): Authentication failed because the password was not provided.
sx (chain.c:106) calling nad write chain
sx (io.c:406) queueing for write: <failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><malformed-request/></failure>
sx (io.c:256) tag 5 event 1 data 0x0
Tue Feb 10 20:27:32 2009 router.c:520 want write
Tue Feb 10 20:27:32 2009 router.c:869 write action on fd 5
sx (io.c:328) 5 ready for writing
sx (io.c:286) encoding 80 bytes for writing: <failure xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><malformed-request/></failure>

Could someone help me with this? (All usernames and passwords are default)

--
Med vänliga hälsningar
Krister Svanlund


--
To unsubscribe send a mail to [email protected]

Reply via email to