"unable to connect" remotely 2 days after installing Let's Encrypt - don't understand log file!

Hi All,

I installed Let’s Encrypt and had full access remotely (phone, work laptop) for 2 days but today it’s not working. I get the HA login page and after a while it says “unable to connect”. It’s obviously getting through to somewhere to know that it’s HA but it won’t fully connect/log in.

I can access ok internally / on the same network. I haven’t made any major changes in that period.

The log shows:

2018-01-16 19:28:17 ERROR (MainThread) [aiohttp.access] Error in logging
Traceback (most recent call last):
  File "/home/ha/.local/lib/python3.5/site-packages/homeassistant/components/camera/__init__.py", line 407, in handle
    image = yield from camera.async_camera_image()
  File "/home/ha/.local/lib/python3.5/site-packages/homeassistant/components/camera/ffmpeg.py", line 60, in async_camera_image
    extra_cmd=self._extra_arguments), loop=self.hass.loop)
  File "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
    future.result()
  File "/usr/lib/python3.5/asyncio/futures.py", line 266, in result
    raise CancelledError
concurrent.futures._base.CancelledError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ha/.homeassistant/deps/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 "/home/ha/.homeassistant/deps/lib/python3.5/site-packages/aiohttp/helpers.py", line 521, in log
    for key, value in fmt_info:
  File "/home/ha/.homeassistant/deps/lib/python3.5/site-packages/aiohttp/helpers.py", line 513, in <genexpr>
    for key, method in self._methods)
  File "/home/ha/.homeassistant/deps/lib/python3.5/site-packages/aiohttp/helpers.py", line 473, in _format_a
    ip = request.remote
  File "/home/ha/.homeassistant/deps/lib/python3.5/site-packages/aiohttp/helpers.py", line 556, in __get__
    val = self.wrapped(inst)
  File "/home/ha/.homeassistant/deps/lib/python3.5/site-packages/aiohttp/web_request.py", line 319, 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 537, in _get_extra_info
    return self._transport.get_extra_info(name, default)
AttributeError: 'NoneType' object has no attribute 'get_extra_info'

I don’t understand it but there are words such as ‘remote’ and ‘ssl’ in there so I’m wondering if that shows the issue? Can anyone hazard a guess at what the issue might be at all please?

Many thanks,

Ico

Well this is embarrassing. I’ve got to the bottom of it…my ISP did some routine maintenance last night and when the internet was reinstated I had a new public IP address :blush:

I knew I should have completed the duckdns crontab install…I’ll get on to that now!