I am getting these over and over and over – I have a brand new HASS.io install -
Logger: aiohttp.server
Source: /usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py:405
First occurred: 23:49:35 (1 occurrences)
Last logged: 23:49:35
Unhandled exception
Traceback (most recent call last):
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1192, 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.9/site-packages/aiohttp/web_protocol.py", line 514, in start
resp, reset = await task
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 460, in _handle_request
reset = await self.finish_response(request, resp, start_time)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 613, in finish_response
await prepare_meth(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_fileresponse.py", line 286, in prepare
return await self._sendfile(request, fobj, offset, count)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_fileresponse.py", line 99, in _sendfile
await loop.sendfile(transport, fobj, offset, count)
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1171, in sendfile
return await self._sendfile_fallback(transport, file,
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 1201, in _sendfile_fallback
await proto.restore()
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 268, in restore
self._transport.resume_reading()
File "/usr/local/lib/python3.9/asyncio/sslproto.py", line 343, in resume_reading
self._ssl_protocol._transport.resume_reading()
AttributeError: 'NoneType' object has no attribute 'resume_reading'
To do the install at 11AM yesterday morning. YES…I have not performed all updates yet, as I have been seeing that ever since the FIRST of about 30 reboots after the install - but YES is is a brand new install.
I cannot attest to that. From that I can tell, yes…but, not sure I would know if something is broken. I just am a fanatic when I see ‘errors’ - as today I am seeing something new - and raised a “problem” ticket. I am in support as well, and I realize that not every inquiry is going to be answered - just my way of trying to hopefully point out a problem - and ‘learn something too’.
These are the new errors I am seeing:
**2022-07-21 13:21:48 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved**
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/bluetooth_tracker/device_tracker.py", line 197, in update_bluetooth
await perform_bluetooth_update()
File "/usr/src/homeassistant/homeassistant/components/bluetooth_tracker/device_tracker.py", line 175, in perform_bluetooth_update
rssi = await hass.async_add_executor_job(client.request_rssi)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.10/site-packages/bt_proximity/bt_rssi.py", line 55, in request_rssi
self.prep_cmd_pkt()
File "/usr/local/lib/python3.10/site-packages/bt_proximity/bt_rssi.py", line 24, in prep_cmd_pkt
b'6sB17s', bt.str2ba(self.addr), bt.ACL_LINK, b'\0' * 17)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats
I did not see these errors until I upgraded from 2022.6.7 to 2022.7.5 (just today, I see that 2022.7.6 is out there).
This past weekend, I made a FULL BACKUP of my HA (which was running 2022.7.6 on a Debian Install - using the instructions from HA)…and installed the Generic x86-64 to a new m.2 SSD using LIVE Ubuntu and Etcher and the URL ( https://github.com/home-assistant/operating-system/releases/download/8.2/haos_generic-x86-64-8.2.img.xz ) - Still not sure what version was installed, as when it booted I connected to the Web page and chose option to RESTORE my backup) - It was at 2022.6.7 (again)
I upgraded last night to the 2022.7.6 - and immediately on any ‘restart’ or ‘reboot of host’ – I am getting the following error/warning. Again, I am using the Generic x86-64 HASS OS installation.
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aiohttp/web_protocol.py", line 334, in data_received
messages, upgraded, tail = self._request_parser.feed_data(data)
File "aiohttp/_http_parser.pyx", line 551, in aiohttp._http_parser.HttpParser.feed_data
aiohttp.http_exceptions.BadHttpMessage: 400, message='Pause on PRI/Upgrade'
If I got into SETTINGS >> SYSTEM >> LOGS I see it as such: