[jdev] Problem Connecting to GoogleTalk using my custom client

Mukil Kesavan mukilk at gmail.com
Thu Oct 20 11:19:58 CDT 2005


Hi people,

I am in the process of developing a windows based jabber client. I am using
the JabberCOM DLL (not sure if it is the right choice!!). My client is able
to connect, send and receive stuff from most jabber servers except that of
GoogleTalk. Somebody please help me figure out the problem. I am listing
down all the parameters i used below:

Username: <myname> @ Gmail.com <http://Gmail.com> [IS THIS THE RIGHT FORMAT
? ]

Server: talk.google.com <http://talk.google.com> Port: 5222

XML Transactions:

SENT: <stream:stream to="talk.google.com <http://talk.google.com>"
xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams">

RECEIVED: <stream:stream from="talk.google.com <http://talk.google.com>"
id="E6DB0DD7" xmlns:stream="http://etherx.jabber.org/streams"
xmlns="jabber:client"><stream:error><str:host-unknown
xmlns:str="urn:ietf:params:xml:ns:xmpp-streams"/><str:text
xmlns:str="urn:ietf:params:xml:ns:xmpp-streams">Set the 'to' attribute of
stream element to the domain part of the user's
JID.</str:text></stream:error></stream:stream>

Error message from JabberCOM: "Could not establish stream. Session Closed."


I get the session ID successfully.. and before I can send the auth request I
am dropped off.

SOMEBODY PLEASE HELP ME WITH THIS ONE, I DONT SEEM TO HAVE ANY PROGRESS

Thanks a ton,

- Mukil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.jabber.org/jdev/attachments/20051020/bd060375/attachment-0002.htm>


More information about the JDev mailing list