Kodi Community Forum

Full Version: RaspBian Jessie YouTube fails to play videos because of curl problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My kodi native package from RaspBian Jessie is working nicely after some tweaking (firewall, buffering, screen resolution, graphical memory allocation,...) on my RaspBerry Pi 2 B. However, only YouTube plugin was not playing any videos. Login and listing of contents was possible but not playback. Not a single video played. By looking in kodi.log i found out that libcurl has a SSL connection problem which is already known in one of the threads here. Now i am trying to doe the workaround listed at https://gist.github.com/aerickson/f15133a7e56b2d7f27e3 for making YouTube plugin work. The problem seems to be that more recent versions of curl are linked to GNUTSL, which deactivates support for RC4 encryption, whereas OpenSSL has such support. Thus a relinking of curl is needed...
..that tweak did not help. The instruction is little bit outdated and the mentioned files don't exist anymore, still the problem is there: YouTube gets Metadata and all lists by logging into Google-Account, but only videos don't play at all.
@popcornmix: thanks for the reference. By looking in my Kody file the reason for breaking is SSl(35) connect error when trying to open an https stream.

As you see from the heading of the thread i am running Raspbian Jessie having it updated from Debian Wheezy by apt. There is different versions of xbmc/Kodi available in RaspBian Jessie. xbmc 13 and xbmc 14 seems to be from Wheezy. Maybe some of the packages got mixed up?

I have not changed any configurations by hand apart from Samba, cups and WLAN settings. Also i followed the instruction of https://gist.github.com/aerickson/f15133a7e56b2d7f27e3 to replace gnutls in pycurl by openssl. Although the messages from Kodi.log have changed slightly the basic message of SSL(35) connect error with https remains after this patch. As far as my Kodi is concerened i have deactivated the firewall of my modem and also of my router. I am using Xunity.tweak.0 Cache for setting the mem-cache size to 0 and using disk buffering instead. If our ADSL connection (max. 8 MBit/s) is not in heavy use by other services then streaming of all AddOns but YouTube works nicely. YouTube lists all the available streams but does not play any of them.
...by the way: when trying to play some YouTube video on my Kodi 14 Helix RaspBian Jessie there is no Kodi-reported thing happening at all after clicking the video. Only after clicking another video a message is displayed: "One or more items could not be played." Maybe that issue was not properly closed really. The thread you pointed me to does not refer anyhow to "SSL(35) connect error " error code and does not address the issue properly i think.
Hallo,

i have the same problems here. I have updated my raspberry pi from wheezy to jessie and now I can't watch YouTube-Videos anymore. Also the Southpark-Addon doesn't work.

Is there any problem solution or can I upload some logs for problem solving?

Greets
Chris

P.S.: I found that Bug https://bugs.launchpad.net/raspbian/+bug/1476125
(2015-10-13, 19:01)cdecker Wrote: [ -> ]Hallo,

i have the same problems here. I have updated my raspberry pi from wheezy to jessie and now I can't watch YouTube-Videos anymore. Also the Southpark-Addon doesn't work.

Is there any problem solution or can I upload some logs for problem solving?

Greets
Chris

P.S.: I found that Bug https://bugs.launchpad.net/raspbian/+bug/1476125

Depending on your internet connection bandwidth other plugins can also make problems with Kodi. I have observed that Kodi for Windows can stream HD videos nicely over my ADSL internet connection on my Win 10 PC, but my RaspBerry Pi 2 B with Debian Jessie has performance problems while streaming videos. After tweaking the settings for the buffering algorithm, still performance of Kodi is slow in general, but the YouTube plugin seems to be the only one that actually produces the error messages with curl in the log and cannot play any videos.
An update to Kodi 15.1 solved my problem. Maybe my Kodi 14 and the new Youtube-Addon-Version didn't fit together. Now PVR doesn't work any more because of some incompatibility but that is another topic. Thanks for help.