Closed prilly-dev closed 3 years ago
I am still seeing issues related to aiohttp i think, gui stops responding, seems like webserver stops working.
`2021-04-16 19:07:41 ERROR (MainThread) [aiohttp.server] Unhandled exception Traceback (most recent call last): File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1152, in _sendfile_fallback read = await self.run_in_executor(None, file.readinto, view) asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 485, in start resp, reset = await task File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 440, in _handle_request reset = await self.finish_response(request, resp, start_time) File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 591, in finish_response await prepare_meth(request) File "/usr/local/lib/python3.8/site-packages/aiohttp/web_fileresponse.py", line 241, in prepare return await self._sendfile(request, fobj, offset, count) File "/usr/local/lib/python3.8/site-packages/aiohttp/web_fileresponse.py", line 96, in _sendfile await loop.sendfile(transport, fobj, offset, count) File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1131, in sendfile return await self._sendfile_fallback(transport, file, File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1161, in _sendfile_fallback await proto.restore() File "/usr/local/lib/python3.8/asyncio/base_events.py", line 263, in restore self._transport.resume_reading() File "/usr/local/lib/python3.8/asyncio/sslproto.py", line 344, in resume_reading self._ssl_protocol._transport.resume_reading() AttributeError: 'NoneType' object has no attribute 'resume_reading' `
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
I have some weird behavior after upgrading to 2021.04.x version of HA, i am running docker.
webserver of ha stops working after random time, its slow and fails alot.
see log of aiohttp.server failing
What is version of Home Assistant Core has the issue?
2021.4.x
What was the last working version of Home Assistant Core?
2021.3.x
What type of installation are you running?
Home Assistant Container
Integration causing the issue
No response
Link to integration documentation on our website
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?