Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2018-11-04 00:58:42 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall rest_command.octopi_connect (c:ea294f2a7b8f44039a7172fcbbb5d12d)>
- Traceback (most recent call last):
- File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 822, in _wrap_create_connection
- return await self._loop.create_connection(*args, **kwargs)
- File "uvloop/loop.pyx", line 1881, in create_connection
- File "uvloop/loop.pyx", line 1860, in uvloop.loop.Loop.create_connection
- ConnectionRefusedError: [Errno 111] Connection refused
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.6/site-packages/homeassistant/components/rest_command.py", line 103, in async_service_handler
- headers=headers
- File "/usr/local/lib/python3.6/site-packages/aiohttp/client.py", line 370, in _request
- timeout=timeout
- File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 445, in connect
- proto = await self._create_connection(req, traces, timeout)
- File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 757, in _create_connection
- req, traces, timeout)
- File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 879, in _create_direct_connection
- raise last_exc
- File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 862, in _create_direct_connection
- req=req, client_error=client_error)
- File "/usr/local/lib/python3.6/site-packages/aiohttp/connector.py", line 829, in _wrap_create_connection
- raise client_error(req.connection_key, exc) from exc
- aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 192.168.1.85:8123 ssl:None [Connection refused]
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 1177, in _event_to_service_call
- await service_handler.func(service_call)
- File "/usr/local/lib/python3.6/site-packages/homeassistant/components/rest_command.py", line 116, in async_service_handler
- _LOGGER.error("Client error %s.", request.url)
- UnboundLocalError: local variable 'request' referenced before assignment
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement