-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
I don't know if this is something you can fix on your side, but we get this error in Ubuntu 16.04.
Traceback (most recent call last):
File "/usr/local/bin/twisted-connect-proxy", line 8, in <module>
from twisted.web.proxy import Proxy, ProxyRequest
File "/usr/lib/python2.7/dist-packages/twisted/web/proxy.py", line 24, in <module>
from twisted.internet import reactor
File "/usr/lib/python2.7/dist-packages/twisted/internet/reactor.py", line 38, in <module>
from twisted.internet import default
File "/usr/lib/python2.7/dist-packages/twisted/internet/default.py", line 56, in <module>
install = _getInstallFunction(platform)
File "/usr/lib/python2.7/dist-packages/twisted/internet/default.py", line 44, in _getInstallFunction
from twisted.internet.epollreactor import install
File "/usr/lib/python2.7/dist-packages/twisted/internet/epollreactor.py", line 24, in <module>
from twisted.internet import posixbase
File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 18, in <module>
from twisted.internet import error, udp, tcp
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 29, in <module>
from twisted.internet._newtls import (
File "/usr/lib/python2.7/dist-packages/twisted/internet/_newtls.py", line 21, in <module>
from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
File "/usr/lib/python2.7/dist-packages/twisted/protocols/tls.py", line 41, in <module>
from OpenSSL.SSL import Error, ZeroReturnError, WantReadError
File "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import rand, crypto, SSL
File "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 118, in <module>
SSL_ST_INIT = _lib.SSL_ST_INIT
AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
Upgrading pyopenssl (pip install 'pyopenssl>=16.2.0') fixes the problem, but I rather not do that (system wide).
Metadata
Metadata
Assignees
Labels
No labels