Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems with connection #116

Open
rusak-zip opened this issue Aug 1, 2018 · 0 comments
Open

problems with connection #116

rusak-zip opened this issue Aug 1, 2018 · 0 comments

Comments

@rusak-zip
Copy link

Hi, I have connection problem with the script. Initial setup works fine, after restart the addon fails:

20:27:55.871 T:140219030415104 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'requests.exceptions.ConnectionError'> Error Contents: HTTPConnectionPool(host='192.168.1.99', port=80): Max retries exceeded with url: /api/2baKgtJzkUT9kywrLTFCSctxRwkuTSdjuqSlfwUM/config (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86f177d6d0>: Failed to establish a new connection: [Errno 101] Network is unreachable',)) Traceback (most recent call last): File "/home/kodi/.kodi/addons/script.kodi.hue.ambilight/default.py", line 313, in <module> hue = Hue(settings, args) File "/home/kodi/.kodi/addons/script.kodi.hue.ambilight/default.py", line 165, in __init__ self.settings.bridge_user File "/home/kodi/.kodi/addons/script.kodi.hue.ambilight/resources/lib/bridge.py", line 15, in user_exists bridge_ip, bridge_user)) File "/home/kodi/.kodi/addons/script.module.requests/lib/requests/api.py", line 72, in get return request('get', url, params=params, **kwargs) File "/home/kodi/.kodi/addons/script.module.requests/lib/requests/api.py", line 58, in request return session.request(method=method, url=url, **kwargs) File "/home/kodi/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 508, in request resp = self.send(prep, **send_kwargs) File "/home/kodi/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 618, in send r = adapter.send(request, **kwargs) File "/home/kodi/.kodi/addons/script.module.requests/lib/requests/adapters.py", line 508, in send raise ConnectionError(e, request=request) ConnectionError: HTTPConnectionPool(host='192.168.1.99', port=80): Max retries exceeded with url: /api/2baKgtJzkUT9kywrLTFCSctxRwkuTSdjuqSlfwUM/config (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f86f177d6d0>: Failed to establish a new connection: [Errno 101] Network is unreachable',))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant