asciidisco / plugin.video.netflix

Inputstream based Netflix plugin for Kodi
MIT License
1.24k stars 226 forks source link

Netlix error, check log for details #628

Open JeroenTuinstra opened 5 years ago

JeroenTuinstra commented 5 years ago

I'm submitting a ...

General information. Fresh install of Kodi 18 and the latest netflix addon. All requirements are met. Netflix starts up and seems to work fine. Except at startup of kodi the error message appears: "Netflix error. Check log for details". Am using Aura Skin and have widgets for netflix enabled, to show automatically, before I have started the addon, to show me the lastest netflix additions.

Prerequisites

Description

It seems that somehow the addon cannot login to netflix when Kodi starts. Not untill the actual addon has run once do the features of the Aura skin appear.

Steps to Reproduce

  1. Install everything as should be.
  2. restart kodi
  3. error message appears
  4. widgets that use netflix information disappear
  5. start netflix addon, exit out of addon
  6. widgets appear

Expected behavior: What I expected is that when Kodi starts the addon would be able to login into the account and show the requested information in the widget.

Actual behavior: It doesn't seem to login to the netflix account, selecting the proper profile (there are 5) and starting the widgets properly.

Context (Environment)

Windows 10 - Kodi 18 - Netflix 0.13.21 Proper netflix account.

Installation

Operating System

Debug log

https://www.dropbox.com/s/sj1x79f3vih4f0w/kodi.log?dl=0

error-netflix loginhappens netflixworks how it should work

Screenshots

Choukajohn commented 5 years ago

Hi, Same issue here except I am on Linux (x86/x64).

diogogmt commented 5 years ago

Same problem here;

00:17:01.033 T:140311080710144   ERROR: Control 55 in window 10025 has been asked to focus, but it can't
00:17:01.326 T:140310922385152   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 111] Connection refused>
                                            Traceback (most recent call last):
                                              File "/home/diogo/.kodi/addons/plugin.video.netflix/addon.py", line 33, in <module>
                                                NAVIGATION.router(paramstring=REQUEST_PARAMS)
                                              File "/home/diogo/.kodi/addons/plugin.video.netflix/resources/lib/utils.py", line 60, in wrapped
                                                result = func(*args, **kwargs)
                                              File "/home/diogo/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 123, in router
                                                options = self.before_routing_action(params=params)
                                              File "/home/diogo/.kodi/addons/plugin.video.netflix/resources/lib/utils.py", line 60, in wrapped
                                                result = func(*args, **kwargs)
                                              File "/home/diogo/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 867, in before_routing_action
                                                'method': 'is_logged_in'}))
                                              File "/home/diogo/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 1053, in call_netflix_service
                                                data = urllib2.urlopen(full_url).read()
                                              File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
                                                return opener.open(url, data, timeout)
                                              File "/usr/lib/python2.7/urllib2.py", line 429, in open
                                                response = self._open(req, data)
                                              File "/usr/lib/python2.7/urllib2.py", line 447, in _open
                                                '_open', req)
                                              File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
                                                result = func(*args)
                                              File "/usr/lib/python2.7/urllib2.py", line 1228, in http_open
                                                return self.do_open(httplib.HTTPConnection, req)
                                              File "/usr/lib/python2.7/urllib2.py", line 1198, in do_open
                                                raise URLError(err)
                                            URLError: <urlopen error [Errno 111] Connection refused>
                                            -->End of Python script error report<--
00:17:01.348 T:140310922385152 WARNING: CPythonInvoker(4, /home/diogo/.kodi/addons/plugin.video.netflix/addon.py): the python script "/home/diogo/.kodi/addons/plugin.video.netflix/addon.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE
00:17:01.368 T:140310930777856   ERROR: GetDirectory - Error getting plugin://plugin.video.netflix/
00:17:01.378 T:140311080710144   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflix/) failed
Antidote00 commented 5 years ago

Same error here, using freshly installed Kodi 18 on Raspberry PI 3. Log: https://pastebin.com/nTY7Yyx2

Thanks for any tips and help :)

kkr0kk commented 5 years ago

I confirm this BUG on a fresh install RPI3 kodi 18.0-1

tenbergen commented 5 years ago

Ditto, same as @kkr0kk. Fresh install of Kodi 18 on Raspian, RPi 3b+. Latest apt-get and dist-update.

jcreixell commented 5 years ago

Same here

lynix commented 5 years ago

Had this before on Rpi3 B+ with Arch Linux ARM and kodi-rbp3-18.0-1. Works fine since updating to 18.1-1 :)

Choukajohn commented 5 years ago

Same here, works fine since 18.1 update on Linux (x86/x64).

JeroenTuinstra commented 5 years ago

Upgraded to 18.1 on windows 10. Same problem still. Netflix app still on 0.13.21. Netflix addon respository still not showing any updates to netflix. Problem remains.

tmsbrdrs commented 5 years ago

Same problem here on fire stick v2 with Kodi 18.1, add-on version 0.13.21. In my case, I originally could run everything on Kodi version 18 but had to reset. Once I reinstalled Kodi, one of the first add-ons I installed is Netflix via the tvaddons repo. I can login, though it's slow, but as soon as I do I receive the error listed above. Nothing will load or play from Netflix but will from other sources such as YouTube.

stacyharper commented 5 years ago

Same problem here on Archlinux up to date.

skylarmt commented 5 years ago

Same issue, RPi 3B+ with OSMC and Kodi 18.2-RC1.

wintuxx commented 5 years ago

Try this version: https://github.com/CastagnaIT/plugin.video.netflix

tmsbrdrs commented 5 years ago

Just installed with the same issue. I can login but receive Netflix error. Can navigate menus but cannot play videos.

On February 28, 2019 4:17:45 AM EST, wintuxx notifications@github.com wrote:

Try this version: https://github.com/CastagnaIT/plugin.video.netflix

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/asciidisco/plugin.video.netflix/issues/628#issuecomment-468197469

-- Sent from my Android device with K-9 Mail. Please excuse my brevity.

wintuxx commented 5 years ago

Did you uninstall the old one first? If not, deinstall the addon, yes to delete all userdata and restart kodi. then install 0.14.0 again and restart. if it did not work please post a debug log here in the issues: https://github.com/CastagnaIT/plugin.video.netflix/issues

stacyharper commented 5 years ago

Which 0.14 release are you talking about ? I only see 0.13.19 on both github repositories.

tmsbrdrs commented 5 years ago

The highest I'm seeing is 0.13.21. No 0.14 anywhere for me either. On Thu, 2019-02-28 at 12:06 -0800, Eddie Barraco wrote:

Which 0.14 release are you talking about ? I only see 0.13.19 on both github repositories.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c5 5493e4bb","name":"GitHub"},"entity":{"external_key":"github/asciidisc o/plugin.video.netflix","title":"asciidisco/plugin.video.netflix","su btitle":"GitHub repository","main_image_url":" https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":" https://github.com/asciidisco/plugin.video.netflix"}},"updates":{"snippets":[{"icon":"PERSON","message":"@Eluminae in #628: Which 0.14 release are you talking about ? I only see 0.13.19 on both github repositories."}],"action":{"name":"View Issue","url":" https://github.com/asciidisco/plugin.video.netflix/issues/628#issuecomment-468418312 "}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": " https://github.com/asciidisco/plugin.video.netflix/issues/628#issuecomment-468418312 ", "url": " https://github.com/asciidisco/plugin.video.netflix/issues/628#issuecomment-468418312 ", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

wintuxx commented 5 years ago

https://github.com/CastagnaIT/plugin.video.netflix/archive/master.zip

This is the 0.14.0-beta21

tmsbrdrs commented 5 years ago

After installing 0.14.0-beta21, I receive the following error. "The addon encountered the following error. Exception: AddonSignals call timed out" When attempting to play a video, I receive the following. "The addon encountered the following error:argument "cypherkeyID" for "Encrypt" must be a string or a bytearray" On Thu, 2019-02-28 at 13:59 -0800, wintuxx wrote:

