Advertisement
rodolfovieira

Untitled

Nov 3rd, 2018
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. 2018-11-04 00:58:42 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall rest_command.octopi_connect (c:ea294f2a7b8f44039a7172fcbbb5d12d)>
  2. Traceback (most recent call last):
  3. File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 822, in _wrap_create_connection
  4. return await self._loop.create_connection(*args, **kwargs)
  5. File "uvloop/loop.pyx", line 1881, in create_connection
  6. File "uvloop/loop.pyx", line 1860, in uvloop.loop.Loop.create_connection
  7. ConnectionRefusedError: [Errno 111] Connection refused
  8.  
  9. The above exception was the direct cause of the following exception:
  10.  
  11. Traceback (most recent call last):
  12. File "/usr/local/lib/python3.6/site-packages/homeassistant/components/rest_command.py", line 103, in async_service_handler
  13. headers=headers
  14. File "/usr/local/lib/python3.6/site-packages/aiohttp/client.py", line 370, in _request
  15. timeout=timeout
  16. File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 445, in connect
  17. proto = await self._create_connection(req, traces, timeout)
  18. File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 757, in _create_connection
  19. req, traces, timeout)
  20. File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 879, in _create_direct_connection
  21. raise last_exc
  22. File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 862, in _create_direct_connection
  23. req=req, client_error=client_error)
  24. File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 829, in _wrap_create_connection
  25. raise client_error(req.connection_key, exc) from exc
  26. aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 192.168.1.85:8123 ssl:None [Connection refused]
  27.  
  28. During handling of the above exception, another exception occurred:
  29.  
  30. Traceback (most recent call last):
  31. File "/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 1177, in _event_to_service_call
  32. await service_handler.func(service_call)
  33. File "/usr/local/lib/python3.6/site-packages/homeassistant/components/rest_command.py", line 116, in async_service_handler
  34. _LOGGER.error("Client error %s.", request.url)
  35. UnboundLocalError: local variable 'request' referenced before assignment
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement