I setup SSL using DuckDNS and Certbot. Everthing seems to be working fine so far but now whenever I refresh the browser I’m getting the following error:
Fri Jun 15 2018 14:45:46 GMT-0400 (Eastern Daylight Time)
Error in logging
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/helpers.py", line 502, 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 466, in log
for key, value in fmt_info:
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/helpers.py", line 458, in <genexpr>
for key, method in self._methods)
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/helpers.py", line 416, in _format_a
ip = request.remote
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/helpers.py", line 504, in __get__
val = self.wrapped(inst)
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_request.py", line 332, in remote
peername = self.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'
I can’t quite figure out what SSL related is causing this. Has anyone else had this issue recently? I’m using 0.71 of Hassbian. It did it with 0.70 as well.