HA unable to connect

Hello,

I have restart the HA from the front end. After that I was enable to connect. I put the password and after shows the message “Unable to connect”.

Erros in the log:

17-04-14 20:47:06 WARNING (MainThread) [homeassistant.setup] Setup of climate is taking over 10 seconds.
17-04-14 20:47:06 WARNING (MainThread) [homeassistant.setup] Setup of notify is taking over 10 seconds.
17-04-14 20:47:06 WARNING (MainThread) [homeassistant.setup] Setup of remote is taking over 10 seconds.
17-04-14 20:47:06 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
    result = next(coro)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 359, in async_process_entity
    new_entity, self, update_before_add=update_before_add
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 215, in async_add_entity
    yield from entity.async_update_ha_state()
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity.py", line 247, in async_update_ha_state
    device_attr = self.device_state_attributes
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/sensor/cpuspeed.py", line 70, in device_state_attributes
    ATTR_VENDOR: self.info['vendor_id'],
KeyError: 'vendor_id'
17-04-14 20:47:06 WARNING (MainThread) [homeassistant.setup] Setup of switch is taking over 10 seconds.
17-04-14 20:47:08 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
17-04-14 20:47:08 WARNING (MainThread) [homeassistant.setup] Setup of binary_sensor is taking over 10 seconds.
17-04-14 20:47:10 WARNING (MainThread) [homeassistant.setup] Setup of device_tracker is taking over 10 seconds.
17-04-14 20:47:13 WARNING (MainThread) [homeassistant.setup] Setup of media_player is taking over 10 seconds.
17-04-14 20:47:14 WARNING (MainThread) [homeassistant.components.remote] Setup of platform harmony is taking over 10 seconds.

I reboot the Pi but still the same

At least the issue with the cpuspeed sensor was fixed already.

https://github.com/home-assistant/home-assistant/pull/7023

1 Like

The issue with the cpuspeed is fix. Thank you :slight_smile:

But I was unable to connect.

17-04-14 21:05:44 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=190 from 2017-04-14 20:46:52)
17-04-14 21:05:50 WARNING (Thread-8) [homeassistant.components.emulated_hue] Listen IP address not specified, auto-detected address is 192.168.1.68
17-04-14 21:05:50 WARNING (Thread-8) [homeassistant.components.emulated_hue] When targetting Google Home, listening port has to be port 80
17-04-14 21:05:55 WARNING (MainThread) [homeassistant.setup] Setup of switch is taking over 10 seconds.
17-04-14 21:05:57 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
17-04-14 21:05:57 WARNING (MainThread) [homeassistant.setup] Setup of binary_sensor is taking over 10 seconds.
17-04-14 21:05:57 WARNING (MainThread) [homeassistant.setup] Setup of light is taking over 10 seconds.
17-04-14 21:05:57 WARNING (MainThread) [homeassistant.setup] Setup of notify is taking over 10 seconds.
17-04-14 21:05:57 WARNING (MainThread) [homeassistant.setup] Setup of climate is taking over 10 seconds.
17-04-14 21:05:58 WARNING (MainThread) [homeassistant.setup] Setup of remote is taking over 10 seconds.
17-04-14 21:05:59 WARNING (MainThread) [homeassistant.setup] Setup of device_tracker is taking over 10 seconds.
17-04-14 21:06:02 WARNING (MainThread) [homeassistant.setup] Setup of media_player is taking over 10 seconds.

I don´t understand. I only reboot the HA.

What does it say when you run the check_config script?

Hi,

I found the problem. It was the harmony hub disconnected.

Thank you.

Hi

I seem to be having the same issue with logging in, but only from my laptop. Can log in without issue from both my cellphone and tablet, but it just keeps giving me the same Unable to connect message, no matter which browser I try. Any idea what could be causing this?

Any help is much appreciated.

Hi,

I hope you have already solved the problem.

In my case I could not connect in any device. But in my case it was my harmony hub disconneted from network. When I connect again I can logging HA.

Hey, David.

Thanks for the response. Unfortunately, no. I’m starting to wonder if it’s this Hassbian thing I’m using now. Just seem to be having issues I didn’t have before. Oh well…I’ll keep on fiddling with it.