2016-01-22, 02:40
(2016-01-21, 23:41)ben.page Wrote: I've been having an issue with SSL of some kind with this plugin on Kodi 15.2 on Win7 x64.. I've got latest 0.5.2, but I've tried with earlier versions over the last couple of weeks. Same issue, regardless of what I select in the SSL area of the config - this is from the most recent log, attempted with Use advanced SSL set to Off, and SSL version set to Auto, however as I said I've tried many combos with the same results:
Code:08:31:36 T:4852 NOTICE: [plugin.video.flix2kodi] Loading netflix: https://www.netflix.com/Login Post: None
08:31:36 T:4852 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <class 'requests.exceptions.SSLError'>
Error Contents: [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\User\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\addon.py", line 91, in <module>
if connect.do_login()==True:
File "C:\Users\User\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\resources\connect.py", line 216, in do_login
return login.login()
File "C:\Users\User\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\resources\login.py", line 26, in login
content = connect.load_netflix_site(generic_utility.main_url + 'Login', new_session=True, login_process=True)
File "C:\Users\User\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\resources\connect.py", line 106, in load_netflix_site
ret, status_code = load_site_internal(url, session, post, netflix=True, options=False)
File "C:\Users\User\AppData\Roaming\Kodi\addons\plugin.video.flix2kodi\resources\connect.py", line 195, in load_site_internal
response = session.get(url, headers=headers, cookies=cookies, verify=False)
File "C:\Users\User\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\sessions.py", line 480, in get
return self.request('GET', url, **kwargs)
File "C:\Users\User\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\User\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "C:\Users\User\AppData\Roaming\Kodi\addons\script.module.requests\lib\requests\adapters.py", line 447, in send
raise SSLError(e, request=request)
SSLError: [Errno 1] _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
-->End of Python script error report<--
08:31:36 T:6716 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.flix2kodi/?mode=main&thumb&type=movie&url
08:31:36 T:6716 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.flix2kodi/?mode=main&thumb&type=movie&url) failed
I have exactly the same problem. For me it is due to using an unblocker type dns.
It does not support SSLv3, but only TLSv1 and above.
Turning off ssl has no affect it continues to try, and it only seems to ever try SSLv3.
Another netflix plugin for xbmc called Netflixbmc was able to solve this by using new methods calling libraries from pyOpenSSL..