Hi, I'm a newbe and I'm trying to connecto to gmail as my first test to test punjab configuration and capabilities. I'm working on Windows 7, and have installed python 2.7, twisted python 12, pyopenssl 0.13, win32 openssl 1.0.1.c and lastest mingw 32. When I run punjab and make a request to initiate an xmpp connection with gmail I get the following log in punjab. I guess that it may be related to ssl configuration, but I don't know how or where to look for. I would really appreciate any comment or direction.
2012-09-15 20:29:07-0300 [HTTPChannel,1,169.254.58.130] <body rid='1625929481' x
' hold='1' content='text/xml; charset=utf-8' ver='1.6' xmpp:version='1.0' xmlns:
xmpp='urn:xmpp:xbosh'/>
2012-09-15 20:29:07-0300 [HTTPChannel,1,169.254.58.130] Session Created : 67a1b5
0315d75a1a2723c71a49132a853ad2b312 1347751747.14
2012-09-15 20:29:07-0300 [HTTPChannel,1,169.254.58.130] ========================
========== 1347751747.14 connect to
gmail.com:5222 =============================
=====
2012-09-15 20:29:07-0300 [HTTPChannel,1,169.254.58.130] Starting factory <punjab
.session.Session object at 0x00000000034CB780>
2012-09-15 20:29:07-0300 [-] DNSDatagramProtocol starting on 3178
2012-09-15 20:29:07-0300 [-] Starting protocol <twisted.names.dns.DNSDatagramPro
tocol object at 0x00000000034D8978>
2012-09-15 20:29:07-0300 [DNSDatagramProtocol (UDP)] DNSDatagramProtocol startin
g on 3192
2012-09-15 20:29:07-0300 [DNSDatagramProtocol (UDP)] Starting protocol <twisted.
names.dns.DNSDatagramProtocol object at 0x00000000034D8F28>
2012-09-15 20:29:07-0300 [-] (UDP Port 3178 Closed)
2012-09-15 20:29:07-0300 [-] Stopping protocol <twisted.names.dns.DNSDatagramPro
tocol object at 0x00000000034D8978>
2012-09-15 20:29:07-0300 [DNSDatagramProtocol (UDP)] DNSDatagramProtocol startin
g on 10256
2012-09-15 20:29:07-0300 [DNSDatagramProtocol (UDP)] Starting protocol <twisted.
names.dns.DNSDatagramProtocol object at 0x00000000034C8BA8>
2012-09-15 20:29:07-0300 [-] (UDP Port 3192 Closed)
2012-09-15 20:29:07-0300 [-] Stopping protocol <twisted.names.dns.DNSDatagramPro
tocol object at 0x00000000034D8F28>
2012-09-15 20:29:08-0300 [-] (UDP Port 10256 Closed)
2012-09-15 20:29:08-0300 [-] Stopping protocol <twisted.names.dns.DNSDatagramPro
tocol object at 0x00000000034C8BA8>
2012-09-15 20:29:08-0300 [Uninitialized] SID: 67a1b50315d75a1a2723c71a49132a853a
xmlns='jabber:client' to='
gmail.com' version='1.0'>"
2012-09-15 20:29:08-0300 [XmlStream,client] SID: 67a1b50315d75a1a2723c71a49132a8
53ad2b312 => RECV: '<stream:stream from="
gmail.com" id="91779A8A1E299F7A" versio
2012-09-15 20:29:08-0300 [XmlStream,client] SID: 67a1b50315d75a1a2723c71a49132a8
53ad2b312 => RECV: '<stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmp
p-tls"><required/></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl
"><mechanism>X-GOOGLE-TOKEN</mechanism><mechanism>X-OAUTH2</mechanism></mechanis
ms></stream:features>'
2012-09-15 20:29:08-0300 [XmlStream,client] Wait until starttls is completed.
2012-09-15 20:29:08-0300 [XmlStream,client] [<twisted.words.protocols.jabber.xml
stream.TLSInitiatingInitializer object at 0x00000000034D8F28>]
2012-09-15 20:29:28-0300 [XmlStream,client] connect ERROR: [Failure instance: Tr
aceback (failure with no frames): <class 'twisted.internet.error.ConnectionDone'
>: Connection was closed cleanly.
]
2012-09-15 20:29:28-0300 [XmlStream,client] HTTPB Error 200
2012-09-15 20:29:28-0300 [XmlStream,client] HTTPB Return Error: 200 -> <body xml
ection-failed'/>
2012-09-15 20:29:28-0300 [XmlStream,client] 169.254.58.130 - - [15/Sep/2012:23:2
at.html" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14
.0.1"
2012-09-15 20:29:28-0300 [XmlStream,client] expire (67a1b50315d75a1a2723c71a4913
2a853ad2b312)
2012-09-15 20:29:28-0300 [XmlStream,client] 0
2012-09-15 20:29:28-0300 [XmlStream,client] SESSION -> We have expired 67a1b5031
5d75a1a2723c71a49132a853ad2b312 1625929482 []
2012-09-15 20:29:28-0300 [XmlStream,client] SID: 67a1b50315d75a1a2723c71a49132a8
53ad2b312 => SEND: '</stream:stream>'
2012-09-15 20:29:28-0300 [XmlStream,client] Stopping factory <punjab.session.Ses
sion object at 0x00000000034CB780>