[JDEV] jabber login question

Robert Temple robert.temple at dig.com
Mon Apr 9 23:16:58 CDT 2001


try specifying a resource:

<iq type="set" id="JCOM_0">
   <query xmlns="jabber:iq:auth">
     <username>stevedekorte2</username>
     <password>xxx</password>
     <resource>work</resource>
   </query>
</iq>

-Robert

> -----Original Message-----
> From: Steve Dekorte [mailto:steve at dekorte.com]
> Sent: Monday, April 09, 2001 7:48 PM
> To: jdev at jabber.org
> Subject: Re: [JDEV] jabber login question
> 
> 
> 
> On Monday, April 9, 2001, at 07:06 PM, Neil Conway wrote:
> 
> > My guess would be that you're telnetting to jabber.com, but the 'to'
> > attribute in your XML is 'jabber.org'.
> 
> That was it - thanks Neil!
> 
> <dumb question #2>
> 
> I do what the "Jabber Protocol Overview" recommends for login:
> 
> <iq type="set" id="JCOM_0">
>    <query xmlns="jabber:iq:auth">
>      <username>stevedekorte2</username>
>      <password>xxx</password>
>    </query>
> </iq>
> 
> and get:
> 
> <iq type='error' id='JCOM_0'>
>    <query xmlns='jabber:iq:auth'>
>      <username>stevedekorte2</username>
>      <password>xxx</password>
>    </query>
>    <error code='406'>Not Acceptable</error>
> </iq>
> 
> My username and password are correct. (I tried my username with and 
> without '@jabber.com' and my password is crossed out here) I've also 
> tried specifying a resource. No luck.
> 
> Thoughts?
> 
> Steve
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
> 




More information about the JDev mailing list