[Twisted-Python] xmpp_client X-GOOGLE-TOKEN and mechanism

Ralph Meijer twisted at ralphm.ik.nu
Tue Mar 18 04:32:14 EDT 2008


On Sun, Mar 16, 2008 at 11:48:12PM -0700, James Pettit wrote:
> I'm trying to use the xmpp_client example in twisted.words, and it looks like
> google is requesting the X-GOOGLE-TOKEN auth mechanism... anyone know how I can
> specify/force it to use PLAIN?
> Specifically, the command '> python xmpp_client.py myname at gmail.com mypassword'
> gives this output (http://pastebin.com/m47f6002a).

Google Talk will only give you PLAIN if TLS is established first. The
twisted.words example does this by default, but could it be that you
don't have the OpenSSL python bindings installed?

-- 
Groetjes,

ralphm




More information about the Twisted-Python mailing list