[cl-xmpp-devel] Re: problems getting started
Jason S. Cornez
jcornez at alum.mit.edu
Wed Oct 10 14:44:03 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I read more postings, and applied this patch
http://common-lisp.net/pipermail/cl-xmpp-devel/attachments/20070911/10a7acde/remove-cxml-dot-lisp.bin
The auth now is working. Sort of... Now I get no error, but I don't
seem to be able to send messages or do other things
CL-USER(4): (setq *connection* (xmpp:connect :hostname "imserver"))
; Autoloading for SOCKET:CONFIGURE-DNS:
; Fast loading from bundle code/acldns.fasl.
<?xml version='1.0' ?><stream:stream to='imserver' xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams' version='1.0'>
UNHANDLED: #<XML-ELEMENT STREAM:STREAM (6attr:0child:0data) @ #x719f2de2>
UNHANDLED: #<XML-ELEMENT STREAM:FEATURES (0attr:2child:0data) @ #x71a75bda>
#<XMPP:CONNECTION to imserver:5222 (open) @ #x719f2dfa>
CL-USER(5): (xmpp:auth *connection* "jcornez" "xxxx" "cl-xmpp")
<iq id="auth2" type="set"><query
xmlns="jabber:iq:auth"><username>jcornez</username><password>xxxx</password><resource>cl-xmpp</resource></query></iq>
UNHANDLED: #<XMPP-PROTOCOL-ERROR-CANCEL code:503
name:SERVICE-UNAVAILABLE @ #x71aebbea>
#<XMPP-PROTOCOL-ERROR-CANCEL code:503 name:SERVICE-UNAVAILABLE @ #x71aebbea>
CL-USER(6): (xmpp:message *connection* "jcornez at imserver" "what's going
on?")
<message to="jcornez at imserver" type="chat"><body>what's going
on?</body></message>
"<message to=\"jcornez at imserver\" type=\"chat\"><body>what's going
on?</body></message>"
CL-USER(7): (xmpp:get-roster *connection*)
<iq id="roster_1" type="get"><query xmlns="jabber:iq:roster"></query></iq>
"<iq id=\"roster_1\" type=\"get\"><query
xmlns=\"jabber:iq:roster\"></query></iq>"
CL-USER(8):
No messages are actually sent to the user.
Thanks for any help.
- -Jason
Jason S. Cornez wrote:
> Hello,
>
> Being interested in using xmpp for messaging in a lisp app, I'm checking
> out cl-xmpp and having some difficulties.
>
> First, I just did the asdf-install, but this resulted in an error
> calling (xstream/close..) I saw some other posts that recommended using
> the latest from cvs instead. So I did a cvs checkout of cl-xmpp and
> also of cxml (which further required closure-common). And now the
> (xmpp:connect..) seems to work. But when I try to auth, I get an error.
>
> I'm using ACL8.1 on linux.
>
> Also, may I kindly suggest that either the tarball be updated or the
> instructions be updated to not suggest the asdf-install method. This
> just does not seem to work at all now due to the (xstream/close..) problem.
>
> Best,
> -Jason
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHDOUzQlm6HDTMLyMRAtBFAJ9CdnbkoRA0piHFyzEW8vP/B9dRFgCdG+zb
LRAVK20YMVY29iys0mMrVyk=
=HXEH
-----END PGP SIGNATURE-----
More information about the cl-xmpp-devel
mailing list