In the last week or so, my home assistant has started becoming unreachable via the web UI every 12 to 24 hours or so. I’ve read through a few threads where people mentioning this happening but it seems not really match up to my symptoms at all.
My hardware is a Raspberry Pi 5, with SSD, running over POE, with 4G of RAM.
When the web UI becomes unreachable, I can still ping the machine successfully, but I cannot SSH to it (I have SSH running as an app on home assistant and can connect when everything is normal).
I also can still connect to http://homeassistant.local:4357/ and I see that supervisor, support and health are all showing as Healthy.
Rebooting the machine always seems to solve it, but then it goes offline again within a day.
I can tell when it becomes unresponsive because I have the System Monitor metrics enabled and at a certain point they go null and when I restart they start recording again so I can identify each outage timeframe.
My home network (which is ubiquiti unifi), shows the machine as still making network requests during the time that it’s inaccessible via the web UI as well, so it’s likely not totally dead (especially considering the observer URL works)
Does anyone have times on what else I should check to try to troubleshoot this? Is there additional logging I should consider turning on and if so, how?
What time of day does this happen?
As you are powering with POE, did you try a different network port?
… Network cable?
Can you power the SSD separately to see if it is a power problem?
Have you recently added devices ? Based on my experience, your box may have reached its capacity, in which case you need to add memory.
I moved from a Yellow Box to a Mini PC and the issue was resolved.
It is powered with POE, I’ll try a different port and different cable.
This is a RPI 5 with 4g of ram and a 250GB SSD which is hardly saturated. I don’t seem to ever fully use the RAM or CPU so I don’t think it’s a resourcing issue.
H have the same issue using a RPI 4 and an external power supply. So I’d expect in your case it’s not PoE.
Last time when I discovered the issue I decided to troubleshoot later and after 30 to 60 minutes the connection recovered.
I am not sure if it is a software bug?
Until end of August beginning September I never experienced that issue.
I suspect that the HA server will reboot after it hung up.
Checking the Homeassistant Logs, I just see tons of fetching errors of my Unifi integration. I remved it, because I don’t use it. Let’s see if this is causing the issue.
I have been using Homeassistant (HAOS) on the RPi5 with an Argon One case (with SSD) for many months without any glitch but since 2-3 weeks I have this same problem. I removed every integration I have added during this time frame, fixed every issue dropping error logs however I keep losing connection to homeassistant web interface.
Interestingly during this “blackout” automations keep working, apps like Unifi Network Application is still running; so homeassistant is actually running in the background but access to its interface is not available. After several hours (8-12) the system becomes accessible again by itself. After reaching homeassistant again, when I check the logs nothing is written during this blackout duration.
I checked the above link, however wi-fi is off from day 1 and I never had issues like this previously so there must be something wrong with a HAOS operating system or Homeassistant update which resulted with this problem.
In conjunction with your setup, I am powering the RPi5 via USB coming from a Waveshare UPS Hat E; so like in your case the RPi is powered not by an official Raspberry USB adapter.
indeed the problem seem to be related with pcie cable isolation; I was keeping an aluminum heatsink on top of the argon case experimentally to reduce the CPU temperature, I’ve removed it after postng above and since then I do not have issues anymore.