[jdev] Error while trying to login into talk.google.com
Ashutosh
ashutosh.lawania at gmail.com
Mon Aug 29 01:23:05 CDT 2005
I used gmail.com <http://gmail.com> ...
JabberContext context = new JabberContext("username", "password",
"gmail.com<http://gmail.com>
");
Now how do i use X-GOOGLE-TOKEN.
Do i need to encode my login pwd credential..
Ashutosh lawania
**
**
*DEBUG [jabber/msg/outgoing] - <?xml version='1.0' encoding='UTF-8'
?><stream:stream to='gmail.com <http://gmail.com>' version='1.0'
xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>*
*DEBUG [jabber/msg/incoming] - <stream:stream
from="gmail.com<http://gmail.com>"
id="EC5BF60D">*
*DEBUG [jabber/msg/incoming] - <stream:features xmlns:stream="
http://etherx.jabber.org/streams" id="id_10003"><starttls
xmlns="urn:ietf:params:xml:ns:xmpp-tls" /><mechanisms
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-GOOGLE-TOKEN</mechanism></mechanisms></stream:features>
*
*DEBUG [jabber/msg/outgoing] - <iq xmlns="jabber:client" id="id_10004"
type="get"><query
xmlns="jabber:iq:auth"><username>username</username></query></iq>*
*DEBUG [jabber/msg/incoming] - <iq xmlns="jabber:client" id="id_10004"
type="error"><query
xmlns="jabber:iq:auth"><username>username</username></query><error
code="405" type="cancel"><not-allowed
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /><text
xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Server does not support
PLAIN</text></error></iq>*
*INFO [com.echomine.jabber.parser.JabberJAXPParser] - **IOException**:
socket closed*
*at com.echomine.jabber.JabberUserService.login(**JabberUserService.java:45*
*)*
*at com.xmppcore.XMPPConsoleClient.main(**XMPPConsoleClient.java:22**)*
*Exception occured*
On 8/29/05, Julien PUYDT <julien.puydt at laposte.net> wrote:
>
> Ashutosh a écrit :
> > I am using muse 0.81 apis to write a jabber/xmpp client.
> > I am tring to connect talk.google.com <http://talk.google.com> <
> http://talk.google.com/>
> > I am getting follwing error while trying to authenticate.
> > Here is my code.
> > Pls tell me what is missing.
>
> I didn't see gmail.com <http://gmail.com> in your code... although it's
> the server name
> you're supposed to use in the jabber stream (for tcp talk.google.com<http://talk.google.com>is ok).
>
> Just my two eurocents,
>
> J.P.
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mail.jabber.org/mailman/listinfo/jdev
>
More information about the JDev
mailing list