Hello,
I am receiving a strange error when I am attempting to login into my “Home Assistant Cloud” for use with Alexa. I have reset my password multiple times in an attempt to resolve this. Came someone please help? I am running Hassbian 0.61.1.
Tue Jan 23 2018 01:00:11 GMT-0600 (Central Standard Time)
Error handling request
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_protocol.py", line 410, in start
resp = yield from self._request_handler(request)
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web.py", line 325, in _handle
resp = yield from handler(request)
File "/srv/homeassistant/lib/python3.5/site-packages/aiohttp/web_middlewares.py", line 93, in impl
return (yield from handler(request))
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/ban.py", line 58, in ban_middleware
return (yield from handler(request))
File "/usr/lib/python3.5/asyncio/coroutines.py", line 213, in coro
res = yield from res
File "/usr/lib/python3.5/asyncio/coroutines.py", line 213, in coro
res = yield from res
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/__init__.py", line 430, in handle
result = yield from result
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/cloud/http_api.py", line 49, in error_handler
result = yield from handler(view, request, *args, **kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/http/__init__.py", line 486, in wrapper
result = yield from method(view, request, *args, **kwargs)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/cloud/http_api.py", line 82, 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 126, in login
cognito = _authenticate(cloud, email, password)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/cloud/auth_api.py", line 161, 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'