Cant load webgui after reboot

just added a zwave device and rebooted my hassio, now it wont load the gui anymore, even though I undo my changes in the config… Now I’m getting this in the log though…

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/setup.py", line 154, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/tellstick/__init__.py", line 93, in setup
    tellcore_devices = tellcore_lib.devices()
  File "/usr/local/lib/python3.7/site-packages/tellcore/telldus.py", line 173, in devices
    count = self.lib.tdGetNumberOfDevices()
  File "/usr/local/lib/python3.7/site-packages/tellcore/library.py", line 257, in check_int_result
    raise TelldusError(result)
tellcore.library.TelldusError: Could not connect to the Telldus Service (-6)

Your tellstick is not connecting. Solve that to solve the problems.

seriously, the tellstick component has worked all the time, I havent changed it…

I solved it by deleting the whole config.yaml and reboot, it started fine with an default config, then I started to remove pieces of my original config until I find that my devide_tracker component is causing the web gui not to boot… how in the hell can this happen? My device_tracker looks like this:

#################################################################################################################################
#  Device Tracker
#################################################################################################################################
device_tracker:
  - platform: ping
    consider_home: 0:01:00
#    interval_seconds: 30
    hosts:
      MediaPC: 192.168.1.63
      TVuppe: 192.168.1.72
      
  - platform: unifi
    host: 192.168.1.11
    username: Mattias
    password: !secret unifi_password
    verify_ssl: false
    ssid_filter:
      - 'M-Doma1n'

I havent changed the tellstick component at all and still I get these every boot:

Unable to prepare setup for platform tellstick.sensor: Could not set up all dependencies.
11:34 PM setup.py (ERROR)

Unable to set up dependencies of tellstick.sensor. Setup failed for dependencies: tellstick
11:34 PM setup.py (ERROR)

Error during setup of component tellstick
11:34 PM components/tellstick/__init__.py (ERROR)

Setup of tellstick is taking over 10 seconds.
11:34 PM __main__.py (WARNING)

something is getting broken here :S The microSD is brand new though…

now I’ve even narrowed it down to just the unifi platform… and the interesting part is that when I remove it for the first time an reboot the raspberry by pulling the plug I also get the tellstick component error, but the webGUI loads up correctly. But if I restart it a second time (from the gui) the tellstick always loads up OK and works fine. But it never does so when I pull the plug

very fascinating… :confused: Gladly accepting theories

is your cloudkey corrupt?

How do I know if I use cloudkey? We are not talking about home assistant cloud are we, cuz I havent got that logged on, I have toe “cloud:” in my config though I’m not using it.

I dont understand the connection either :thinking:

how are you connected to the unifi hub if aren’t using a cloudkey or the cloudkey software?

I connect directly to my controller as the platform-setup states above? my unifi isn’t connected to any cloud, I got a linux controller installed at my lan for unifi

I dont think there is anything wrong with the component setup. It feels like something else is happening here… the config above has been working before, thats what is confusing me… some change in the newer hassio version mabye? much have changed that needed tweaking in my config yaml. both auth and tellstick components and also custom components. I thaught this may be just another major change doing this…?

also I’m kinda worried about my eventlog, everything is working though, could these lines be ignored?:

2019-04-06 18:42:05 WARNING (SyncWorker_8) [homeassistant.components.sensor.systemmonitor] Failed to load process with id: 4069, old name: None
2019-04-06 20:27:14 WARNING (SyncWorker_4) [homeassistant.components.sensor.systemmonitor] Failed to load process with id: 6306, old name: None
2019-04-06 20:56:07 WARNING (SyncWorker_8) [homeassistant.components.sensor.systemmonitor] Failed to load process with id: 6915, old name: None
2019-04-07 01:01:28 WARNING (MainThread) [homeassistant.helpers.entity] Update of sensor.tv_idag is taking over 10 seconds
2019-04-07 01:01:36 ERROR (InfluxDB) [homeassistant.components.influxdb] Write error
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 453, in wrap_socket
    cnx.do_handshake()
  File "/usr/local/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1915, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/usr/local/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1622, in _raise_ssl_error
    raise WantReadError()
OpenSSL.SSL.WantReadError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 343, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 839, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 344, in connect
    ssl_context=context)
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/ssl_.py", line 357, in ssl_wrap_socket
    return context.wrap_socket(sock)
  File "/usr/local/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 456, in wrap_socket
    raise timeout('select timed out')
