using home assistant 0.65.1 -> downgraded from 66.1 due to problems with hue devices.
i am having a problem with all my mobile devices logging into my front end.
my configuraiton looks like this
# Secrets are defined in the file secrets.yaml
api_password: !secret http_password
ssl_certificate: /home/homeassistant/.homeassistant/dehydrated/certs/<mydomain>/fullchain.pem
ssl_key: /home/homeassistant/.homeassistant/dehydrated/certs/<mydomain>/privkey.pem
base_url: <mydomain>:54321
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# base_url: example.duckdns.org:8123
and on the mac it works…
on my work computer it doesnt (500er error) and on all my mobile devices when i call the https front end …
i get the following errors in the logs
2018-04-08 21:03:45 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/home/homeassistant/.homeassistant/deps/lib/python3.6/site-packages/aiohttp/web_protocol.py", line 410, in start
resp = yield from self._request_handler(request)
File "/home/homeassistant/.homeassistant/deps/lib/python3.6/site-packages/aiohttp/web.py", line 326, in _handle
resp = yield from handler(request)
File "/home/homeassistant/.homeassistant/deps/lib/python3.6/site-packages/aiohttp/web_middlewares.py", line 93, in impl
return (yield from handler(request))
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/http/static.py", line 68, in staticresource_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/http/real_ip.py", line 27, in real_ip_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/http/ban.py", line 68, in ban_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/http/auth.py", line 52, in auth_middleware
return await handler(request)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/http/view.py", line 100, in handle
result = await result
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 481, in get
_is_latest(self.js_option, request)
File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/frontend/__init__.py", line 599, in _is_latest
return useragent and hass_frontend.version(useragent)
AttributeError: module 'hass_frontend' has no attribute 'version'
an i dont understand as on the mac it works… but anywhere else it doesnt… what does the error hass_frontend has no attribut version mean…
ok i found the solution in another thread on github…
its an incompatibility with the aiohttp version within the deps folder under the configuration directory… after deleting the deps directory … it now works correctly… as then the version of aiohttp from the virtualenv is taken.