tvshowtime / tvshowtime-plex-scrobbler

This scrobbler sends episodes you watch on your Plex Media Center to TVShow Time
MIT License
64 stars 16 forks source link

ssl.CertificateError: hostname 'api.tvshowtime.com' doesn't match either of '*.tvtime.com', 'tvtime.com'` #20

Open larousse96 opened 4 years ago

larousse96 commented 4 years ago

I have this error and cant manage to repair it

c:\Python27\Scripts>python plex-tvst-scrobbler.py == Requesting tvshowtime.com auth == Traceback (most recent call last): File "plex-tvst-scrobbler.py", line 98, in <module> tvst.tvst_auth() File "C:\Python27\lib\site-packages\plex_tvst_scrobbler\tvst.py", line 100, in tvst_auth auth_infos = self._get_auth_infos() File "C:\Python27\lib\site-packages\plex_tvst_scrobbler\tvst.py", line 56, in _get_auth_infos res = self._do_tvst_post(url, urllib.urlencode(args)) File "C:\Python27\lib\site-packages\plex_tvst_scrobbler\tvst.py", line 40, in _do_tvst_post res = urllib2.urlopen(f, data) File "C:\Python27\lib\urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) File "C:\Python27\lib\urllib2.py", line 429, in open response = self._open(req, data) File "C:\Python27\lib\urllib2.py", line 447, in _open '_open', req) File "C:\Python27\lib\urllib2.py", line 407, in _call_chain result = func(*args) File "C:\Python27\lib\urllib2.py", line 1241, in https_open context=self._context) File "C:\Python27\lib\urllib2.py", line 1195, in do_open h.request(req.get_method(), req.get_selector(), req.data, headers) File "C:\Python27\lib\httplib.py", line 1082, in request self._send_request(method, url, body, headers) File "C:\Python27\lib\httplib.py", line 1122, in _send_request self.endheaders(body) File "C:\Python27\lib\httplib.py", line 1078, in endheaders self._send_output(message_body) File "C:\Python27\lib\httplib.py", line 894, in _send_output self.send(msg) File "C:\Python27\lib\httplib.py", line 856, in send self.connect() File "C:\Python27\lib\httplib.py", line 1303, in connect server_hostname=server_hostname) File "C:\Python27\lib\ssl.py", line 369, in wrap_socket _context=self) File "C:\Python27\lib\ssl.py", line 599, in __init__ self.do_handshake() File "C:\Python27\lib\ssl.py", line 836, in do_handshake match_hostname(self.getpeercert(), self.server_hostname) File "C:\Python27\lib\ssl.py", line 288, in match_hostname % (hostname, ', '.join(map(repr, dnsnames)))) ssl.CertificateError: hostname 'api.tvshowtime.com' doesn't match either of '*.tvtime.com', 'tvtime.com'