On Fri, Aug 19, 2005 at 02:57:44PM +0200, Konstantin Klyagin wrote:

> [OUT]<route to='[EMAIL PROTECTED]'
> from='[EMAIL PROTECTED]'
> id='1' type='auth'><iq type='get'><query
> xmlns='jabber:iq:auth'><username>konst</username></query></iq></route>

> [IN]<route from='[EMAIL PROTECTED]'
> to='[EMAIL PROTECTED]' type='auth'><iq
> type='result'><query
> xmlns='jabber:iq:auth'><username>konst</username><digest/><password/><resource/></query></iq></route>

> That's pretty cool. I'll investigate it this way so far. Will get
> back to you with questions if I have some. Thanks for your help!

Still, it apprears to reply well on iq get packet, but when I try
to actually login from my component, I get the same error:

[OUT]<route from='[EMAIL PROTECTED]'
to='[EMAIL PROTECTED]' type='auth' id='1'><iq type='set'
id='2'><query
xmlns='jabber:iq:auth'><username>konst</username><resource>a</resource><password>****</password></query></iq></route>

[IN]<route from='[EMAIL PROTECTED]'
to='[EMAIL PROTECTED]' type='auth'><iq
type='error' id='2'><query
xmlns='jabber:iq:auth'><username>konst</username><resource>a</resource><password>****</password></query><error
code='406'>Not Acceptable</error></iq></route>

On the other hand, sending exactly the same packet over a client connection
works:

[EMAIL PROTECTED] ~ $ telnet localhost 5222
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
<?xml version='1.0'?>

<stream:stream xmlns:stream='http://etherx.jabber.org/streams'
xmlns='jabber:client' to='thekonst.homeip.net'>

<?xml version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org/streams' id='430602EE'
xmlns='jabber:client' from='thekonst.homeip.net'>

<iq type='set' id='2'><query
xmlns='jabber:iq:auth'><username>konst</username><resource>a</resource><password>****</password></query></iq>

<iq type='result' id='2'/>

-- 
konst at http://thekonst.net/
_______________________________________________
jdev mailing list
[email protected]
http://mail.jabber.org/mailman/listinfo/jdev

Reply via email to