Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian no longer supports OpenSSL SSLv3 #370

Open
ghost opened this issue Jan 25, 2016 · 4 comments
Open

Debian no longer supports OpenSSL SSLv3 #370

ghost opened this issue Jan 25, 2016 · 4 comments

Comments

@ghost
Copy link

ghost commented Jan 25, 2016

Debian no longer compiles OpenSSL with SSLv3 support. urllib3 assumes SSLv3 support is there and fails; I have tried different requests versions, and removing/re-adding pyopenssl, but the problem still exists...

The problem appears to me that uTorrent is the cause, which I don't even use, is there a way to tell HTPC-Manager to just ignore it? Is there a place for a config file that i can set?

python Htpc.py

2016-01-25 12:51:53 :: root :: INFO :: Welcome to HTPC-Manager!
2016-01-25 12:51:53 :: root :: INFO :: Loglevel set to info
2016-01-25 12:51:53 :: htpc.updater :: INFO :: Using GitUpdater engine
2016-01-25 12:51:53 :: modules.xbmc :: WARNING :: No configured XBMC-Servers.
Traceback (most recent call last):
File "Htpc.py", line 189, in
main()
File "Htpc.py", line 135, in main
load_modules()
File "Htpc.py", line 72, in load_modules
from modules.utorrent import UTorrent
File "/nas/opt/htpc-manager/modules/utorrent.py", line 4, in
import requests
File "/nas/opt/htpc-manager/libs/requests/init.py", line 53, in
from requests.packages.urllib3.contrib import pyopenssl
File "/nas/opt/htpc-manager/libs/requests/packages/urllib3/contrib/pyopenssl.py", line 42, in
ssl.PROTOCOL_SSLv3: OpenSSL.SSL.SSLv3_METHOD,
AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'

@ghost ghost changed the title urllib3/pyopenssl no longer supports OpenSSL.SSL.SSLv3 Debian no longer supports OpenSSL SSLv3 Jan 25, 2016
@Hellowlol
Copy link
Contributor

You need replace the libs/request folder with a newer version (above 2.6) or you can use my fork.

@Hellowlol
Copy link
Contributor

Just grab the latest. It was fixed 2.6 that why I mentioned that version.

Den 25. jan. 2016 kl. 20.39 skrev duckduckquack [email protected]:

is there something newer? 2.9.1 is the newest i could find..

pip show requests

Metadata-Version: 2.0
Name: requests
Version: 2.9.1
Summary: Python HTTP for Humans.
Home-page: http://python-requests.org
Author: Kenneth Reitz
Author-email: [email protected]
License: Apache 2.0
Location: /usr/local/lib/python2.7/dist-packages
Requires:


Reply to this email directly or view it on GitHub.

@ghost
Copy link
Author

ghost commented Jan 25, 2016

Yes, I assumed it used the system version, I simply symlinked libs/requests to /usr/local/lib/python2.7/dist-packages/requests

That did the trick... thanks for your help!

@Hellowlol
Copy link
Contributor

Awesome. I'm happy to help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant