Suddenly getting BULK errors and unable to login 0.92.2

I have had 0.92.2 under HassIO running fine since that version was released, and in that time had many restarts and RPi reboots. Today it suddenly stopped letting me login properly and the log is getting spammed HARD. I’m not sure what to make of the errors so hopefully someone else can assist. (this is probably karma for not getting my migration to NUC done sooner)

I can get to the login screen but after entering my credentials it gets stuck on this:
image

…I can hit refresh and get the login screen again but can never get past this point. (tried Ctrl+ F5, I’m using Chrome)

log snippet (more entries are added every few seconds, making it thousands of lines long within minutes of a restart):

ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:1056)
2019-06-02 09:35:48 ERROR (MainThread) [homeassistant.core] Error doing job: SSL handshake failed
Traceback (most recent call last):
File “uvloop/sslproto.pyx”, line 500, in uvloop.loop.SSLProtocol._on_handshake_complete
File “uvloop/sslproto.pyx”, line 484, in uvloop.loop.SSLProtocol._do_handshake
File “/usr/local/lib/python3.7/ssl.py”, line 763, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: SSLV3_ALERT_CERTIFICATE_UNKNOWN] sslv3 alert certificate unknown (_ssl.c:1056)
2019-06-02 09:35:55 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/util/json.py”, line 30, in load_json
return json.loads(fdesc.read()) # type: ignore
File “/usr/local/lib/python3.7/json/init.py”, line 348, in loads
return _default_decoder.decode(s)
File “/usr/local/lib/python3.7/json/decoder.py”, line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File “/usr/local/lib/python3.7/json/decoder.py”, line 353, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 3384 column 5 (char 209408)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/view.py”, line 115, in handle
result = await result
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/data_validator.py”, line 46, in wrapper
result = await method(view, request, *args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 78, in handle_req
resp = await func(view, request, *args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/login_flow.py”, line 228, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File “/usr/local/lib/python3.7/site-packages/homeassistant/data_entry_flow.py”, line 80, in async_configure
flow, step_id, user_input)
File “/usr/local/lib/python3.7/site-packages/homeassistant/data_entry_flow.py”, line 110, in _async_handle_step
result = await self._async_finish_flow(flow, dict(result))
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/init.py”, line 437, in _async_finish_login_flow
result[‘data’])
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/providers/homeassistant.py”, line 248, in async_get_or_create_credentials
for credential in await self.async_credentials():
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/providers/init.py”, line 71, in async_credentials
users = await self.store.async_get_users()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 63, in async_get_users
await self._async_load()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 280, in _async_load
await self._async_load_task()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 287, in _async_load_task
self._store.async_load(),
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/storage.py”, line 81, in async_load
return await self._load_task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/view.py”, line 115, in handle
result = await result
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 78, in handle_req
resp = await func(view, request, *args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 261, in post
hass, data, str(request[KEY_REAL_IP]))
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 349, in _async_handle_refresh_token
refresh_token = await hass.auth.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/init.py”, line 359, in async_get_refresh_token_by_token
return await self._store.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 254, in async_get_refresh_token_by_token
await self._async_load()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 280, in _async_load
await self._async_load_task()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 287, in _async_load_task
self._store.async_load(),
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/storage.py”, line 81, in async_load
return await self._load_task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/view.py”, line 115, in handle
result = await result
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 78, in handle_req
resp = await func(view, request, *args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 261, in post
hass, data, str(request[KEY_REAL_IP]))
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 349, in _async_handle_refresh_token
refresh_token = await hass.auth.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/init.py”, line 359, in async_get_refresh_token_by_token
return await self._store.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 254, in async_get_refresh_token_by_token
await self._async_load()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 280, in _async_load
await self._async_load_task()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 287, in _async_load_task
self._store.async_load(),
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/storage.py”, line 81, in async_load
return await self._load_task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/view.py”, line 115, in handle
result = await result
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 78, in handle_req
resp = await func(view, request, *args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 261, in post
hass, data, str(request[KEY_REAL_IP]))
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 349, in _async_handle_refresh_token
refresh_token = await hass.auth.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/init.py”, line 359, in async_get_refresh_token_by_token
return await self._store.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 254, in async_get_refresh_token_by_token
await self._async_load()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 280, in _async_load
await self._async_load_task()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 287, in _async_load_task
self._store.async_load(),
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/storage.py”, line 81, in async_load
return await self._load_task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/view.py”, line 115, in handle
result = await result
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 78, in handle_req
resp = await func(view, request, *args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 261, in post
hass, data, str(request[KEY_REAL_IP]))
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 349, in _async_handle_refresh_token
refresh_token = await hass.auth.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/init.py”, line 359, in async_get_refresh_token_by_token
return await self._store.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 254, in async_get_refresh_token_by_token
await self._async_load()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 280, in _async_load
await self._async_load_task()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 287, in _async_load_task
self._store.async_load(),
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/storage.py”, line 81, in async_load
return await self._load_task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/view.py”, line 115, in handle
result = await result
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 78, in handle_req
resp = await func(view, request, *args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 261, in post
hass, data, str(request[KEY_REAL_IP]))
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 349, in _async_handle_refresh_token
refresh_token = await hass.auth.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/init.py”, line 359, in async_get_refresh_token_by_token
return await self._store.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 254, in async_get_refresh_token_by_token
await self._async_load()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 280, in _async_load
await self._async_load_task()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 287, in _async_load_task
self._store.async_load(),
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/storage.py”, line 81, in async_load
return await self._load_task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/view.py”, line 115, in handle
result = await result
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 78, in handle_req
resp = await func(view, request, *args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 261, in post
hass, data, str(request[KEY_REAL_IP]))
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 349, in _async_handle_refresh_token
refresh_token = await hass.auth.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/init.py”, line 359, in async_get_refresh_token_by_token
return await self._store.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 254, in async_get_refresh_token_by_token
await self._async_load()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 280, in _async_load
await self._async_load_task()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 287, in _async_load_task
self._store.async_load(),
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/storage.py”, line 81, in async_load
return await self._load_task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/view.py”, line 115, in handle
result = await result
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/data_validator.py”, line 46, in wrapper
result = await method(view, request, *args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 78, in handle_req
resp = await func(view, request, *args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/login_flow.py”, line 228, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File “/usr/local/lib/python3.7/site-packages/homeassistant/data_entry_flow.py”, line 80, in async_configure
flow, step_id, user_input)
File “/usr/local/lib/python3.7/site-packages/homeassistant/data_entry_flow.py”, line 110, in _async_handle_step
result = await self._async_finish_flow(flow, dict(result))
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/init.py”, line 437, in _async_finish_login_flow
result[‘data’])
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/providers/homeassistant.py”, line 248, in async_get_or_create_credentials
for credential in await self.async_credentials():
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/providers/init.py”, line 71, in async_credentials
users = await self.store.async_get_users()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 63, in async_get_users
await self._async_load()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 280, in _async_load
await self._async_load_task()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 287, in _async_load_task
self._store.async_load(),
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/storage.py”, line 81, in async_load
return await self._load_task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/view.py”, line 115, in handle
result = await result
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 78, in handle_req
resp = await func(view, request, *args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 261, in post
hass, data, str(request[KEY_REAL_IP]))
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 349, in _async_handle_refresh_token
refresh_token = await hass.auth.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/init.py”, line 359, in async_get_refresh_token_by_token
return await self._store.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 254, in async_get_refresh_token_by_token
await self._async_load()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 280, in _async_load
await self._async_load_task()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 287, in _async_load_task
self._store.async_load(),
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/storage.py”, line 81, in async_load
return await self._load_task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/view.py”, line 115, in handle
result = await result
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 78, in handle_req
resp = await func(view, request, *args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 261, in post
hass, data, str(request[KEY_REAL_IP]))
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 349, in _async_handle_refresh_token
refresh_token = await hass.auth.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/init.py”, line 359, in async_get_refresh_token_by_token
return await self._store.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 254, in async_get_refresh_token_by_token
await self._async_load()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 280, in _async_load
await self._async_load_task()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 287, in _async_load_task
self._store.async_load(),
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/storage.py”, line 81, in async_load
return await self._load_task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_protocol.py”, line 418, in start
resp = await task
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_app.py”, line 458, in _handle
resp = await handler(request)
File “/usr/local/lib/python3.7/site-packages/aiohttp/web_middlewares.py”, line 119, in impl
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/real_ip.py”, line 33, in real_ip_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 68, in ban_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/auth.py”, line 216, in auth_middleware
return await handler(request)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/view.py”, line 115, in handle
result = await result
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/http/ban.py”, line 78, in handle_req
resp = await func(view, request, *args, **kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 261, in post
hass, data, str(request[KEY_REAL_IP]))
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/auth/init.py”, line 349, in _async_handle_refresh_token
refresh_token = await hass.auth.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/init.py”, line 359, in async_get_refresh_token_by_token
return await self._store.async_get_refresh_token_by_token(token)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 254, in async_get_refresh_token_by_token
await self._async_load()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 280, in _async_load
await self._async_load_task()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 287, in _async_load_task
self._store.async_load(),
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/storage.py”, line 81, in async_load
return await self._load_task
File “/usr/local/lib/python3.7/site-packages/homeassistant/setup.py”, line 153, in _async_setup_component
hass, processed_config)
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/hassio/init.py”, line 159, in async_setup
user = await hass.auth.async_get_user(data[‘hassio_user’])
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/init.py”, line 126, in async_get_user
return await self._store.async_get_user(user_id)
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 71, in async_get_user
await self._async_load()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 280, in _async_load
await self._async_load_task()
File “/usr/local/lib/python3.7/site-packages/homeassistant/auth/auth_store.py”, line 287, in _async_load_task
self._store.async_load(),
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/storage.py”, line 81, in async_load
return await self._load_task
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/storage.py”, line 94, in _async_load
json_util.load_json, self.path)
File “/usr/local/lib/python3.7/concurrent/futures/thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File “/usr/local/lib/python3.7/site-packages/homeassistant/util/json.py”, line 36, in load_json
raise HomeAssistantError(error)
homeassistant.exceptions.HomeAssistantError: Expecting property name enclosed in double quotes: line 3384 column 5 (char 209408)

It was working fine up until this morning and no config changes have been made prior to this happening.

Any ideas? Would love some help with this. My main issue is that I’m away from home so can only do this remotely until I get back on Friday.

The first line suggests there is something wrong with your certificate. Do you happen to use your own certificate? (I don’t mean a self-signed one). If yes, is it still valid? Most certificates are valid for one year and need to be renewed. The renewed certificate is always a different one. (I happen to have my certificate expiring in 3 days :smiley:)

I’m using the HassIO DuckDNS add-on with inbuilt Lets Encrypt cert… I wonder if for some reason it has failed to update…?

OR: it could that error be related to me logging in remotely using my home IP address which isn’t allocated to the cert? (because the cert is for the DuckDNS address). However I have done this for months to get around the fact that my work blocks DuckDNS.

Trying to login using my phone is also failing, which is via DuckDNS

Logging in with your home IP address with a certificate that has a different IP will probably result in errors. Is the phone on your works wifi? because if so that would block duckdns as well no?

No, my phone is just using the cell network which normally works perfectly. I think there is something else causing the GUI login issue, even if the cert error is related to me using the IP address to gain access. I have used the IP address method for months and it hasn’t caused these issues of not being able to get into the HA GUI. Nothing was changed before this started.

Some things to check or try (in order):

  1. Are you using IPban? Are there any entries in the bans list?
  2. Different browser / clear browser cache / private browsing mode.
  3. Delete your refresh tokens https://www.home-assistant.io/docs/authentication/#lost-owner-password

