SBS SSL issue

Issue #36 closed
Tim created an issue

Running Debian 8.4, 64 bit. Trying to get Brooklyn Nine-Nine

INFO Downloading: Brooklyn Nine-Nine S3 Ep11 - Hostage Situation.ts
[cli][info] Found matching plugin stream for URL hlsvariant://https://sbsvodns-vh.akamaihd.net/i/svod/SBS/managed/2016/05/20/2016-05-20_535234_,1500,1000,512,128,K.mp4.csmil/master.m3u8?hdnea=st=1464524090~exp=1464542120~acl=/i/svod/SBS/managed/2016/05/20/2016-05-20_535234_*~hmac=9a0f490ed5270967ea214c7b382cde4bce6165749601968f2abebe15ff27fd28&__b__=1000&b=0-2000&__a__=off
error: Unable to open URL: https://sbsvodns-vh.akamaihd.net/i/svod/SBS/managed/2016/05/20/2016-05-20_535234_,1500,1000,512,128,K.mp4.csmil/master.m3u8?hdnea=st=1464524090~exp=1464542120~acl=/i/svod/SBS/managed/2016/05/20/2016-05-20_535234_*~hmac=9a0f490ed5270967ea214c7b382cde4bce6165749601968f2abebe15ff27fd28&__b__=1000&b=0-2000&__a__=off ([SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581))
ERROR livestreamer exited with error code: 1
ERROR Failed to download! Brooklyn Nine-Nine S3 Ep11 - Hostage Situation

This is with both the autograbber and the gui. Other things I've tested on SBS work fine.

Comments (4)

  1. delx repo owner

    I can't reproduce this myself. Is it possible something on your network may be intercepting the connection? Have you tried with a different ISP?

  2. Tim reporter

    It appears to be a Debian issue. Apparently the root CA is missing and it effects other packages like curl. I manged to get around it with the following patch. Obviously you wouldn't want this on by default.

    diff -r 8da675d37f7c common.py
    --- a/common.py Mon May 16 22:50:54 2016 +1000
    +++ b/common.py Fri Jun 03 19:33:53 2016 +1000
    @@ -264,6 +264,7 @@
    
         cmd = [
             "livestreamer",
    +        "--http-no-ssl-verify",
             "-o", filename,
             param,
             "best",
    @@ -280,6 +281,7 @@
    
         cmd = [
             "livestreamer",
    +        "--http-no-ssl-verify",
             "-o", filename,
             video_url,
             "best",
    @@ -295,6 +297,7 @@
    
         cmd = [
             "curl",
    +        "-k",
             "--fail", "--retry", "3",
             "-o", filename,
             video_url,
    
  3. Log in to comment