Problems with frontend home assistant

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…

thanks for any help

The first thing to try when having trouble with the front end after an upgrade is to clear the browser’s cache.

On firefox I do a shift-reload, which has always cleared up problems like this.

Thanks … I have of course tried this… also with incognito mode on chrome … no luck…

anyone can help me. i just updated to the newest 67.1

  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 82, in async_setup
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/wunderground.py", line 654, in async_setup_platform
    config.get(CONF_LANG), latitude, longitude)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/sensor/wunderground.py", line 781, in __init__
    self._session = async_get_clientsession(self._hass)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/aiohttp_client.py", line 38, in async_get_clientsession
    hass.data[key] = async_create_clientsession(hass, verify_ssl)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/aiohttp_client.py", line 55, in async_create_clientsession
    connector = _async_get_connector(hass, verify_ssl)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/aiohttp_client.py", line 164, in _async_get_connector
    connector = aiohttp.TCPConnector(loop=hass.loop, ssl=ssl_context)
TypeError: __init__() got an unexpected keyword argument 'ssl'
2018-04-19 19:05:31 ERROR (MainThread) [homeassistant.components.hue] Unknown error connecting with Hue bridge at 192.168.0.54
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/hue/config_flow.py", line 190, in async_step_import
    self.hass, host, username
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/components/hue/bridge.py", line 128, in get_bridge
    websession=aiohttp_client.async_get_clientsession(hass)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/aiohttp_client.py", line 38, in async_get_clientsession
    hass.data[key] = async_create_clientsession(hass, verify_ssl)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/aiohttp_client.py", line 55, in async_create_clientsession
    connector = _async_get_connector(hass, verify_ssl)
  File "/srv/homeassistant/lib/python3.6/site-packages/homeassistant/helpers/aiohttp_client.py", line 164, in _async_get_connector
    connector = aiohttp.TCPConnector(loop=hass.loop, ssl=ssl_context)
TypeError: __init__() got an unexpected keyword argument 'ssl'

so there is a problem with ssl and loading of hue doesnt work

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.