I’m trying to understand what could happen with my Raspberry Pi and the docker container which hosts the Home Assistant, because I’m a bit stuck on this problem.
When the RPi reaches over 15-20 hours of working (with low stress, none of high load), the Home Assistant instance is reachable, but some parts start to fail, like some .js files (making the HA a bit unstable):
As we can see in the screenshot, I can enter into HA, but some request fail, like ones of some custom-component (and the sankey-chart component fail because does not exist due to the lack of its JS file).
Also, some Shelly devices started to fail:
I’ve followed the instructions of this link (gen1 devices), but with no success. I left this comment if it could give more useful info (I don’t know if they are related or even one is a consecuence of the another one).
I’ve tried to connect thru SSH, but the RPi returns the following error:
kex_exchange_identification: read: Connection reset by peer
Connection reset by 192.168.XXX.XXX port 22
My first question is: WTF?? Why the RPi rejects at this moment my SSH connection attempt, if I can enter on HA?
If I reboot the RPi manually, all of these errors disappear and everything seems to work OK again (HA, SSH, etc), till some hours after when the error appears again.
The RPi is connected over ethernet.
Has anyone some hint or some idea why this problem is happening?
Thanks in advance!!