[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux)
(2014-09-30, 11:34)salbmc Wrote: First up: Thanks a lot for the plugin, it's perfect for integrating Netflix into XBMC!

Since a few days ago I get a script error everytime when starting the script (restarting XBMC and rebooting didn't help). I receive the same handshake error as has been posted a few pages back and I am also using adfreetime.com on a Linux Mint 17 machine. What puzzles me, though, is that I have added a few movies and series to my library when the plugin still worked (last week). Now, when I start one of the movies via the library chrome beta launches and the movies plays correctly. Also basic controls via xdotool work and I can close chrome via the info-button on the remote and return to xbmc.

This leads me to think that the problem can't be in chrome or with the proxy because then it shouldn't work when starting the movie via the library (I assume this is also handled by NetflixBMC?) neither.

I have researched the issue extensively and the error message points to an old problem with ssl which should be fixed by now. Just to make sure, though, I have added two lines to the script which force TLSv1 (a solution for the old problem) but that didnt change anything (still same error).

It's not an urgent problem as I can launch Netflix via selecting a Netflix movie from the library and then change movies in the browser but it would be interesting to know if other people using a proxy encounter the same issue and if it can be tracked back to any recent changes.

The error from the log:

Code:
11:13:39 T:140536676611840  NOTICE: -->Python Interpreter Initialized<--
11:13:39 T:140537380202432   ERROR: Control 50 in window 10025 has been asked to focus, but it can't
11:13:41 T:140536676611840   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 "/home/xbmc/.xbmc/addons/plugin.video.netflixbmc/default.py", line 1024, in <module>
                                                index()
                                              File "/home/xbmc/.xbmc/addons/plugin.video.netflixbmc/default.py", line 99, in index
                                                if login():
                                              File "/home/xbmc/.xbmc/addons/plugin.video.netflixbmc/default.py", line 638, in login
                                                content = opener.open(urlMain+"/Login").read()
                                              File "/usr/lib/python2.7/urllib2.py", line 410, in open
                                                response = meth(req, response)
                                              File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
                                                'http', request, response, code, msg, hdrs)
                                              File "/usr/lib/python2.7/urllib2.py", line 442, in error
                                                result = self._call_chain(*args)
                                              File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
                                                result = func(*args)
                                              File "/usr/lib/python2.7/urllib2.py", line 629, in http_error_302
                                                return self.parent.open(new, timeout=req.timeout)
                                              File "/usr/lib/python2.7/urllib2.py", line 410, in open
                                                response = meth(req, response)
                                              File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
                                                'http', request, response, code, msg, hdrs)
                                              File "/usr/lib/python2.7/urllib2.py", line 442, in error
                                                result = self._call_chain(*args)
                                              File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
                                                result = func(*args)
                                              File "/usr/lib/python2.7/urllib2.py", line 629, in http_error_302
                                                return self.parent.open(new, timeout=req.timeout)
                                              File "/usr/lib/python2.7/urllib2.py", line 404, in open
                                                response = self._open(req, data)
                                              File "/usr/lib/python2.7/urllib2.py", line 422, in _open
                                                '_open', req)
                                              File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
                                                result = func(*args)
                                              File "/usr/lib/python2.7/urllib2.py", line 1222, in https_open
                                                return self.do_open(httplib.HTTPSConnection, req)
                                              File "/usr/lib/python2.7/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<--
11:13:41 T:140537380202432   ERROR: GetDirectory - Error getting plugin://plugin.video.netflixbmc/
11:13:41 T:140537380202432   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflixbmc/) failed
11:13:41 T:140536676611840  NOTICE: Thread BackgroundLoader start, auto delete: false
11:13:44 T:140536676611840  NOTICE: Thread LanguageInvoker start, auto delete: false
11:13:44 T:140536676611840  NOTICE: -->Python Interpreter Initialized<--

I would love for a fix for this. I would be more than happy to help test anything.
Reply


Messages In This Thread
Search empty? - by cgrey - 2014-01-11, 06:13
Not working on windows 7 - by dandiodati - 2014-02-26, 21:55
RE: [RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux) - by ICEx - 2014-10-01, 17:17
Problems with this addon - by builderjer - 2014-11-30, 19:55
Logout Mark Read Team Forum Stats Members Help
[RELEASE] NetfliXBMC - Unofficial Netflix Add-on (Win/OSX/Linux)7