Any bypass/patch for SSLv3 Error ?

29 views
Skip to first unread message

Amey G

unread,
Sep 20, 2018, 11:14:27 AM9/20/18
to SleekXMPP Discussion
Trying to run simple echo bot code on at  http://sleekxmpp.com/index.html#here-s-your-first-sleekxmpp-bot
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    DNS: Querying SRV records for blabber.im
DEBUG    DNS: Querying chaos.xmpp.blabber.im for AAAA records.
DEBUG    DNS: No AAAA records for chaos.xmpp.blabber.im
DEBUG    DNS: Querying chaos.xmpp.blabber.im for A records.
DEBUG    Connecting to 78.46.151.59:5222
DEBUG    Event triggered: connected
DEBUG     ==== TRANSITION disconnected -> connected
DEBUG    Starting HANDLER THREAD
DEBUG    Loading event runner
DEBUG    SEND (IMMED): <stream:stream to='blabber.im' xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' xml:lang='en' version='1.0'>
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 ?
Reply all
Reply to author
Forward
0 new messages