socket.timeout: select timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 367, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/local/lib/python3.7/site-packages/urllib3/packages/six.py", line 686, in reraise
    raise value
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
    chunked=chunked)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 346, in _make_request
    self._raise_timeout(err=e, url=url, timeout_value=conn.timeout)
  File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 306, in _raise_timeout
    raise ReadTimeoutError(self, url, "Read timed out. (read timeout=%s)" % timeout_value)
urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='192.168.1.75', port=8086): Read timed out. (read timeout=5)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/influxdb/__init__.py", line 312, in write_to_influxdb
    self.influx.write_points(json)
  File "/usr/local/lib/python3.7/site-packages/influxdb/client.py", line 490, in write_points
    tags=tags, protocol=protocol)
  File "/usr/local/lib/python3.7/site-packages/influxdb/client.py", line 551, in _write_points
    protocol=protocol
  File "/usr/local/lib/python3.7/site-packages/influxdb/client.py", line 327, in write
    headers=headers
  File "/usr/local/lib/python3.7/site-packages/influxdb/client.py", line 267, in request
    timeout=self._timeout
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 529, in send
    raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='192.168.1.75', port=8086): Read timed out. (read timeout=5)
2019-04-07 01:01:49 WARNING (MainThread) [homeassistant.components.sensor] Updating history_stats sensor took longer than the scheduled update interval 0:00:30
2019-04-07 01:01:59 ERROR (InfluxDB) [homeassistant.components.influxdb] Resumed, lost 11 events
2019-04-07 01:02:52 ERROR (MainThread) [homeassistant.core] Error doing job: SSL error errno:1 reason: KRB5_S_INIT
Traceback (most recent call last):
  File "uvloop/sslproto.pyx", line 504, in uvloop.loop.SSLProtocol.data_received
  File "uvloop/sslproto.pyx", line 204, in uvloop.loop._SSLPipe.feed_ssldata
  File "uvloop/sslproto.pyx", line 189, in uvloop.loop._SSLPipe.feed_ssldata
  File "/usr/local/lib/python3.7/ssl.py", line 767, in unwrap
    return self._sslobj.shutdown()
ssl.SSLError: [SSL: KRB5_S_INIT] application data after close notify (_ssl.c:2605)
2019-04-07 01:02:58 ERROR (MainThread) [homeassistant.core] Error doing job: SSL error errno:1 reason: KRB5_S_INIT
Traceback (most recent call last):
  File "uvloop/sslproto.pyx", line 504, in uvloop.loop.SSLProtocol.data_received
  File "uvloop/sslproto.pyx", line 204, in uvloop.loop._SSLPipe.feed_ssldata
  File "uvloop/sslproto.pyx", line 189, in uvloop.loop._SSLPipe.feed_ssldata
  File "/usr/local/lib/python3.7/ssl.py", line 767, in unwrap
    return self._sslobj.shutdown()
ssl.SSLError: [SSL: KRB5_S_INIT] application data after close notify (_ssl.c:2605)
2019-04-07 01:03:40 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1796782224] Client exceeded max pending messages [2]: 512
2019-04-07 01:03:40 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1796782224] Client exceeded max pending messages [2]: 512
2019-04-07 01:03:40 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1796782224] Client exceeded max pending messages [2]: 512
2019-04-07 01:03:40 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1796782224] Client exceeded max pending messages [2]: 512
2019-04-07 02:36:07 WARNING (SyncWorker_18) [homeassistant.components.sensor.systemmonitor] Failed to load process with id: 14064, old name: None
2019-04-07 04:06:20 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1812996528] Client exceeded max pending messages [2]: 512
2019-04-07 04:06:20 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1812996528] Client exceeded max pending messages [2]: 512
2019-04-07 04:06:20 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1812996528] Client exceeded max pending messages [2]: 512
2019-04-07 04:06:20 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1812996528] Client exceeded max pending messages [2]: 512
2019-04-07 04:06:20 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1812996528] Client exceeded max pending messages [2]: 512
2019-04-07 04:06:20 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.1812996528] Client exceeded max pending messages [2]: 512

You’re contradicting yourself then…

And the platform you are using for unifi requires the hub software, which is the cloudkey software. So are you sure you’re using that platform correctly?