lsellens / script.service.audo

Audo (Automatic Downloader) is a fork of SABnzbd-Suite. SABnzbd-Suite Metapackage which combines SABnzbd, SickBeard, Couchpotato and Headphones in one Addon.
http://lsellens.openelec.tv/addons/repo/repository.lsellens/repository.lsellens.zip
GNU General Public License v3.0
10 stars 3 forks source link

SSL Sabnzbd #3

Closed pinhao closed 9 years ago

pinhao commented 9 years ago

I'm using audo with Openelec 4.95.4 The option to enable SSL connection to servers is greyed out, I think it's related to Openelec's migration to libressl

Any idea on how to fix it?

Josh5 commented 9 years ago

This is due to the audo-dependencies being restarted before xbmc finishes the addon update. Will be fixed in upcomming update.

For now you can get your SSL back again by browsing to ".xbmc/addons/script.module.audo-dependencies/" and deleting the file named "arch." (substatute \ for your device arch). After deleting this file, restart OE and all will be well with the world.

pinhao commented 9 years ago

I uninstalled the addon and reinstalled that copy and renamed the dependencies correctly, but I still don't have SSL in SABnzbd.

I've also updated Openelec to 5.0 RC1

Josh5 commented 9 years ago

What system are you running? Rasp pi?

pinhao commented 9 years ago

I'm running 5.0 RC1 Generic x86_64

Josh5 commented 9 years ago

Delete this file: ".xbmc/addons/script.module.audo-dependencies/arch.x86_64" Then restart openelec. Dont reinstall any addons

pinhao commented 9 years ago

That didn't solve it.

I've opened a python prompt and tried importing SSL to check for errors

from OpenSSL import SSL Traceback (most recent call last): File "", line 1, in File "OpenSSL/init.py", line 36, in from OpenSSL import crypto ImportError: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory

So I copied over libcrypto.so.1.0.0 and libcrypto.so.1.0.0 from another linux install and added them to ld path. SSL is now working but I don't think this is a proper solution.

lsellens commented 9 years ago

Works fine on my x86_64 pc. Tried reproducing this with no luck. I have a feeling that the files got corrupted during unpack on your setup. Possibly a reboot right at the wrong time. Could be wrong. I am still running gotham but that shouldn't make a difference. If you have time and want to check if this is a fluke or an actual bug can you uninstall the service and then the dependencies addons. Delete the dependencies zip from the packages folder /storage/.kodi/addons/packages/script.module.audo-dependencies-0.0.3.zip Turn debugging on. Reboot so we can start with a clean log. Reinstall audo's service(this should redownload and install the dependencies again) wait for it to finish and see if SSL is still missing. This will not remove your settings folder so don't worry about losing anything. If SSL is still greyed save that debugging log so I can take a look. Thanks!

jrizza911 commented 9 years ago

I also have this problem on RC1 64bit. The debug log is a .zip file. Which log would you like to see? Pinhao, will you please share a link to your libcrypto.so.1.0.0 and how you got it working? I also want to sincerely thank isellens for maintaining this project and for including us nzb folks eventhough you don't use nzb yourself. Audo makes openelec the all in one solution for me. Could I ask why you don't use nzb? I'd be happy to share my account with you if you're interested. My ISP tracks torrent usage, so nzb with SSL is my best bet.

lsellens commented 9 years ago

The xbmc.log is what I'm interested in. Would really like a debug log that shows the whole install and failure to run. If you can follow the directions I posted above and get me that xbmc.log it would be infinitely helpful since I'm not able to reproduce. I don't use nzbs just because I don't have access and torrents work fine for me. I appreciate the offer to share. When we start working on adding nzbget I might take you up on borrowing account info just for the purpose of rapid testing :)

jrizza911 commented 9 years ago

Log of Fresh install & Audo log: https://dl.dropboxusercontent.com/u/53951010/01_XBMCaudofreshinstall.log

Next, I started new log, and uninstalled audo, SSH removed above mentioned audo directories, then reboot, then re-install audo-dependencies first, then audo service. https://dl.dropboxusercontent.com/u/53951010/01_XBMCaudoreinstall.log

lsellens commented 9 years ago

Thanks for doing this for me. Looks like there is an issue with the binaries. Strange I'm not having this problem on my 64bit gotham install. I'll get it fixed.

lsellens commented 9 years ago

Well I originally thought this was not a kodi issue but more related to the binaries not being cross compiled correctly but after a lot of time recompiling several versions of pyopenssl and testing this does appear to only be effecting kodi. I'm not sure if it is due to them going to libressl I did compile against libre and still no joy. Going to take me longer them I thought but at least I can replicate the issue now.

lsellens commented 9 years ago

Finally had some time for this. There is a update to the dependencies up on my repo. Please let me know if this fixes SSL.

soverbosch commented 9 years ago

I've got this SSL problem too, using openelec 5.0.0. In the kodi.log I see the following:

23:55:30 T:140032727815936 WARNING: CPythonInvoker(9): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version. 23:55:30 T:140032727815936 ERROR: AUDO: Error Copying libcrypto for x86_64
23:55:30 T:140032727815936 ERROR: [Errno 17] File exists
23:55:30 T:140032727815936 ERROR: AUDO: Error Copying libssl for x86_64
23:55:30 T:140032727815936 ERROR: [Errno 17] File exists

Don't know how to solve this :'(

ghost commented 9 years ago

I have the same issue with [Stable] OpenELEC 5.0.3 (arm) RPi 2.

I have done everything that is mentioned on all forums and still no SSL. Please let me know if there is a temp fix some where.

Thanks

aschnabl commented 9 years ago

I've just done a fresh install on an RPi2 the same as Vodka2014, and also getting the issue.

Is there a specific order the packages should have been applied in?

lsellens commented 9 years ago

My RPi2 should be here today or tomorrow. I'll get this fixed.

lsellens commented 9 years ago

RPi2 came in today. I have SSL working and will have an update pushed out as soon as I finish a little more testing

ghost commented 9 years ago

SSL i still broken for me and i did a clean install.

ghost commented 9 years ago

Solved with v1.1.8. Thanks

TySkby commented 8 years ago

I'm having this problem as well- tried everything here and keep coming up short. The kodi.log file has entries like Error Copying <dependency> for i686.

Whenever I delete my arch.i686 file in /.kodi/addons/script.module.audo-dependencies, it keeps coming back. Anything I can do to get this working?

Running OpenELEC 5.0.8 Generic 32-bit build.

Thanks!

lsellens commented 8 years ago

I'm no longer including 32bit binaries. Openelec has dropped support for 32bit systems. Install a 64 bit version of openelec.