Try 30 days of free premium.

[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired

keatonktw121 wrote 2 years ago: 1

Hi,

I'm using a Kodi plugin which reaches out to the TVmaze api in order to get tv schedule and calendar data, recently though I've been getting the following error when these requests are being made and it's unable to retrieve this data.

From func name: \resources\lib\modules\client.py.request() Line # :118
msg : Request-Error url=(https://api.tvmaze.com/schedule?date=2021-10-15)->
URLError -> <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1128)>

I'm not yet sure if this is an issue with my plugin or Kodi locally (such as maybe certificate data locally being out of date) or if it's an issue at the TVmaze api itself. I've seen previous reports of this happening from a year plus ago in the bugs listing and it appeared these issue were resolved by actions of the administrator. 

Is this something that can be resolved on TVmaze's end? Or is it something I need to address locally?

Any help anyone is able to provide would be greatly appreciated, thank you. 

MantvydasN wrote 2 years ago: 1

No idea. 

But you can turn off validation on your end as a workaround until you find the fix. 

keatonktw121 wrote 2 years ago: 2

Thank you both for the quick response. 

The plugin itself is Venom located at https://github.com/123venom. It sounds like it likely is what david is mentioning and the plugin maintainers just haven't yet updated to deal with it, unless it's something that'd need to be updated independently of that plugin specifically. 

I'm going to give https://kodi.wiki/view/Add-on:TV_Maze_Integration a try and see if it also encounters the same issue. If it doesn't, I'll try to look through both plugin's code to see if I can manually patch it myself. Otherwise I might just fallback to what MantvydasN suggested. 

Try 30 days of free premium.