I’m getting these errors constantly after the upgrade to 0.83 - to the tune of multiple per second and ~1MB of log file per minute. Any idea what’s causing it and how I can resolve it?
2018-11-29 11:52:26 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/aiohttp/web_protocol.py", line 390, in start
resp = await self._request_handler(request)
File "/usr/local/lib/python3.5/dist-packages/aiohttp/web_app.py", line 366, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.5/dist-packages/aiohttp/web_middlewares.py", line 106, in impl
return await handler(request)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/static.py", line 66, in staticresource_middleware
return await handler(request)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
return await handler(request)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/ban.py", line 66, in ban_middleware
return await handler(request)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/auth.py", line 97, in auth_middleware
return await handler(request)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
return await handler(request)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/ban.py", line 66, in ban_middleware
return await handler(request)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/auth.py", line 97, in auth_middleware
return await handler(request)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/http/view.py", line 112, in handle
result = handler(request, **request.match_info)
File "/usr/local/lib/python3.5/dist-packages/homeassistant/components/api.py", line 191, in get
user = request['hass_user']
File "/usr/local/lib/python3.5/dist-packages/aiohttp/web_request.py", line 201, in __getitem__
return self._state[key]
KeyError: 'hass_user'
This appears related to the HTTP sensor as all mine are throwing 500 errors.
This will be fixed in 0.83.1 via this PR: https://github.com/home-assistant/home-assistant/pull/18733