question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Service] Always get a socket.timeout when trying to browse netflix

See original GitHub issue

I’m submitting a …

  • bug report
  • feature request
  • support request

General information

Prerequisites

  • [YES] Are you running the latest version?

Description

Cannot browser or view.

Steps to Reproduce

  1. Select „My list“
  2. Error

Expected behavior: [What you expected to happen] No error

Actual behavior: [What actually happened]

23:03:52.595 T:139786641052608   ERROR: Control 55 in window 10025 has been asked to focus, but it can't
23:03:55.201 T:139785708480256 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
23:04:12.079 T:139784034596608   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'socket.timeout'>
                                            Error Contents: timed out
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.netflix/addon.py", line 42, in <module>
                                                NAVIGATION.router(paramstring=REQUEST_PARAMS)
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/utils.py", line 45, in wrapped
                                                result = func(*args, **kwargs)
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 128, in router
                                                start=start)
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 425, in show_video_list
                                                'cache': True}))
                                              File "/storage/.kodi/addons/plugin.video.netflix/resources/lib/Navigation.py", line 883, in call_netflix_service
                                                data = urllib2.urlopen(full_url).read(opener)
                                              File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
                                              File "/usr/lib/python2.7/urllib2.py", line 429, in open
                                              File "/usr/lib/python2.7/urllib2.py", line 447, in _open
                                              File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
                                              File "/usr/lib/python2.7/urllib2.py", line 1228, in http_open
                                              File "/usr/lib/python2.7/urllib2.py", line 1201, in do_open
                                              File "/usr/lib/python2.7/httplib.py", line 1121, in getresponse
                                              File "/usr/lib/python2.7/httplib.py", line 438, in begin
                                              File "/usr/lib/python2.7/httplib.py", line 394, in _read_status
                                              File "/usr/lib/python2.7/socket.py", line 480, in readline
                                            timeout: timed out
                                            -->End of Python script error report<--
23:04:12.143 T:139786641052608   ERROR: GetDirectory - Error getting plugin://plugin.video.netflix/?action=video_list&type=netflixOriginals&video_list_id=34dfe14f-e42b-45b4-aaec-7515d664ab00_32271756X55XX1512931052340
23:04:12.144 T:139786641052608   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.netflix/?action=video_list&type=netflixOriginals&video_list_id=34dfe14f-e42b-45b4-aaec-7515d664ab00_32271756X55XX1512931052340) failed
23:04:16.583 T:139784179115776   ERROR: Traceback (most recent call last):
23:04:16.583 T:139784179115776   ERROR:   File "/usr/lib/python2.7/SocketServer.py", line 290, in _handle_request_noblock
23:04:16.584 T:139784179115776   ERROR:   File "/usr/lib/python2.7/SocketServer.py", line 318, in process_request
23:04:16.584 T:139784179115776   ERROR:   File "/usr/lib/python2.7/SocketServer.py", line 331, in finish_request
23:04:16.584 T:139784179115776   ERROR:   File "/usr/lib/python2.7/SocketServer.py", line 654, in __init__
23:04:16.584 T:139784179115776   ERROR:   File "/usr/lib/python2.7/SocketServer.py", line 713, in finish
23:04:16.584 T:139784179115776   ERROR:   File "/usr/lib/python2.7/socket.py", line 283, in close
23:04:16.584 T:139784179115776   ERROR:   File "/usr/lib/python2.7/socket.py", line 307, in flush
23:04:16.585 T:139784179115776   ERROR: error: [Errno 32] Broken pipe

Context (Environment)

Installation

  • I installed the plugin via zip from the Releases page
  • I´m using the Netflix Repo
  • I´m using a different source (Please tell which)

Operating System

  • Linux (x86/x64)
  • OSX (x86/x64)
  • Windows (x86/x64)
  • Linux (ARM)
  • Android

Additional informatin on the environment

LibreELEC 9.0 Build 1208

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
enen92commented, Jan 1, 2018

Same issue here. I was able to “solve it” by adding a large timeout in urllib2.urlopener method in navigation.py:

data = urllib2.urlopen(full_url, timeout=30).read(opener)

0reactions
chaoscommandercommented, Nov 25, 2018

Still relevant in recent version 0.13.19! This workaround helped.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Netflix says 'Timed out while contacting the target device ...
Turn it back on. Try Netflix again. Restart your home network. Turn off your device, then unplug your modem and router from power....
Read more >
[SOLVED] How to Fix the ERR_CONNECTION_TIMED_OUT ...
An 'err connection timed out' error is something that can be easily fixed by updating your system's network adapter driver. We recommend using ......
Read more >
Spring Boot: Connection timed out when trying to call a ...
I made really everything I could think of, yet when I try to call the login service from the manager service, I always...
Read more >
How to Fix the ERR_CONNECTION_TIMED_OUT Error - Kinsta
According to the WordPress support documentation, a connection timed out error appears when your website is trying to do more than your server ......
Read more >
Enable streaming search to prevent socket timeout failures ...
Complex Content Based Retrieval (CBR) queries can take over an hour to complete when querying large Content Search Services (CSS) collections. In such...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found