Solved Kodi hangs (Youtube addon), can't download other addons (SSL error 35)
#1
Hi there, I've got a problem I'm seemingly unable to solve.

I'm using version 17.6, (git20171114-a9a7a20), installed from official Ubuntu PPA, on Ubuntu 16.04 x64. I've never used Kodi before (so there should be no old configuration files), although I have tried deleting the .kodi directory in the home folder.

I've installed the Youtube addon, and it works somewhat: I can search, but, once I click on a search result, I sometimes get a "Playback error, see log for details" message, or Kodi completely freezes, and I have to kill the process from a tty. Here's the debug log from this.

What stands out to me in that log is this:

python:

SSLError: HTTPSConnectionPool(host='www.youtube.com', port=443): Max retries exceeded with url: /watch?gl=IE&hl=en_GB&v=cFm8oP9c9Hs (Caused by SSLError(SSLError('bad handshake: SysCallError(0, None)',),))

And:

python:

ERROR: CCurlFile::Stat - Failed: SSL connect error(35) for https://i.ytimg.com/vi/bnEUVjZ_huw/hqdefault.jpg

Also, I seemingly can't install addons, it never goes beyond "Downloading, 0%", and it shows me this in the logs (it's also in the link above):

python:

19:23:42.883 T:140326959531776   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
19:23:42.883 T:140326959531776   DEBUG: CCurlFile::Open - effective URL: <https://mirror.dal10.us.leaseweb.net/xbmc/addons/krypton/weather.wunderground/weather.wunderground-6.0.1.zip>
19:23:42.883 T:140326940473088   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
19:23:42.883 T:140326940473088   DEBUG: CCurlFile::Open - effective URL: <https://mirrors.dotsrc.org/kodi/addons/krypton/weather.wunderground/weather.wunderground-6.0.1.zip>
19:23:42.885 T:140326940473088   ERROR: CAddonInstallJob[weather.wunderground]: MD5 mismatch after download. Expected 0624f7880a637058dbc68b6b9f6b1bb9, was D41D8CD98F00B204E9800998ECF8427E
19:23:42.886 T:140326940473088    INFO: easy_aquire - Created session to https://yt3.ggpht.com
19:23:42.887 T:140326959531776   ERROR: CAddonInstallJob[weather.wunderground]: MD5 mismatch after download. Expected 0624f7880a637058dbc68b6b9f6b1bb9, was

I also see this in the logs, possibly related ?

python:
ERROR: EXCEPTION: Unknown addon id 'inputstream.adaptive'.

Seems to be that the internet connection is not working somehow, (bad SSL library version ?), but the links do work in a browser.

What could be the problem ?

Thanks in advance for any ideas !
Reply
#2
sudo apt install kodi-inputstream-adaptive

if it still doesn't work, try https://forum.kodi.tv/showthread.php?tid...yptography
Reply
#3
Whoa, thanks so much: installing kodi-inputstream-adaptive didn't fix it, but updating the python crypto / SSL libraries did the trick.

Thanks so much again !
Reply

Logout Mark Read Team Forum Stats Members Help
Kodi hangs (Youtube addon), can't download other addons (SSL error 35)0