Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSL handshaking and SNI Proxying #24

Open
GhostlyCrowd opened this issue Oct 6, 2015 · 0 comments
Open

SSL handshaking and SNI Proxying #24

GhostlyCrowd opened this issue Oct 6, 2015 · 0 comments

Comments

@GhostlyCrowd
Copy link

In order to avoid blackouts in my area as I'm a cord cutter i have to rout my GCL through a SNI proxy i have erected on a vps out of my local area.

The issue is i get this error when i use my proxy with this add-on

"15:44:13 T:12752 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'urllib2.URLError'>
Error Contents: <urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>
Traceback (most recent call last):
File "C:\Users\jeffj\AppData\Roaming\Kodi\addons\plugin.video.nhl-gamecenter-master\default.py", line 27, in
CATEGORIES()
File "C:\Users\jeffj\AppData\Roaming\Kodi\addons\plugin.video.nhl-gamecenter-master\resources\lib\userinterface.py", line 61, in CATEGORIES
checkLogin()
File "C:\Users\jeffj\AppData\Roaming\Kodi\addons\plugin.video.nhl-gamecenter-master\resources\lib\common.py", line 52, in checkLogin
login()
File "C:\Users\jeffj\AppData\Roaming\Kodi\addons\plugin.video.nhl-gamecenter-master\resources\lib\common.py", line 31, in login
r=opener.open('https://gamecenter.nhl.com/nhlgc/secure/login', login_data)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 404, in open
response = self._open(req, data)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 422, in _open
'_open', req)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 1222, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\Program Files (x86)\Kodi\system\python\Lib\urllib2.py", line 1184, in do_open
raise URLError(err)
URLError: <urlopen error [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>
-->End of Python script error report<--
15:44:13 T:12000 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.nhl-gamecenter/
15:44:13 T:12000 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.nhl-gamecenter/) failed"

It looks like it has to do with urllib3/python. Is this something you can work around in the Addon, It appears other add-ons have successfully worked around this issue, such as the Netflix add-on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant