asciidisco / plugin.video.netflix

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

urlopen error [Errno 111] Connection refused #667

Open ano302 opened 5 years ago

ano302 commented 5 years ago

I'm submitting a ...

General infomration

Prerequisites

*[ ] Are you running the latest version? 13.22

Description

[Description of the bug or feature]

Steps to Reproduce

  1. [First Step] Open kodi
  2. [Second Step] Start Netflix Addon
  3. [and so on...]

Expected behavior: [What you expected to happen] Shows my list of films to watch Actual behavior: [What actually happened] "Netflix Error, Check the log for more information"

Context (Environment)

Netflix addon on a RPi 3B+

Installation

Operating System

Additional informatin on the environment

Debian Stretch

Debug log

Log

Other information

Worked in the past.

$ pip install pycryptodomex Successfully installed pycryptodomex-3.8.1

jakermx commented 5 years ago

I think you have an issue with Kodi or some AddOn, because of this

2019-04-24 20:48:47.640 T:1899408656 NOTICE: VideoPlayer::OpenFile: /var/run/lirc/lircd

It is trying to start lircd using VideoPlayer, same thing on Netflix, it is trying to run Netflix very fast on the natural startup order... so I think you have something wrong besides Netflix AddOn config...

jakermx commented 5 years ago

Connection refused, meas that the netflix addon proxy service is not started, or it is being bloeck by a Firewall, so, try this...

Disabled the AddOn Restart your RPI wait until it starts al 100% Enable your AddOn and test... if your are gettting the same results, then delete your settings file on user_addon directory ,because your are getting a padding issue. so it could be a incorrect char on creds...

keep is posted

ano302 commented 5 years ago

, then delete your settings file on user_addon directory ,because your are getting a padding issue. so it could be a incorrect char on creds...

$ cd ~/.kodi $ find . -iname user_addon Nothing found.

$ cd ~/.kodi/addons/plugin.video.netflix/resources $ mv settings.xml settings.bkup Restart kodi, disable addons, restart kodi, enable addons, start Netflix, same error as before

jawn commented 5 years ago

Same issue here

Update: gone with a reboot

ano302 commented 5 years ago

Enable your AddOn and test... if your are gettting the same results, then delete your settings file on user_addon directory ,because your are getting a padding issue. so it could be a incorrect char on creds...

Which settings file is the correct one to delete? I only deleted ~/.kodi/addons/plugin.video.netflix/resources/settings.xml

Galatean commented 5 years ago

Something to try, which worked for me: Enable all the debug logging settings in kodi. They can be found under Event Log->Settings Just enable all the toggle switches, then go to the Netflix configuration screen and try to use the Logout and Switch Accounts (a.k.a. 30059c) commands. It should drop you out of the config screen. Then, disable all the debug logging settings. Then, try to use the Netflix plugin. If it works the way it did for me, you should now get prompts asking for your email and password.

jakermx commented 5 years ago

Connection Refused Error, usually refers to background services has been not started at the time a movie, shortcut or playlist was invoked, so I would suggest to delay skin widgets or use skins that uses AddOnSignals calls.

If not your case, check your firewall settings...

Connection Refused means that the plugin is trying to reach the local proxy server, in order to query Netflix, but the service is blocked or failed to started, but it usually means that your device is calling a unreachable Proxy Server( Hardcoded links or Library Calls before Service Startup) or non started serviuce,