All of a sudden in the last two days (with no changes to Kodi or the scraper), the TVDB scraper stopped working.
This is Kodi v17.6 running on Linux (Opensuse Leap). TVDB scraper 3.0.1
Looking at the logs, it seems the initial call to login to pass the API Key for kodi to get the token for further calls is failing with SSL error 35.
16:56:22.506 T:140371273099008 DEBUG: scraper: CreateSearchUrl returned <url post="yes" cache="auth.json">https://api.thetvdb.com/login?{"apikey":"439DFEBA9D3059C6"}|Content-Type=application/json</url>
16:56:22.506 T:140371273099008 DEBUG: CurlFile:: ParseAndCorrectUrl() adding custom header option 'Content-Type: application/json'
16:56:22.506 T:140371273099008 DEBUG: CurlFile::Open(0x7fab20a92e30) https://api.thetvdb.com/login
16:56:22.506 T:140371273099008 INFO: easy_aquire - Created session to https://api.thetvdb.com
16:56:22.618 T:140371273099008 ERROR: CCurlFile::FillBuffer - Failed: SSL connect error(35)
16:56:22.618 T:140371273099008 ERROR: CCurlFile::Open failed with code 0 for https://api.thetvdb.com/login|Content-Ty...ation/json
16:56:22.618 T:140371273099008 ERROR: Run: Unable to parse web site
The curl to the API from command line on the same machine works fine and gets the token
% curl -d '{"apikey":"439DFEBA9D3059C6"}' -H "Content-Type: application/json" https://api.thetvdb.com/login
{
"token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1MjA1NjEyMjUsImlkIjoiS29kaSIsIm9yaWdfaWF0IjoxNTIwNDc0ODI1fQ.zF-DzODZGeKKTqS1EU1p3WOWfo1rFfhoa5pSmy6mlAB94z4GoiL0PSsrcIZCRJZ64R0f01qjg8VddP16lKdmpbVWxCqhWM21RQY5r5WG-N-mKPIzAJIqlbqf9csnpzANBrB0uUmsblMaKKWZfM-mpq0_vGhpxZ0EP_pgvDk72YfYuKNzY-viADDa3EdJXhEo3GVcpc1CkKvp2MMKIozALQLvdYchxwMrvO-TupQ0HiJSzVzH3GsaUEYxfVZ5w6wcys1zj9MkIN8GFhrtJN4ZXSxNGX8beQO9qxXBt3BetN3RF2h-Lf_GhVGaGGbnd2Fm9mmpd2_3wNsRau1qrQprIQ"
}
Any idea what may have changed underneath?
This is Kodi v17.6 running on Linux (Opensuse Leap). TVDB scraper 3.0.1
Looking at the logs, it seems the initial call to login to pass the API Key for kodi to get the token for further calls is failing with SSL error 35.
16:56:22.506 T:140371273099008 DEBUG: scraper: CreateSearchUrl returned <url post="yes" cache="auth.json">https://api.thetvdb.com/login?{"apikey":"439DFEBA9D3059C6"}|Content-Type=application/json</url>
16:56:22.506 T:140371273099008 DEBUG: CurlFile:: ParseAndCorrectUrl() adding custom header option 'Content-Type: application/json'
16:56:22.506 T:140371273099008 DEBUG: CurlFile::Open(0x7fab20a92e30) https://api.thetvdb.com/login
16:56:22.506 T:140371273099008 INFO: easy_aquire - Created session to https://api.thetvdb.com
16:56:22.618 T:140371273099008 ERROR: CCurlFile::FillBuffer - Failed: SSL connect error(35)
16:56:22.618 T:140371273099008 ERROR: CCurlFile::Open failed with code 0 for https://api.thetvdb.com/login|Content-Ty...ation/json
16:56:22.618 T:140371273099008 ERROR: Run: Unable to parse web site
The curl to the API from command line on the same machine works fine and gets the token
% curl -d '{"apikey":"439DFEBA9D3059C6"}' -H "Content-Type: application/json" https://api.thetvdb.com/login
{
"token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1MjA1NjEyMjUsImlkIjoiS29kaSIsIm9yaWdfaWF0IjoxNTIwNDc0ODI1fQ.zF-DzODZGeKKTqS1EU1p3WOWfo1rFfhoa5pSmy6mlAB94z4GoiL0PSsrcIZCRJZ64R0f01qjg8VddP16lKdmpbVWxCqhWM21RQY5r5WG-N-mKPIzAJIqlbqf9csnpzANBrB0uUmsblMaKKWZfM-mpq0_vGhpxZ0EP_pgvDk72YfYuKNzY-viADDa3EdJXhEo3GVcpc1CkKvp2MMKIozALQLvdYchxwMrvO-TupQ0HiJSzVzH3GsaUEYxfVZ5w6wcys1zj9MkIN8GFhrtJN4ZXSxNGX8beQO9qxXBt3BetN3RF2h-Lf_GhVGaGGbnd2Fm9mmpd2_3wNsRau1qrQprIQ"
}
Any idea what may have changed underneath?