I encountered my first real issue with HA. When i woke up this morning nothing worked and couldn;t acces HA trough the companion app or via my PC. Both local and cloud didn’t work.
A restart of the mini pc running HA fixed the issue buth i can;t find anything in the logs. Last entry was around 04.15am this morning until i restarted.
My miniPC is configured to restart automatically after a power outage so that could not have been the issue.
Any ideas or people who have had similar issues? Everything is up to date and no updates pending.
Lost connection again this night, around 0200am this time. As i worked at home yesterday i could monitor the system and it worked flawless the whole day and evening after a the restart in the morning.
On my phone i get a failled ssl handshake message. Both on wifi and on 5g (via nabu casa account). On my laptop the HA homepage just won’t load until i physically restart the device.
For reference, my mini pc running HA is less than 2 months old and, a generic x86-64 machine with 8gb of ram and 512gb of storage.
Processor usage has never been over 10% and i typically use about 1.5gb of the available memory.
I see similar problems from the past when i google but no real solutions.
I sincerely hope some one has an idea to where to look.
Quik update: I now lose connection about every 15 min so trying to find the problem or even trying to is almost impossible).
Fixed, as it has been since the start.
I now lose the connection to HA 5min after a reboot. I am lost
Nothing has changed since a few days, yesterday was fine after reboot in the morning. Worked all day and now suddenly my HA is pretty much unusable
No issues found in repairs:
Found some errors but have no clue as where to look for a fix
It would be very, very strange that a drive that is 1,5 months old is “on it’s way” out.
Mini pc is brand new. Just about 1/10 of storage is used.
Yesterday morning it was unworkable, constant connection lost. Then it worked without problems from noon until about 23.30u when my last log entry was until i checked this morning and needed to reboot again.
There could be plenty of reasons why a new drive could fail even if it’s fresh out of the factory - manufacturing defect or power supply issue to name a couple.
At this point, the first thing I would be doing is making sure I have access to a backup stored off the machine.
In the meantime, there are a few things you can do to troubleshoot and potentially identify the issue when this happens again:
Access <your_ha_IP>:4357 and check what the observer reports. It should say Connected, Supported & Healthy, in that order.
After restarting, grab and post the output from the last few lines in home-assistant.log.1. Note the .1 at the end - this is the previous Core log from before the restart.
Ping the device IP to check if it’s still on the network. Also, check the ethernet cable at both ends - there was someone with a similar issue which turned out to be caused by a dodgy ethernet cable.
Keep an eye on the Host logs for any warnings or errors (especially power warnings). These are not backed up after a restart, so you might have to download them periodically.
Make sure the “Automatically close connection” setting isn’t enabled. Click your profile icon in the bottom left and scroll down to see it. You need to have enabled Advanced mode for it to be visible.
Also, it would help if you told us the exact specs of the PC, as well as how HA is installed (baremetal, VM, etc) and what installation type you have (HAOS, Core or Supervised).
After restarting, grab and post the output from the last few lines in home-assistant.log.1. Note the .1 at the end - this is the previous Core log from before the restart. (So far after this morning there has been no restart so i will check as soon as a restart is needed)
Ping the device IP to check if it’s still on the network. Also, check the ethernet cable at both ends - there was someone with a similar issue which turned out to be caused by a dodgy ethernet cable. (As soon as i lose connection again i will change the cable)
Keep an eye on the Host logs for any warnings or errors (especially power warnings). These are not backed up after a restart, so you might have to download them periodically. (There have been no power warnings in any log so far)
Make sure the “Automatically close connection” setting isn’t enabled. Click your profile icon in the bottom left and scroll down to see it. You need to have enabled Advanced mode for it to be visible. (This setting is disableds in my profile settings).