Can not use SSL connection

SABnzbd makes Usenet as simple and streamlined as possible by automating everything we can. All you have to do is add an .nzb. SABnzbd takes over from there, where it will be automatically downloaded, verified, repaired, extracted and filed away with zero human interaction.

Moderator: Lillian.W@AST

Post Reply
andyk
Posts: 3
youtube meble na wymiar Warszawa
Joined: Fri Aug 16, 2013 11:35 am

Can not use SSL connection

Post by andyk »

Hi,
I seems to have problem getting SSL connection to work in SABnzbdplus. The setup wizard shows that pyopenssl is not installed and thus SSL can not be enabled. After further check, I found that OpenSSL is installed with SABnzbdplus, but it seems to be the wrong (64-bit) version. Thus when trying "import OpenSSL" in Python, an error message is shown "Import Error, wrong ELF class : ELFCLASS64".

Is it possible to update the install package to include the right version of OpenSSL ? Thanks.

andyk
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: Can not use SSL connection

Post by clinton.hall »

Ah... when I tested on my series 3 I didn't test ssl.... sorry.

I'll update soon.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: Can not use SSL connection

Post by clinton.hall »

I have just submitted an update to the store.

you should have an update available in App Central soon. Please let me know if there are any further issues.
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
andyk
Posts: 3
Joined: Fri Aug 16, 2013 11:35 am

Re: Can not use SSL connection

Post by andyk »

Hi clinton.hall,

Thank you for helping resolve this issue.

After install the new update, I am now getting the error message of "undefined symbol : PyUnicodeUCS4_Decode" when doing "from OpenSSL import crypto". Probably a missing library for UCS4 decoding ?

Thanks,
andyk
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: Can not use SSL connection

Post by clinton.hall »

the issue here is that my VM (which I use to get all necessary libraries) has a default install of python that uses USC4. The version of python on Asustor was compiled for UCS2!

I can't install the OpenSSL package directly on Asustor, so I am rebuilding python on my VM (using UCS2) and will then install OpenSSL so that I take the necessary files and put them in the apkg.

I will PM you a link to an apkg to test. if it works for you, then I'll upload to store (save trying to approve multiple small changes)
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
andyk
Posts: 3
Joined: Fri Aug 16, 2013 11:35 am

Re: Can not use SSL connection

Post by andyk »

Hi clinton.hall,

Thank you for the reply. This sounds good. I will test the updated apkg later.

andyk
braaam
Posts: 8
Joined: Mon Sep 23, 2013 5:32 am

Re: Can not use SSL connection

Post by braaam »

Hi Clinton,

Did you manage to get the version with SSL in the store? It's still not working on a 302T out of the box.


Thanks for making your contributions available to all of us btw!
User avatar
clinton.hall
Posts: 845
Joined: Thu May 09, 2013 7:01 pm
Location: New Zealand
Contact:

Re: Can not use SSL connection

Post by clinton.hall »

Something went wrong and this version wasn't added to store. I have resubmitted...

Try a manual instal from here.
https://www.dropbox.com/s/5wgwyaz5jq32i ... 18_any.apk
AS-604T
3 x ST4000DM0000 (Seagate 4TB) in Raid5
2 GB RAM expansion
AS-302T

Apps (user)
NZBGet - CouchPotato - SickBeard - Git - Python

Apps (maintainer):
NZBGet - BitTorrent Sync - Mylar - LazyLibrarian - Gamez
-Maintenance of Apps acquired from JohhnyFive since ADM2.0:
SABnzbd - CouchPotato - SickBeard - HeadPhones - Subsonic

About Me: http://fockwulf.wix.com/index
braaam
Posts: 8
Joined: Mon Sep 23, 2013 5:32 am

Re: Can not use SSL connection

Post by braaam »

clinton.hall wrote:Something went wrong and this version wasn't added to store. I have resubmitted...

Try a manual instal from here.
https://www.dropbox.com/s/5wgwyaz5jq32i ... 18_any.apk
Brilliant Clinton. That did the trick.
Post Reply

Return to “SABnzbdplus”