Can't connect to HA without a reason

Hello,
i’m facing a problem without doing anything. Yesterday evening i connected to my HA and i turned on the a/c and the boiler. After a while when i tried to connect again i couldn’t., i was receiving this message “Unable to connect to Home Assistant”.

I can access the folder from smb and connect via putty. And ideas ?any help? THe logs i have

2019-02-17 22:43:45 WARNING (MainThread) [homeassistant.components.mqtt] Data in your config entry is going to override your configuration.yaml: {'broker': '192.168.1.9', 'discovery': True, 'password': 'DVES_PASS', 'port': 1883, 'username': 'DVES_USER'}
2019-02-17 22:43:45 WARNING (MainThread) [homeassistant.components.http] legacy_api_password support has been enabled. If you don't require it, remove the 'api_password' from your http config.
2019-02-17 22:43:50 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=150 from 2019-02-17 19:07:31.774079)
2019-02-17 22:43:51 WARNING (MainThread) [homeassistant.loader] You are using a custom component for climate.broadlink which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-02-17 22:43:52 WARNING (MainThread) [homeassistant.loader] You are using a custom component for sensor.trakt which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-02-17 22:43:52 WARNING (MainThread) [homeassistant.loader] You are using a custom component for device_tracker.life360 which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-02-17 22:43:52 WARNING (MainThread) [homeassistant.loader] You are using a custom component for custom_updater which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-02-17 22:43:53 WARNING (MainThread) [homeassistant.loader] You are using a custom component for media_player.samsungtv which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-02-17 22:43:53 WARNING (MainThread) [homeassistant.loader] You are using a custom component for notify.fcm-android which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-02-17 22:43:57 ERROR (MainThread) [ghlocalapi.device_info] Error connecting to GHLocalApi, Cannot connect to host 192.168.1.12:8008 ssl:None [Connection refused]
2019-02-17 22:43:57 ERROR (MainThread) [ghlocalapi.bluetooth] Error connecting to 192.168.1.12 - Cannot connect to host 192.168.1.12:8008 ssl:None [Connection refused]
2019-02-17 22:43:57 ERROR (MainThread) [ghlocalapi.bluetooth] Error connecting to 192.168.1.12 - Cannot connect to host 192.168.1.12:8008 ssl:None [Connection refused]
2019-02-17 22:43:57 ERROR (MainThread) [ghlocalapi.bluetooth] Error connecting to 192.168.1.12 - Cannot connect to host 192.168.1.12:8008 ssl:None [Connection refused]
2019-02-18 04:51:34 WARNING (Thread-3) [pychromecast.socket_client] Heartbeat timeout, resetting connection
2019-02-18 07:35:27 WARNING (Thread-3) [pychromecast.socket_client] Heartbeat timeout, resetting connection
2019-02-18 07:35:27 ERROR (Thread-3) [pychromecast.socket_client] Failed to connect, retrying in 5.0s
2019-02-18 16:33:46 WARNING (Thread-3) [pychromecast.socket_client] Heartbeat timeout, resetting connection
2019-02-18 16:34:05 ERROR (Thread-3) [pychromecast.socket_client] Failed to connect, retrying in 5.0s

Do you still have the issue or was it only temporarily? I sometimes have hickups in my internal network which causes connectivity issues (powerline adapters out of synch or router needing a reboot).

If you still have the issue, have you rebooted the server?

yes i still have the problem. How can i reboot it? Forgot to mention i’m ruinning hassio in a rasberry pi

You have the same config as mine I think. Hassio on RPI.

You can do that from home assistant web:
First check configuration (Configuration - General - Check config) to make sure there is no errors.
If that is OK, then Hass.io - System - Host system -> Reboot. Wait 10-15 mins and then see.

But that’s the probelm . I cannot access the web interface. I can see the files from the local network (smb) and i can connect via putty but not web interface

ah ok! sorry, did not get that…
rebooting through putty : hassio host reboot

Not sure you have made backups. I had an issue last time and I just restored the config folder from the backup manually and restarted.

1 Like

It worked. I hope it will stay that way !! Thanks for your help!

GREAT!!! Happy to have helped!

So today i had the same problem. I guess something is messing up with HA but the question is what!?