[jdev] Net::XMPP and talk.google.com

Volcane volcane.uk at gmail.com
Wed Aug 24 06:54:42 CDT 2005


Actually they said gmail.com, eitherway, I changed things around now I
get a bit further:

My client sends:
<?xml version='1.0'?><stream:stream version='1.0' xmlns:stre
am='http://etherx.jabber.org/streams' xmlns='jabber:client' to='gmail.com' from=
'hecate' xml:lang='en' >

They send:
<?xml version="1.0" encoding="UTF-8"?><stream:stream fro
m="gmail.com" id="E5E75506" version="1.0" xmlns:stream="http://etherx.jabber.org
/streams" xmlns="jabber:client"><stream:features><starttls xmlns="urn:ietf:param
s:xml:ns:xmpp-tls"/><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechan
ism>X-GOOGLE-TOKEN</mechanism></mechanisms></stream:features>

it parses all of this out, and prints the following debug:

XMPP::Conn: AuthSASL: shiney new auth
XML::Stream: Send: (<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl'
mechanism='PLAIN'>AUTHRANDOMSTUFFHERE</auth>)
XMPP::Conn: AuthSASL: haven't authed yet... let's wait.
XMPP::Conn: Process: timeout(1)
XML::Stream: Read: buff()
XML::Stream: Read: ERROR
XML::Stream: Process: block(0)

then it terminates :( 


On 8/24/05, Julien PUYDT <julien.puydt at laposte.net> wrote:
> Volcane a écrit :
> >
> > I can connect, the connection goes secure, but google just doesn't
> > respond to me after we are secure:
> 
> People mentioned that you make the tcp connection to talk.google.com,
> but use google.com as server name. Probably that's it.
> 
> J.P.
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mail.jabber.org/mailman/listinfo/jdev
>



More information about the JDev mailing list