https://github.com/CastagnaIT/plugin.video.netflix/archive/master.zip

This is the 0.14.0-beta21

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c5 5493e4bb","name":"GitHub"},"entity":{"external_key":"github/asciidisc o/plugin.video.netflix","title":"asciidisco/plugin.video.netflix","su btitle":"GitHub repository","main_image_url":" https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":" https://github.com/asciidisco/plugin.video.netflix"}},"updates":{"snippets":[{"icon":"PERSON","message":"@wintuxx in #628: https://github.com/CastagnaIT/plugin.video.netflix/archive/master.zip\r\n\r\nThis is the 0.14.0-beta21"}],"action":{"name":"View Issue","url":" https://github.com/asciidisco/plugin.video.netflix/issues/628#issuecomment-468455346 "}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": " https://github.com/asciidisco/plugin.video.netflix/issues/628#issuecomment-468455346 ", "url": " https://github.com/asciidisco/plugin.video.netflix/issues/628#issuecomment-468455346 ", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

FolkSong commented 5 years ago

Same problem with Kodi 18.1, Netflix 0.13.22 on Windows.

https://gist.githubusercontent.com/FolkSong/74fd3bc358d074b24d3f83fad0211882/raw/0b5e19939da3b7efd833d5de344946c65c204dbd/kodi.log

I will try the CastagnaIT version.

Edit: I confirm that CastagnaIT v0.14 doesn't have this problem, although it has some other related problems. It seems to get overwhelmed and pop up an error message if more than two widgets are loaded at startup, and it often loads the wrong/duplicate content in the widgets (eg. I have "continue watching" and "trending now" but it loads the "trending now" content for both).

sammyke007 commented 5 years ago

Same error after adding widgets in the KODI Netflix menu. Playback works fine however...

jakermx commented 5 years ago

The problem is when using widgets, make sure you delay the skin after services boot completely....there is a skin helper on marcelv repository....

jakermx commented 5 years ago

After installing 0.14.0-beta21, I receive the following error. "The addon encountered the following error. Exception: AddonSignals call timed out" When attempting to play a video, I receive the following. "The addon encountered the following error:argument "cypherkeyID" for "Encrypt" must be a string or a bytearray" On Thu, 2019-02-28 at 13:59 -0800, wintuxx wrote: https://github.com/CastagnaIT/plugin.video.netflix/archive/master.zip This is the 0.14.0-beta21 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread. {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c5 5493e4bb","name":"GitHub"},"entity":{"external_key":"github/asciidisc o/plugin.video.netflix","title":"asciidisco/plugin.video.netflix","su btitle":"GitHub repository","main_image_url":" https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":" @. in #628: https://github.com/CastagnaIT/plugin.video.netflix/archive/master.zip\r\n\r\nThis is the 0.14.0-beta21"}],"action":{"name":"View Issue","url":" #628 (comment) "}}} [ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": " #628 (comment) ", "url": " #628 (comment) ", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.***": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

Enable IPC over HTTP to solvce this issue.

Kinc4id commented 5 years ago

Enable IPC over HTTP to solvce this issue.

I tried this. After that I got an error that the service might not be running. So I restarted the Pi and tried again. Now I got an error parsing msl encodable. The solution I found was deleting $HOME/.kodi/userdata/addon_data/plugin.video.netflix, so I did. I started again and had to put in my email and password again, which I did. I started it again and again I got the error about AddonSignals call timed out. I had to enable IPC over HTTP again. I tried to start again and again I got the error that the service may not be running. Again I restarted the Pi and again I had to enter my password. This time I always get the error that the password is incorrect. It isn't. This is the point where I gave up.

ghost commented 4 years ago

Same problem here on a Pi running LibreElec 9.2, Pellucid skin. Interestingly, it doesn't happen on default Estuary skin.

I got around it by configuring a menu item (on Pellucid) to open Netflix from at my (only) profile menu, and avoiding Netflix's main menu. Maybe that's a clue to the problem??