But receving error
ERROR 'module' object has no attribute 'PROTOCOL_SSLv3'
python sleekxmpp_echo1.py
DEBUG Loaded Plugin: RFC 6120: Stream Feature: STARTTLS
DEBUG Loaded Plugin: RFC 6120: Stream Feature: Resource Binding
DEBUG Loaded Plugin: RFC 3920: Stream Feature: Start Session
DEBUG Loaded Plugin: RFC 6121: Stream Feature: Roster Versioning
DEBUG Loaded Plugin: RFC 6121: Stream Feature: Subscription Pre-Approval
DEBUG Loaded Plugin: RFC 6120: Stream Feature: SASL
DEBUG Waiting 1.88068423042 seconds before connecting.
DEBUG Event triggered: connected
DEBUG ==== TRANSITION disconnected -> connected
DEBUG Starting HANDLER THREAD
DEBUG Loading event runner
DEBUG RECV: <stream:stream version="1.0" from="
blabber.im" id="3698249415332796136" xml:lang="en">
DEBUG RECV: <stream:features xmlns="
http://etherx.jabber.org/streams"><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required /></starttls></stream:features>
DEBUG SEND (IMMED): <starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"><required /></starttls>
DEBUG RECV: <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls" />
DEBUG Starting TLS
INFO Negotiating TLS
INFO Using SSL/TLS version: SSLv23
INFO Note: SSLv23 doesn't mean SSLv2 and SSLv3, but means all supported versions, actually TLSv1.0+, since SSLv2 and SSLv3 is disabled.
ERROR Connection error.
ERROR 'module' object has no attribute 'PROTOCOL_SSLv3'
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/sleekxmpp/xmlstream/xmlstream.py", line 1568, in _process
if not self.__read_xml():
File "build/bdist.linux-x86_64/egg/sleekxmpp/xmlstream/xmlstream.py", line 1640, in __read_xml
self.__spawn_event(xml)
File "build/bdist.linux-x86_64/egg/sleekxmpp/xmlstream/xmlstream.py", line 1708, in __spawn_event
handler.prerun(stanza_copy)
File "build/bdist.linux-x86_64/egg/sleekxmpp/xmlstream/handler/callback.py", line 64, in prerun
self.run(payload, True)
File "build/bdist.linux-x86_64/egg/sleekxmpp/xmlstream/handler/callback.py", line 76, in run
self._pointer(payload)
File "build/bdist.linux-x86_64/egg/sleekxmpp/features/feature_starttls/starttls.py", line 64, in _handle_starttls_proceed
if self.xmpp.start_tls():
File "build/bdist.linux-x86_64/egg/sleekxmpp/xmlstream/xmlstream.py", line 940, in start_tls
ssl_socket = self._create_secure_socket()
File "build/bdist.linux-x86_64/egg/sleekxmpp/xmlstream/xmlstream.py", line 500, in _create_secure_socket
if self.ssl_version == ssl.PROTOCOL_SSLv3:
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
DEBUG reconnecting...
I saw Unresolved bug also in sleekXMPP
Anybody fonud any patch for this ?