All of the sudden, I can’t log into the Nabu Casa cloud service via Configuration -> Home Assistant Cloud.
When I enter incorrect credentials, I receive “Authentication failed” error text (as expected). When I enter correct credentials I receive “Unknown error” error text. So it’s definitely distinguishing between valid and invalid credentials. But my logs indicate that there’s an issue with the token it’s trying to assign me:
2019-01-13 09:01:05 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/warrant/__init__.py", line 206, in verify_token
issuer=unverified_claims.get('iss'))
File "/usr/local/lib/python3.6/site-packages/jose/jwt.py", line 150, in decode
options=defaults)
File "/usr/local/lib/python3.6/site-packages/jose/jwt.py", line 457, in _validate_claims
_validate_exp(claims, leeway=leeway)
File "/usr/local/lib/python3.6/site-packages/jose/jwt.py", line 299, in _validate_exp
raise ExpiredSignatureError('Signature has expired.')
jose.exceptions.ExpiredSignatureError: Signature has expired.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 406, in start
resp = await task
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_app.py", line 435, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 120, in impl
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/static.py", line 66, in staticresource_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 34, in real_ip_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 67, in ban_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 99, in auth_middleware
return await handler(request)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/view.py", line 118, in handle
result = await result
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/cloud/http_api.py", line 107, in error_handler
result = await handler(view, request, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/http/data_validator.py", line 47, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/cloud/http_api.py", line 164, in post
data['password'])
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/cloud/auth_api.py", line 91, in login
cognito = _authenticate(cloud, email, password)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/cloud/auth_api.py", line 144, in _authenticate
cognito.authenticate(password=password)
File "/usr/local/lib/python3.6/site-packages/warrant/__init__.py", line 383, in authenticate
self.verify_token(tokens['AuthenticationResult']['IdToken'],'id_token','id')
File "/usr/local/lib/python3.6/site-packages/warrant/__init__.py", line 208, in verify_token
raise TokenVerificationException('Your {} token could not be verified.')
warrant.exceptions.TokenVerificationException: Your {} token could not be verified.
From reading the logs, it sounds like (not 100% sure) Nabu Casa needs to update their security certificates? But I’m not sure if I’m reading it right…
Anyone else run into this issue or have a better interpretation of the logs?
Thanks in advance.