Hi Tom,

Thanks for chiming in, I appreciate any pointers I can get.

  1. I am using IPban however there are no new entries in the list, only a couple from last year.
  2. I have tried another browser (Internet Explorer: didn’t even give me the login page, just the blue banner) and also cleared cache many times in Chrome but to no avail. Private browsing is unfortunately blocked on my work PC. I have however tried private browsing using my phone (on Telstra network) but get the same issue where after entering my credentials, it just stops logging in.
  3. I’m a little hesitant to try this one… (unless I absolutely have to) Since I’m doing this remotely I’m worried that deleting the users will then lock me out of the Cloud9 IDE that I’m currently using to view/edit files… then I’m screwed if it fails to rectify the problem!

I think that HA is still functioning since when I restart it I get a Pushbullet notification which is based on a startup automation.

Can you remote desktop ito a PC on your local network?

Not at the moment. I could possibly arrange something for tomorrow. What are you thinking I try? Just to have ‘local’ SSH access?

Just to see if you could log into the local IP address.

I’ll get my girlfriend to try tonight

Well my girlfriend has confirmed that she can’t even get the login screen when using the local IP address of HA from within our network… so I guess I’ll just have to wait until I get home and do a fresh install and upload a recent snapshot. HA is definitely still working as she has confirmed the automated lights are working etc. The log file got up over 15Mb in a matter of a couple of hours since I last restarted HA, crazy.

As I still have access to the CLI via the Cloud9 IDE add-on, I’m tempted to try and update to 0.93.2 but I don’t want that to cause more dramas… Thoughts?

EDIT: @tom_l I read a post of yours that mentioned updating to the same version as current to fix corrupted files. Do you think this would be a wise action?

If all else fails you can use the Hassio CLI update command to reinstall HA over the top of your current installation to fix any corrupted system files.

hassio homeassistant update --version=x.y.z

Worth a shot. You might find that you will have to downgrade then upgrade if it complains the version is already installed.

I’d wait until you get home if it is working now though. Just in case.

Seems to be an issue with Home Assistant not login or browser… it’s HA not starting so nothing to do with users or anything like that…

That’s my thought too, it’s just strange that it a) happened without me changing any config, b) HA is still working in the background, I just can’t login.

I’ll leave it until I’m home then SSH in, make sure I have all files backed up and do a fresh install.