I’ve been search for a solution but couldn’t find anything that works so hopefully someone can help me. I’m getting the error below trying to connect to an https site using urllib2. I’m thinking it might have something to do with not being able to use TLS1.2. Anyone got any ideas?
Code:
File "F:\Kodi15\system\python\Lib\urllib2.py", line 404, in open
response = self._open(req, data)
File "F:\Kodi15\system\python\Lib\urllib2.py", line 422, in _open
'_open', req)
File "F:\Kodi15\system\python\Lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "F:\Kodi15\system\python\Lib\urllib2.py", line 1222, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "F:\Kodi15\system\python\Lib\urllib2.py", line 1184, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 1] _ssl.c:510: error:14094438:SSL routines:SSL3_READ_BYTES:tlsv1 alert internal error>