[cl-xmpp-devel] Problems authenticating against ejabberd 1.1.2
Detlev Zundel
dzu at denx.de
Wed Mar 7 14:01:37 UTC 2007
Hi,
after exchanging a few mails with Julian, he asked me to post my
problems here on the mailing list, so here's the first of my problems.
When trying to connect to ejabberd without TLS, I can open a
connection to the server, but a subsequent authentication fails as
shown below. As a test account, I use "cl-xmpp" on our server. If
anyone needs the password for his own trials, simply drop me a mail or
contact me (dzu at jabber.denx.de). By the way, I just found
http://ejabberd.jabber.ru/node/1331
and it might just be that this is an ejabberd problem.
Ok, here goes the error log:
;;;; (setf *connection* (xmpp:connect :hostname "jabber.denx.de")) ...
<?xml version='1.0' ?><stream:stream to='jabber.denx.de' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>xml version='1.0'?><stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1569783337' from='jabber.denx.de' version='1.0' xml:lang='en'>
UNHANDLED: #<XML-ELEMENT STREAM:STREAM (6attr:0child:0data) {B5327B1}>
<stream:features><starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/><mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism></mechanisms><register xmlns='http://jabber.org/features/iq-register'/></stream:features>
UNHANDLED: #<XML-ELEMENT STREAM:FEATURES (0attr:3child:0data) {AB5B271}>
;;;; (xmpp:auth *connection* "cl-xmpp at jabber.denx.de" "cl-xmpp" " ...
; in:
; LAMBDA (#:G2630 #:G2631 #:G2632 #:G2633 #:G2634 #:G2635 #:G2636 #:G2637
; #:G2641 #:G2642)
; (TYPEP SB-PCL::.ARG0. 'RUNES::OCTET-VECTOR-YSTREAM)
; --> SB-C::%INSTANCE-TYPEP
; ==>
; SB-PCL::.ARG0.
;
; note: deleting unreachable code
; (IF (TYPEP SB-PCL::.ARG0. 'RUNES::OCTET-VECTOR-YSTREAM) #:G2630 #:G2631)
;
; note: deleting unreachable code
;
; compilation unit finished
; printed 2 notes
<iq id="auth2" type="set"><query xmlns="jabber:iq:auth"><username>cl-xmpp at jabber.denx.de</username><password>xxxx</password><resource>sbcl</resource></query></iq><iq from='jabber.denx.de' id='auth2' type='error'><error code='503' type='cancel'><service-unavailable xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>
UNHANDLED: #<XMPP-PROTOCOL-ERROR-CANCEL code:503 name:SERVICE-UNAVAILABLE {AF88741}>
CL-USER>
Ok, my attempts to connect with tls are described in the next mail.
Cheers
Detlev
--
The success of PCs is in large part due to the fact that, by making all
hardware equivalent, good software enabled bad hardware. (Ugly)
-- Rob Pike
More information about the cl-xmpp-devel
mailing list