Hi all, I'm trying to connect to a gmail account with the echobot as written by jack moffit
http://metajack.im/2008/09/25/an-xmpp-echo-bot-with-twisted-and-wokkel/ >From what I understood, the plain mechanism is only available when you have a secure connection. http://twistedmatrix.com/pipermail/twisted-python/2008-March/017047.html Is there an option to force the TLS connection, or something to add on my install (I have installed python-openssl) ? Any help appreciated. here's the log: 2008-11-16 09:29:42+0100 [Uninitialized] Connected! 2008-11-16 09:29:42+0100 [Uninitialized] SEND: "<stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to=' gmail.com' version='1.0'>" 2008-11-16 09:29:42+0100 [XmlStream,client] RECV: '<?xml version="1.0" encoding="UTF-8"?><stream:stream from="gmail.com" id="F9F6B422D495E6F4" version="1.0" xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client">' 2008-11-16 09:29:42+0100 [XmlStream,client] RECV: '<stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required/></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>X-GOOGLE-TOKEN</mechanism></mechanisms></stream:features>' 2008-11-16 09:29:42+0100 [XmlStream,client] SEND: "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>" 2008-11-16 09:29:42+0100 [XmlStream,client] RECV: '<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>' 2008-11-16 09:29:42+0100 [XmlStream,client] SEND: "<stream:stream xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to=' gmail.com' version='1.0'>" 2008-11-16 09:30:02+0100 [XmlStream,client] Disconnected! 2008-11-16 09:30:02+0100 [XmlStream,client] <twisted.names.srvconnect.SRVConnector instance at 0x84d220c> will retry in 3 seconds 2008-11-16 09:30:02+0100 [XmlStream,client] Stopping factory <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory object at 0x84d218c> 2008-11-16 09:30:05+0100 [-] Starting factory <twisted.words.protocols.jabber.xmlstream.XmlStreamFactory object at 0x84d218c> 2008-11-16 09:30:05+0100 [Uninitialized] Connected! ...
_______________________________________________ Twisted-Jabber mailing list [email protected] https://mailman.ik.nu/mailman/listinfo/twisted-jabber
