I am unable to load the front end since updating to 0.61. I’m running Home Assistant on a Raspberry Pi (Raspbian) using the pip installer.
This is the error I am getting:
2018-01-16 19:52:04 ERROR (MainThread) [aiohttp.access] Error in logging
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/helpers.py", line 554, in __get__
return inst._cache[self.name]
KeyError: 'remote'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/helpers.py", line 521, in log
for key, value in fmt_info:
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/helpers.py", line 513, in <genexpr>
for key, method in self._methods)
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/helpers.py", line 473, in _format_a
ip = request.remote
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/helpers.py", line 556, in __get__
val = self.wrapped(inst)
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_request.py", line 321, in remote
peername = transport.get_extra_info('peername')
File "/usr/lib/python3.5/asyncio/sslproto.py", line 306, in get_extra_info
return self._ssl_protocol._get_extra_info(name, default)
File "/usr/lib/python3.5/asyncio/sslproto.py", line 546, in _get_extra_info
return self._transport.get_extra_info(name, default)
AttributeError: 'NoneType' object has no attribute 'get_extra_info'
Other threads like this one and this one suggest removing any mention of Broadlink Switches. I do use these so took them out my config but alas I still have the issue.
I get exactly that error in the log now, but I am able to load the front end.
It looks like I mainly get that error when closing the browser.
I have no idea what the issue could be, all appears to be working ok in my case, just that the log gets bigger unless I clear it out manually regularly
ok, so the good news is, my installation still works, the bad news is that it did not stop the errors
basically I had in my configuration.yaml for base_urldomain.com:8123, but in reality I use domain.com:1234 (a different port).
I updated the port in the base_url to match what I actually browse to, but it did not stop the errors
I am not sure I fully understand that, but if the updated .py files were the only platforms / components with the issue with the Domain, I don’t use any of those, so at least my issue is probably not that