Hi,
My environment looks as follows:
- Hassio installed on VM on synology NAS
- Hassio exposed on wan
- Node-red installed on same synology NAS
problem:
Home assistant core becomes unresponsive and throws a 502-bad gateway error. Even with log level info i cant seem to locate root cause. Core can be running flawless for days on end but then suddenly crash, manual reboot (SSH and CLI) can bring the insance back up but can crash can occur again at any moment.
Solution?: Supervisor should detect unresponsive core (http response != 200) and then restart core?
Comment: Solution dose not occur, always has to manualy restart.
Alt solution?: Node-red with status check on internal URL of home assistant with bigSSH-node to restart core on http != 200.
Comment: Works some times but most occations not (bigSSH thows error). Is there any waty to communicate with supervisor api to call supervisor/supervisor/core/restart to restart core? No idea how to communicate with that part of the API!
Thanks for any help at this moment!