[JDEV] 406 presence error
Andy Ames
agames at sbcglobal.net
Mon Aug 4 03:11:07 CDT 2003
hahahaha!
Thank you.
Andy
-----Original Message-----
From: jdev-admin at jabber.org [mailto:jdev-admin at jabber.org]On Behalf Of
Robert Norris
Sent: Sunday, August 03, 2003 9:16 PM
To: jdev at jabber.org
Subject: Re: [JDEV] 406 presence error
> SENT: <iq type="get" to="jabber.org" id="0123456789">
> <query xmlns="jabber:iq:auth">
> <username>myusername</username>
> </query>
> </iq>
> RECV: <iq type='result' id='0123456789'>
> <query xmlns='jabber:iq:auth'>
> <username>myusername</username>
> <password/>
> <digest/>
> <sequence>0</sequence>
> <token>A1B2C3D4</token>
> <resource/>
> </query>
> </iq>
> SENT: <iq type="get" to="jabber.org" id="0123456789">
> <query xmlns="jabber:iq:auth">
> <username>myusername</username>
> <password>mypassword</password>
> </query>
> </iq>
> RECV: <iq type='result' id='0123456789'>
> <query xmlns='jabber:iq:auth'>
> <username>myusername</username>
> <username>mypassword</username>
> <password/>
> <digest/>
> <sequence>0</sequence>
> <token>A1B2C3D4</token>
> <resource/>
> </query>
> </iq>
Here's your problem. The second IQ should be a set, not a get. You're
not authenticated, so you're not yet allowed to send anything, including
presence.
Rob.
--
Robert Norris GPG: 1024D/FC18E6C2
Email+Jabber: rob at cataclysm.cx Web: http://cataclysm.cx/
More information about the JDev
mailing list