I am getting unknown error while trying to login to cloud. Here is the log output. HomeAssistant Version 0.67.1. I had issues inearlier versions also.
Wed Apr 25 2018 21:57:54 GMT-0500 (Central Daylight Time)
Error handling request
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 381, in start
resp = await self._request_handler(request)
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_app.py", line 322, in _handle
resp = await handler(request)
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_middlewares.py", line 88, in impl
return await handler(request)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/static.py", line 68, in staticresource_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/real_ip.py", line 27, in real_ip_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py", line 68, in ban_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/auth.py", line 52, in auth_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/view.py", line 104, in handle
result = await result
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/cloud/http_api.py", line 45, in error_handler
result = await handler(view, request, *args, **kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/data_validator.py", line 47, in wrapper
result = await method(view, request, *args, **kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/cloud/http_api.py", line 102, in post
data['password'])
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/cloud/auth_api.py", line 91, in login
cognito = _authenticate(cloud, email, password)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/cloud/auth_api.py", line 126, in _authenticate
cognito.authenticate(password=password)
File "/srv/homeassistant/lib/python3.5/site-packages/warrant/__init__.py", line 383, in authenticate
self.verify_token(tokens['AuthenticationResult']['IdToken'],'id_token','id')
File "/srv/homeassistant/lib/python3.5/site-packages/warrant/__init__.py", line 197, in verify_token
kid = jwt.get_unverified_header(token).get('kid')
AttributeError: module 'jose.jwt' has no attribute 'get_unverified_header'