2016for

LG Smartthinq component

Dec 24th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 4.45 KB | None | 0 0
  1. 018-12-24 13:06:34 ERROR (MainThread) [homeassistant.setup] Error during setup of component smartthinq
  2. Traceback (most recent call last):
  3.   File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 159, in _new_conn
  4.     (self._dns_host, self.port), self.timeout, **extra_kw)
  5.   File "/usr/local/lib/python3.6/site-packages/urllib3/util/connection.py", line 57, in create_connection
  6.     for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
  7.   File "/usr/local/lib/python3.6/socket.py", line 745, in getaddrinfo
  8.     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
  9. socket.gaierror: [Errno -3] Try again
  10.  
  11. During handling of the above exception, another exception occurred:
  12.  
  13. Traceback (most recent call last):
  14.   File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
  15.     chunked=chunked)
  16.   File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 343, in _make_request
  17.     self._validate_conn(conn)
  18.   File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 839, in _validate_conn
  19.     conn.connect()
  20.   File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 301, in connect
  21.     conn = self._new_conn()
  22.   File "/usr/local/lib/python3.6/site-packages/urllib3/connection.py", line 168, in _new_conn
  23.     self, "Failed to establish a new connection: %s" % e)
  24. urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x72d6f050>: Failed to establish a new connection: [Errno -3] Try again
  25.  
  26. During handling of the above exception, another exception occurred:
  27.  
  28. Traceback (most recent call last):
  29.   File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
  30.     timeout=timeout
  31.   File "/usr/local/lib/python3.6/site-packages/urllib3/connectionpool.py", line 638, in urlopen
  32.     _stacktrace=sys.exc_info()[2])
  33.   File "/usr/local/lib/python3.6/site-packages/urllib3/util/retry.py", line 398, in increment
  34.     raise MaxRetryError(_pool, url, error or ResponseError(cause))
  35. urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='kic.lgthinq.com', port=46030): Max retries exceeded with url: /api/common/gatewayUriList (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x72d6f050>: Failed to establish a new connection: [Errno -3] Try again',))
  36.  
  37. During handling of the above exception, another exception occurred:
  38.  
  39. Traceback (most recent call last):
  40.   File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 148, in _async_setup_component
  41.     component.setup, hass, processed_config)  # type: ignore
  42.   File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
  43.     result = self.fn(*self.args, **self.kwargs)
  44.   File "/config/custom_components/smartthinq/__init__.py", line 39, in setup
  45.     client = wideq.Client.from_token(refresh_token)
  46.   File "/config/deps/lib/python3.6/site-packages/wideq.py", line 652, in from_token
  47.     client._auth = Auth(client.gateway, None, refresh_token)
  48.   File "/config/deps/lib/python3.6/site-packages/wideq.py", line 551, in gateway
  49.     self._gateway = Gateway.discover()
  50.   File "/config/deps/lib/python3.6/site-packages/wideq.py", line 322, in discover
  51.     gw = gateway_info()
  52.   File "/config/deps/lib/python3.6/site-packages/wideq.py", line 226, in gateway_info
  53.     {'countryCode': COUNTRY, 'langCode': LANGUAGE},
  54.   File "/config/deps/lib/python3.6/site-packages/wideq.py", line 201, in lgedm_post
  55.     res = requests.post(url, json={DATA_ROOT: data}, headers=headers)
  56.   File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 116, in post
  57.     return request('post', url, data=data, json=json, **kwargs)
  58.   File "/usr/local/lib/python3.6/site-packages/requests/api.py", line 60, in request
  59.     return session.request(method=method, url=url, **kwargs)
  60.   File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 533, in request
  61.     resp = self.send(prep, **send_kwargs)
  62.   File "/usr/local/lib/python3.6/site-packages/requests/sessions.py", line 646, in send
  63.     r = adapter.send(request, **kwargs)
  64.   File "/usr/local/lib/python3.6/site-packages/requests/adapters.py", line 516, in send
  65.     raise ConnectionError(e, request=request)
  66. requests.exceptions.ConnectionError: HTTPSConnectionPool(host='kic.lgthinq.com', port=46030): Max retries exceeded with url: /api/common/gatewayUriList (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection
Add Comment
Please, Sign In to add comment