Hello, I’m new to HA and am running the manual Pi config on a PI3. I just updated to v0.36.0 and received these errors? While I was having issues with certain components and SSL before, I was not having issues with what appear to be core components. Any advice? Do I need to update some dependencies?
17-01-16 09:49:20 aiohttp.server: Error handling request
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/deps/aiohttp/web_server.py", line 61, in handle_request
resp = yield from self._handler(request)
File "/home/homeassistant/.homeassistant/deps/aiohttp/web.py", line 249, in _handle
resp = yield from handler(request)
File "/usr/lib/python3.4/asyncio/coroutines.py", line 143, in coro
res = yield from res
File "/usr/lib/python3.4/asyncio/coroutines.py", line 143, in coro
res = yield from res
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/http/__init__.py", line 427, in handle
result = yield from result
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/camera/__init__.py", line 186, in get
def state(self):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/camera/__init__.py", line 221, in handle
def get(self, request, entity_id):
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/camera/__init__.py", line 135, in handle_async_mjpeg_stream
File "/home/homeassistant/.homeassistant/deps/aiohttp/web_reqrep.py", line 897, in write_eof
yield from self._resp_impl.write_eof()
File "/usr/lib/python3.4/asyncio/streams.py", line 299, in drain
yield from self._protocol._drain_helper()
File "/usr/lib/python3.4/asyncio/streams.py", line 190, in _drain_helper
raise ConnectionResetError('Connection lost')
ConnectionResetError: Connection lost
17-01-16 09:49:43 homeassistant.components.conversation: Unable to process:
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/deps/aiohttp/web_server.py", line 61, in handle_request
resp = yield from self._handler(request)
File "/home/homeassistant/.homeassistant/deps/aiohttp/web.py", line 249, in _handle
resp = yield from handler(request)
File "/usr/lib/python3.4/asyncio/coroutines.py", line 143, in coro
res = yield from res
File "/usr/lib/python3.4/asyncio/coroutines.py", line 143, in coro
res = yield from res
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/http/static.py", line 62, in static_middleware_handler
resp = yield from handler(request)
File "/home/homeassistant/.homeassistant/deps/aiohttp/web_urldispatcher.py", line 486, in _handle
ret = yield from self._file_sender.send(request, filepath)
File "/home/homeassistant/.homeassistant/deps/aiohttp/file_sender.py", line 201, in send
yield from self._sendfile(request, resp, f, count)
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/http/static.py", line 30, in sendfile
yield from orig_sendfile(request, resp, fobj, count)
File "/home/homeassistant/.homeassistant/deps/aiohttp/file_sender.py", line 60, in _sendfile_system
yield from self._sendfile_fallback(request, resp, fobj, count)
File "/home/homeassistant/.homeassistant/deps/aiohttp/file_sender.py", line 137, in _sendfile_fallback
resp.set_tcp_nodelay(True)
File "/home/homeassistant/.homeassistant/deps/aiohttp/web_reqrep.py", line 737, in set_tcp_nodelay
resp_impl.transport.set_tcp_nodelay(value)
File "/home/homeassistant/.homeassistant/deps/aiohttp/parsers.py", line 253, in set_tcp_nodelay
self._socket.setsockopt(socket.IPPROTO_TCP, CORK, False)
OSError: [Errno 9] Bad file descriptor
I don’t have a clue how to implement it though, I can’t navigate to the /home/homeassistant/components folder (doesn’t exist). It also doesn’t exist in the .homeassistant folder
Disabling conversation didn’t seem to work. And I agree with Bob_NL…I don’t have the same paths below that line up with the fix he posted from a few months ago. I’ll keep searching!
17-04-12 18:19:56 ERROR (MainThread) [aiohttp.server] Unhandled exception
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/deps/aiohttp/web_protocol.py", line 429, in start
yield from resp.prepare(request)
File "/home/homeassistant/.homeassistant/deps/aiohttp/web_fileresponse.py", line 232, in prepare
return (yield from self._sendfile(request, fobj, count))
File "/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/http/static.py", line 61, in sendfile
yield from orig_sendfile(request, fobj, count)
File "/home/homeassistant/.homeassistant/deps/aiohttp/web_fileresponse.py", line 114, in _sendfile_system
writer = yield from self._sendfile_fallback(request, fobj, count)
File "/home/homeassistant/.homeassistant/deps/aiohttp/web_fileresponse.py", line 142, in _sendfile_fallback
yield from writer.write(chunk)
File "/home/homeassistant/.homeassistant/deps/aiohttp/http_writer.py", line 294, in drain
yield from self._stream.drain()
File "/home/homeassistant/.homeassistant/deps/aiohttp/http_writer.py", line 127, in drain
yield from self._protocol._drain_helper()
File "/usr/lib/python3.4/asyncio/streams.py", line 197, in _drain_helper
yield from waiter
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
concurrent.futures._base.CancelledError
I’m getting a similar error, fresh AIO install, Errors seem to appear after setting up HTTPS (lets encrypt and duckdns)
17-05-02 07:10:33 ERROR (MainThread) [aiohttp.server] Unhandled exception
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/deps/aiohttp/web_protocol.py", line 430, in start
yield from resp.write_eof()
File "/home/homeassistant/.homeassistant/deps/aiohttp/web_response.py", line 574, in write_eof
yield from super().write_eof(body)
File "/home/homeassistant/.homeassistant/deps/aiohttp/web_response.py", line 413, in write_eof
yield from self._payload_writer.write_eof(data)
File "/home/homeassistant/.homeassistant/deps/aiohttp/http_writer.py", line 281, in write_eof
yield from self.drain(True)
File "/home/homeassistant/.homeassistant/deps/aiohttp/http_writer.py", line 294, in drain
yield from self._stream.drain()
File "/home/homeassistant/.homeassistant/deps/aiohttp/http_writer.py", line 127, in drain
yield from self._protocol._drain_helper()
File "/usr/lib/python3.4/asyncio/streams.py", line 197, in _drain_helper
yield from waiter
File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
yield self # This tells Task to wait for completion.
concurrent.futures._base.CancelledError