[jdev] Error while trying to login into talk.google.com

Brijesh brijesh at india.hp.com
Mon Aug 29 01:57:36 CDT 2005


Hi Ashutosh,

Try changing your hostname to gmail.com. I 'm using 2 clients, talk and
exodus(for debugging). I'm able to login successfully using exodus as well.

Your id   should be : ashutosh.lawania at gmail.com and  host :
talk.google.com(5222).

I think google has enable TLS+SASL at talk.google.com, so your client has to
reply accordingly.

Here is the debug from exodus.....

------------------------------------------------------
SENT: <stream:stream to="gmail.com" xmlns="jabber:client"
xmlns:stream="http://etherx.jabber.org/streams"  xml:lang="en" version="1.0"
>
RECV: <?xml version="1.0" encoding="UTF-8"?><stream:stream from="gmail.com"
id="EC40589C" version="1.0" xmlns:stream="http://etherx.jabber.org/streams"
xmlns="jabber:client"><stream:features><starttls
xmlns="urn:ietf:params:xml:ns:xmpp-tls"/><mechanisms
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-GOOGLE-TOKEN</mechanis
m></mechanisms></stream:features>

SENT: <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
RECV: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
RECV: SSL status: "before/connect initialization"
RECV: SSL status: "before/connect initialization"
RECV: SSL status: "SSLv3 write client hello A"
RECV: SSL status: "SSLv3 read server hello A"
RECV: SSL status: "SSLv3 read server certificate A"
RECV: SSL status: "SSLv3 read server key exchange A"
RECV: SSL status: "SSLv3 read server done A"
RECV: SSL status: "SSLv3 write client key exchange A"
RECV: SSL status: "SSLv3 write change cipher spec A"
RECV: SSL status: "SSLv3 write finished A"
RECV: SSL status: "SSLv3 flush data"
RECV: SSL status: "SSLv3 read finished A"
RECV: SSL status: "SSL negotiation finished successfully"
RECV: SSL status: "SSL negotiation finished successfully"
RECV: Cipher: name = EDH-RSA-DES-CBC3-SHA; description =
EDH-RSA-DES-CBC3-SHA    SSLv3 Kx=DH       Au=RSA  Enc=3DES(168) Mac=SHA1
; bits = 168; version = TLSv1/SSLv3;

SENT: <stream:stream to="gmail.com" xmlns="jabber:client"
xmlns:stream="http://etherx.jabber.org/streams" version="1.0" >
RECV: <?xml version="1.0" encoding="UTF-8"?><stream:stream from="gmail.com"
id="EC4058A0" version="1.0" xmlns:stream="http://etherx.jabber.org/streams"
xmlns="jabber:client"><stream:features><mechanisms
xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>PLAIN</mechanism><mechan
ism>X-GOOGLE-TOKEN</mechanism></mechanisms></stream:features>

SENT: <auth mechanism="PLAIN"
xmlns="urn:ietf:params:xml:ns:xmpp-sasl">c2luZ2guYnJpamVzaEBnbWFpbC5jb20Ac2l
uZ2guYnJpamVzaABic2xpc2hhYW4=</auth>
RECV: <success xmlns="urn:ietf:params:xml:ns:xmpp-sasl"/>
------------------------------------------------------

Regards

Brijesh Singh



Message: 7
Date: Mon, 29 Aug 2005 11:07:48 +0530
From: Ashutosh <ashutosh.lawania at gmail.com>
Subject: [jdev] Error while trying to login into talk.google.com
To: jdev at jabber.org
Message-ID: <58635ef9050828223739cb1927 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

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/> I am getting
follwing error while trying to authenticate.
Here is my code.
Pls tell me what is missing.
 Thanks
Ashutosh Lawania



  _____  

<< ella for Spam Control >> has removed 3511 Spam messages and set aside
2398 Newsletters for me
You can use it too - and it's FREE!  www.ellaforspam.com	





More information about the JDev mailing list