xbianonpi / xbian

XBMC on Raspberry Pi, Bleeding Edge
https://xbian.org
GNU General Public License v3.0
294 stars 44 forks source link

Python 2.73 and pyopenssl/ssl issues #721

Open xiolo opened 9 years ago

xiolo commented 9 years ago

Hi I am running most up to date xbian (with xbian packages of nzbget and transmission), but a manual install of sickrage from GIT as per the xbian wiki.

The problem I am experiencing several issues connectng to new SSL sites with sickrage because of the way TLS is handled; see the l0000ng thread at https://github.com/SiCKRAGETV/sickrage-issues/issues/1231#issuecomment-97677808 In a nutshell, upgrading manually pyopenssl (using pip install and --upgrade) fixes the issue on old-ish ubuntu system (did it msyelf on an ubuntu 12.04), but it's a messy process and can break python 2.7.3 easily.

It looks like upgarding python 2.7.9 also resolves the issue around TLS issues.(https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1401322/)

So my question is:

1) Is there a plan to upgrade pyopenssl/python on xbian without resorting to manual upgrades ? (and breaking the model of xbian).

Thanks

xiolo commented 9 years ago

update on the above problem.

just did the exact following, restarted sickrage (latest MASTER branch, not dev), and all working fine now! Python is still on the old 2.7.3, but the updated pyopenssl addresses the problems. Hoping this doesn't break anything within xbian, but it does fix SSL TLS errors as most SSL sites will soon be like this.

sudo apt-get install python-pip build-essential sudo apt-get install python-dev libffi-dev libssl-dev [you can the above packages in one go, but I like to check for any apt-get errors]

pip install -U setuptools pip install --upgrade pyopenssl ndg-httpsclient pyasn1