chamchenko / plugin.video.nbainternational

NBA Add-On for Kodi
GNU General Public License v2.0
9 stars 6 forks source link

Archive full game: SSL error #14

Open stephematician opened 2 years ago

stephematician commented 2 years ago

I'm running LibreElec 10.0.1 (Kodi 19.2) on a Pi4B - connected to an (Android) wifi hotspot. From the games archive I can watch:

but not full games. Not sure why only full games fail, I've attached the log here: http://ix.io/3QO0

Hard to say where the problem is, but here's roughly where I selected the game thru the UI:

2022-02-26 23:41:50.601 T:763   DEBUG <general>: OnPlayMedia plugin://plugin.video.nbainternational/resources/lib/games/play_game/?_pickle_=800495ae000000000000007d94288c075f7469746c655f948c1946756c6c2047616d6520417761792046656564202853415329948c046e616d65948c1946756c6c2047616d6520417761792046656564202853415329948c026774944b048c02636e944e8c02726494898c0667616d654944948c0a30303232313030383939948c0a73746172745f74696d65948a0628df53337f018c08656e645f74696d65948a06685b00347f018c0a67616d655f7374617465944b03752e
...

And here's the line where it attempts to get some file for the stream:

...
2022-02-26 23:41:56.510 T:1016    DEBUG <general>: AddOnLog: inputstream.adaptive: Supported URN: urn:uuid:EDEF8BA9-79D6-4ACE-A3C8-27DCD51D21ED
2022-02-26 23:41:56.511 T:1016    DEBUG <general>: CurlFile::Open(0xec25b5c8) https://neuclnbavodns.akamaized.net/nlds_vod/nba/vod/drm/nlncp/2022/02/25/22100899/a506b920-c238-3de6-b399-eba87f000001/v1/stream/a506b920-c238-3de6-b399-eba87f000001_1_pc.mp4.mpd?h=93506e05a764c9267500c7520a37b04e.1645879311794&hdnea=exp=1645879371~acl=/*~hmac=2846798A6E763AC5E7BA52FEB7BDE87F1B43145953C0CF5D642C35C9F001A740&nltid=nba&nltdt=0&uid=1177138
2022-02-26 23:41:56.525 T:763     DEBUG <general>: CVideoGUIInfo::InitCurrentItem(plugin://plugin.video.nbainternational/resources/lib/games/play_game/?_pickle_=800495ae000000000000007d94288c075f7469746c655f948c1946756c6c2047616d6520417761792046656564202853415329948c046e616d65948c1946756c6c2047616d6520417761792046656564202853415329948c026774944b048c02636e944e8c02726494898c0667616d654944948c0a30303232313030383939948c0a73746172745f74696d65948a0628df53337f018c08656e645f74696d65948a06685b00347f018c0a67616d655f7374617465944b03752e)
2022-02-26 23:41:56.525 T:763     DEBUG <general>: CPlayerGUIInfo::InitCurrentItem(plugin://plugin.video.nbainternational/resources/lib/games/play_game/?_pickle_=800495ae000000000000007d94288c075f7469746c655f948c1946756c6c2047616d6520417761792046656564202853415329948c046e616d65948c1946756c6c2047616d6520417761792046656564202853415329948c026774944b048c02636e944e8c02726494898c0667616d654944948c0a30303232313030383939948c0a73746172745f74696d65948a0628df53337f018c08656e645f74696d65948a06685b00347f018c0a67616d655f7374617465944b03752e)
2022-02-26 23:41:56.626 T:763     DEBUG <general>: ------ Window Init (DialogBusy.xml) ------
2022-02-26 23:41:57.033 T:763     DEBUG <general>: ------ Window Deinit (DialogNotification.xml) ------
2022-02-26 23:42:00.611 T:1016    ERROR <general>: CCurlFile::FillBuffer - Failed: SSL connect error(35)
2022-02-26 23:42:00.613 T:1016    ERROR <general>: CCurlFile::Open failed with code 0 for https://neuclnbavodns.akamaized.net/nlds_vod/nba/vod/drm/nlncp/2022/02/25/22100899/a506b920-c238-3de6-b399-eba87f000001/v1/stream/a506b920-c238-3de6-b399-eba87f000001_1_pc.mp4.mpd?h=93506e05a764c9267500c7520a37b04e.1645879311794&hdnea=exp=1645879371~acl=/*~hmac=2846798A6E763AC5E7BA52FEB7BDE87F1B43145953C0CF5D642C35C9F001A740&nltid=nba&nltdt=0&uid=1177138:

2022-02-26 23:42:00.613 T:1016    ERROR <general>: AddOnLog: inputstream.adaptive: Download failed: https://neuclnbavodns.akamaized.net/nlds_vod/nba/vod/drm/nlncp/2022/02/25/22100899/a506b920-c238-3de6-b399-eba87f000001/v1/stream/a506b920-c238-3de6-b399-eba87f000001_1_pc.mp4.mpd?h=93506e05a764c9267500c7520a37b04e.1645879311794&hdnea=exp=1645879371~acl=/*~hmac=2846798A6E763AC5E7BA52FEB7BDE87F1B43145953C0CF5D642C35C9F001A740&nltid=nba&nltdt=0&uid=1177138
2022-02-26 23:42:00.614 T:1016    ERROR <general>: AddOnLog: inputstream.adaptive: Could not open / parse manifest (https://neuclnbavodns.akamaized.net/nlds_vod/nba/vod/drm/nlncp/2022/02/25/22100899/a506b920-c238-3de6-b399-eba87f000001/v1/stream/a506b920-c238-3de6-b399-eba87f000001_1_pc.mp4.mpd?h=93506e05a764c9267500c7520a37b04e.1645879311794&hdnea=exp=1645879371~acl=/*~hmac=2846798A6E763AC5E7BA52FEB7BDE87F1B43145953C0CF5D642C35C9F001A740&nltid=nba&nltdt=0&uid=1177138)
2022-02-26 23:42:00.614 T:1016    DEBUG <general>: AddOnLog: inputstream.adaptive: Session::~Session()
2022-02-26 23:42:00.615 T:1016    ERROR <general>: CVideoPlayer::OpenInputStream - error opening [plugin://plugin.video.nbainternational/resources/lib/games/play_game/?_pickle_=800495ae000000000000007d94288c075f7469746c655f948c1946756c6c2047616d6520417761792046656564202853415329948c046e616d65948c1946756c6c2047616d6520417761792046656564202853415329948c026774944b048c02636e944e8c02726494898c0667616d654944948c0a30303232313030383939948c0a73746172745f74696d65948a0628df53337f018c08656e645f74696d65948a06685b00347f018c0a67616d655f7374617465944b03752e]
2022-02-26 23:42:00.615 T:1016     INFO <general>: CVideoPlayer::OnExit()
chamchenko commented 2 years ago

Hi @stephematician, This issue is not related to the add-on. at the point where the error happens it's at the hands of the player inputstream adaptive (a part of kodi). But this error is most likely related to your os/setup, it coud be missing some root ssl certifcate. if you are using some sort of proxy or smart dns service maybe try to disable it and try again.

stephematician commented 2 years ago

Thanks for the guidance, I was thinking along the same lines re: SSL certificate.

I don't have a proxy or smart dns service, so can't do much there. Have you tested with LibreElec 10.0.1? Also - is there are an obvious reason that the Condensed Games work and the full games do not? Both would use HTTPS and require SSL certs, right?

chamchenko commented 2 years ago

No, I didn't I'm using it on coreelec arm which is not really different, for now I can't really test on libreelec but maybe ask in the kodi forum here maybe one of the users there have tested on libreelec 10

stephematician commented 2 years ago

Thanks - one more question :) is it correct to say that it's failing to fetch the .mpd file? I am able to download the .mpd file if I put the link into my browser on my laptop. I'm just trying to narrow down where the problem is, thanks again.

chamchenko commented 2 years ago

That's exactly what's happening inputstream adaptive is calling the link using libcurl and the ssl certificate verification is failing.