[jdev] JabberApplet auth mechas (?).

Rodolfo Gonzalez Gonzalez rodolfo at equinoxe.g-networks.net
Wed Mar 31 17:22:18 CST 2004


On Thu, 25 Mar 2004 maqi at jabberstudio.org wrote:
> On Wed, 24 Mar 2004, Rodolfo Gonzalez Gonzalez wrote:
>
> > So I guess the applet is dropping the connection?...
>
> Probably running the applet in a debugger and/or looking at its console
> output would help.


Indeed, it did :) . I'm getting this in the console...

Start of connect ...
Connecting to msg.domain.com / msg.domain.com
Setting connection state to: Connection Pending
Setting connection state to: Connecting
Setting connection state to: Open
SENT: <?xml version="1.0" ?><stream:stream to="msg.domain.com"
xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams">
Connect succeeded ...
RECV: <?xml version='1.0'?><stream:stream
xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client'
from='msg.domain.com'
version='1.0' id='bbr31vpf38frdcffzjjhpcetnjvfg48sgzvhvkxy'>
SENT: <iq id="Conectar" type="set"><query
xmlns="jabber:iq:auth"><username>mylogin</username><password>xxx</password>
<resource>JabberApplet200057445</resource></query></iq>
SENT: <iq id="Agents" type="get" to="msg.domain.com"><query
xmlns="jabber:iq:agents"/></iq>
RECV: <stream:error
xmlns:stream='http://etherx.jabber.org/streams'><not-authorized
xmlns='urn:ietf:params:xml:ns:xmpp-streams'/></stream:error>
</stream:stream>
unsupported tag: stream:error


I don't understand why does it say "not-authorized", if Kopete works fine
with the same mecha, and I patched JabberApplet for plain auth :(


Thanks in advanced,
Rodolfo.





More information about the JDev mailing list