Hi Christopher,
pyopenssl is installed in version 0.13.1. I just checked the twisd.log and I get the following error:
RETURN HTTPB 1382952463.55:
2013-10-28 10:27:43+0100 [HTTPChannel,7,127.0.0.1] <body xmlns='
http://jabber.org/protocol/httpbind' type='terminate'/>
2013-10-28 10:27:43+0100 [HTTPChannel,7,127.0.0.
1] 36371982522013-10-28 10:27:43+0100 [HTTPChannel,7,127.0.0.1] 127.0.0.1 - - [28/Oct/2013:09:27:43 +0000] "POST /http-bind/ HTTP/1.1" 200 68 "
http://somese.er.methodpark.d$
2013-10-28 10:29:37+0100 [XmlStream,client] connect ERROR: [Failure instance: Traceback: <class 'OpenSSL.SSL.Error'>: [('SSL routines', 'SSL3_READ_BYTES', 'tls$
/usr/lib/python2.7/dist-packages/twisted/python/context.py:81:callWithContext
/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py:586:_doReadOrWrite
/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py:199:doRead
/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py:406:dataReceived
--- <exception caught here> ---
/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py:505:_write
]
This seems to happen when the I close the browser window with candy-chat trying to connect. The logs before actually do seem to look good, as far as I can tell:
2013-10-28 10:23:34+0100 [HTTPChannel,0,127.0.0.1] HEADERS 1382952214.14:
2013-10-28 10:23:34+0100 [HTTPChannel,0,127.0.0.1] {'content-length': '221', 'accept-language': 'en-US,en;q=0.5', 'accept-encoding': 'gzip, deflate', 'x-forwar$
2013-10-28 10:23:34+0100 [HTTPChannel,0,127.0.0.1] HTTPB POST :
2013-10-28 10:23:34+0100 [HTTPChannel,0,127.0.0.1] <body rid='2415357001' xmlns='
http://jabber.org/protocol/httpbind' to='
somese.er.methodpark.de' xml:lang='en$
2013-10-28 10:23:34+0100 [HTTPChannel,0,127.0.0.1] Session Created : 3d0edd66ca0fd64308ef5e3a9c04b2a8ef9dbada 1382952214.17
2013-10-28 10:23:34+0100 [HTTPChannel,0,127.0.0.1] ================================== 1382952214.17 connect to
somese.er.methodpark.de:5222 ===================$
2013-10-28 10:23:34+0100 [HTTPChannel,0,127.0.0.1] /opt/punjab/punjab/session.py:85: exceptions.UserWarning: Domain argument to XMPPClientConnector should be b$
2013-10-28 10:23:34+0100 [HTTPChannel,0,127.0.0.1] Starting factory <punjab.session.Session object at 0x18d3410>
2013-10-28 10:23:34+0100 [HTTPChannel,0,127.0.0.1] /etc/resolv.conf changed, reparsing
2013-10-28 10:23:34+0100 [HTTPChannel,0,127.0.0.1] Resolver added ('10.10.1.11', 53) to server list
2013-10-28 10:23:34+0100 [HTTPChannel,0,127.0.0.1] DNSDatagramProtocol starting on 56357
2013-10-28 10:23:34+0100 [HTTPChannel,0,127.0.0.1] Starting protocol <twisted.names.dns.DNSDatagramProtocol object at 0x18d8950>
2013-10-28 10:23:34+0100 [-] (UDP Port 56357 Closed)
2013-10-28 10:23:34+0100 [-] Stopping protocol <twisted.names.dns.DNSDatagramProtocol object at 0x18d8950>
2013-10-28 10:23:34+0100 [Uninitialized] SID: 3d0edd66ca0fd64308ef5e3a9c04b2a8ef9dbada => SEND: "<stream:stream xmlns:stream='
http://etherx.jabber.org/streams'$
2013-10-28 10:23:34+0100 [XmlStream,client] SID: 3d0edd66ca0fd64308ef5e3a9c04b2a8ef9dbada => RECV: '<?xml version=\'1.0\' encoding=\'UTF-8\'?><stream:stream xm$
2013-10-28 10:23:34+0100 [XmlStream,client] Wait until starttls is completed.
2013-10-28 10:23:34+0100 [XmlStream,client] [<twisted.words.protocols.jabber.xmlstream.TLSInitiatingInitializer object at 0x18e8550>]
2013-10-28 10:23:34+0100 [XmlStream,client] SID: 3d0edd66ca0fd64308ef5e3a9c04b2a8ef9dbada => SEND: "<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>"
2013-10-28 10:23:34+0100 [XmlStream,client] SID: 3d0edd66ca0fd64308ef5e3a9c04b2a8ef9dbada => RECV: '<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>'
2013-10-28 10:23:34+0100 [XmlStream,client] SID: 3d0edd66ca0fd64308ef5e3a9c04b2a8ef9dbada => SEND: "<stream:stream xmlns:stream='
http://etherx.jabber.org/strea$
2013-10-28 10:24:03+0100 [-] ================================== 3d0edd66ca0fd64308ef5e3a9c04b2a8ef9dbada 1382952243.1 startup timeout =========================$
2013-10-28 10:24:03+0100 [-]
RETURN HTTPB 1382952243.1:
2013-10-28 10:24:03+0100 [-] <body xmlns='
http://jabber.org/protocol/httpbind' inactivity='60' secure='true' authid='48f6f8f' content='text/xml; charset=utf-8'$
2013-10-28 10:24:03+0100 [-] 127.0.0.1 - - [28/Oct/2013:09:24:02 +0000] "POST /http-bind/ HTTP/1.1" 200 226 "
http://somese.er.methodpark.de:8080/chat/" "Mozill$
2013-10-28 10:24:03+0100 [HTTPChannel,1,127.0.0.1] HEADERS 1382952243.11:
2013-10-28 10:24:03+0100 [HTTPChannel,1,127.0.0.1] {'content-length': '115', 'accept-language': 'en-US,en;q=0.5', 'accept-encoding': 'gzip, deflate', 'x-forwar$
2013-10-28 10:24:03+0100 [HTTPChannel,1,127.0.0.1] HTTPB POST :
2013-10-28 10:24:03+0100 [HTTPChannel,1,127.0.0.1] <body rid='2415357002' xmlns='
http://jabber.org/protocol/httpbind' sid='3d0edd66ca0fd64308ef5e3a9c04b2a8ef9d$
2013-10-28 10:24:03+0100 [HTTPChannel,1,127.0.0.1] 2415357002
2013-10-28 10:24:34+0100 [-] SID: 3d0edd66ca0fd64308ef5e3a9c04b2a8ef9dbada => SEND: ' '
2013-10-28 10:25:03+0100 [-]
RETURN HTTPB 1382952303.1:
2013-10-28 10:25:03+0100 [-] <body xmlns='
http://jabber.org/protocol/httpbind'/>
2013-10-28 10:25:03+0100 [-] 2415357002
2013-10-28 10:25:03+0100 [-] 127.0.0.1 - - [28/Oct/2013:09:25:02 +0000] "POST /http-bind/ HTTP/1.1" 200 51 "
http://somese.er.methodpark.de:8080/chat/" "Mozilla$
2013-10-28 10:25:03+0100 [HTTPChannel,2,127.0.0.1] HEADERS 1382952303.11:
2013-10-28 10:25:03+0100 [HTTPChannel,2,127.0.0.1] {'content-length': '115', 'accept-language': 'en-US,en;q=0.5', 'accept-encoding': 'gzip, deflate', 'x-forwar$
2013-10-28 10:25:03+0100 [HTTPChannel,2,127.0.0.1] HTTPB POST :
2013-10-28 10:25:03+0100 [HTTPChannel,2,127.0.0.1] <body rid='2415357003' xmlns='
http://jabber.org/protocol/httpbind' sid='3d0edd66ca0fd64308ef5e3a9c04b2a8ef9d$
2013-10-28 10:25:03+0100 [HTTPChannel,2,127.0.0.1] 2415357003
2013-10-28 10:26:03+0100 [-]
RETURN HTTPB 1382952363.1:
2013-10-28 10:26:03+0100 [-] <body xmlns='
http://jabber.org/protocol/httpbind'/>
2013-10-28 10:26:03+0100 [-] 2415357003
2013-10-28 10:26:03+0100 [-] 127.0.0.1 - - [28/Oct/2013:09:26:02 +0000] "POST /http-bind/ HTTP/1.1" 200 51 "
http://somese.er.methodpark.de:8080/chat/" "Mozilla$
2013-10-28 10:26:03+0100 [HTTPChannel,3,127.0.0.1] HEADERS 1382952363.11:
2013-10-28 10:26:03+0100 [HTTPChannel,3,127.0.0.1] {'content-length': '115', 'accept-language': 'en-US,en;q=0.5', 'accept-encoding': 'gzip, deflate', 'x-forwar$
2013-10-28 10:26:03+0100 [HTTPChannel,3,127.0.0.1] HTTPB POST :
2013-10-28 10:26:03+0100 [HTTPChannel,3,127.0.0.1] <body rid='2415357004' xmlns='
http://jabber.org/protocol/httpbind' sid='3d0edd66ca0fd64308ef5e3a9c04b2a8ef9d$
2013-10-28 10:26:03+0100 [HTTPChannel,3,127.0.0.1] 2415357004
2013-10-28 10:26:34+0100 [-] SID: 3d0edd66ca0fd64308ef5e3a9c04b2a8ef9dbada => SEND: ' '
2013-10-28 10:26:39+0100 [HTTPChannel,4,127.0.0.1] HEADERS 1382952399.84:
2013-10-28 10:26:39+0100 [HTTPChannel,4,127.0.0.1] {'content-length': '132', 'accept-language': 'en-US,en;q=0.5', 'accept-encoding': 'gzip, deflate', 'x-forwar$
2013-10-28 10:26:39+0100 [HTTPChannel,4,127.0.0.1] HTTPB POST :
2013-10-28 10:26:39+0100 [HTTPChannel,4,127.0.0.1] <body rid='2415357005' xmlns='
http://jabber.org/protocol/httpbind' sid='3d0edd66ca0fd64308ef5e3a9c04b2a8ef9d$
2013-10-28 10:26:39+0100 [HTTPChannel,4,127.0.0.1] 2415357005
2013-10-28 10:26:39+0100 [HTTPChannel,4,127.0.0.1] SESSION -> Terminate
2013-10-28 10:26:39+0100 [HTTPChannel,4,127.0.0.1]