supervisor icon indicating copy to clipboard operation
supervisor copied to clipboard

After a certain time, Supervisor Communication from Core seems to stop working

Open Tscherno opened this issue 3 years ago • 47 comments

Describe the issue you are experiencing

Hi,

i'm using HASS OS as OVA on a Virtual Machine on my Synology. It worked for a few years without issues. Lately it started to have some very strange issue. It could be connected to the latest supervisor update, but i'm not 100% sure.

What it does:

  • After Restart (OS or Core) everything works perfectly
  • Some time later (probably 30 minutes) the problems begin
  • Addons are not accessible via ingress anymore: trying to access them gives a timeout or Unable to load the panel source: /api/hassio/app/entrypoint.js.
  • Addons itself are running (i see it for example for fully working Zigbee2MQTT addon in MQTT)
  • Trying to access Settings => Addons gives "Could not load the Supervisor panel!"
  • Restarting from the interface doesn't work anymore

The observer-statuspage gives

Home Assistant observer

Supervisor: Connected
Supported: Supported
Healthy: Healthy

Restarting / Reparing the observer doesn't help

Restarting HA Core via CLI fixes the issue temporarly again.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Steps to reproduce the issue

  1. Restart HA Core
  2. Wait some time

Anything in the Supervisor logs that might be useful for us?

No noticeable errors

System Health information

System Information

version core-2023.1.0
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.7
os_name Linux
os_version 5.15.80
arch x86_64
timezone Europe/Berlin
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 5000
Installed Version 1.29.0
Stage running
Available Repositories 1208
Downloaded Repositories 46
Home Assistant Cloud
logged_in true
subscription_expiration November 30, 2023 at 1:00 AM
relayer_connected true
remote_enabled true
remote_connected true
alexa_enabled true
google_enabled false
remote_server eu-central-1-4.ui.nabu.casa
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 9.4
update_channel beta
supervisor_version supervisor-2022.12.1
agent_version 1.4.1
docker_version 20.10.19
disk_total 491.4 GB
disk_used 56.8 GB
healthy true
supported true
board ova
supervisor_api ok
version_api ok
installed_addons Samba share (10.0.0), File editor (5.4.2), SSH & Web Terminal (13.0.0), Grafana (8.1.0), MariaDB (2.5.1), Frigate (0.11.1), Node-RED (14.0.1), evcc (0.110.1), Eufy Security Add-on (1.3.0), UniFi Network Application (2.5.0), phpMyAdmin (0.8.3), ESPHome (dev) (dev), RTSP Simple Server Add-on (v0.17.6), Zigbee2MQTT (1.29.0-1)
Dashboards
dashboards 4
resources 32
views 9
mode storage
Miele
component_version 0.1.4
reach_miele_cloud ok
Recorder
oldest_recorder_run December 30, 2022 at 8:56 AM
current_recorder_run January 6, 2023 at 9:47 AM
estimated_db_size 1002.31 MiB
database_engine mysql
database_version 10.6.8
Sonoff
version 3.3.1 (b20e33c)
cloud_online 0 / 1
local_online 0 / 0

Supervisor diagnostics

config_entry-hassio-a0598a45fdd52b1dd951477d67f04d27.json.txt

Additional information

No response

Tscherno avatar Jan 06 '23 09:01 Tscherno

Have the same issue. I'm using HASS OS as OVA on a Virtual Machine on my QNAP

thomasheiser85 avatar Jan 06 '23 11:01 thomasheiser85

Have the same issue. I'm using HASS OS as OVA on a Virtual Machine on my QNAP

Same environment for me.

Tscherno avatar Jan 06 '23 12:01 Tscherno

Also here, odroid n2+

maikelvds avatar Jan 06 '23 19:01 maikelvds

Same issue and in SU logs i have the following : "23-01-06 20:46:34 ERROR (MainThread) [asyncio] Task exception was never retrieved future: <Task finished name='Task-2526' coro=<Addon.watchdog_container() done, defined at /usr/src/supervisor/supervisor/addons/addon.py:988> exception=AddonsJobError('Rate limit exceeded, more then 10 calls in 0:30:00')>"

For the moment i disabled the watchdog addon and the issue has stopped (not sure if it is a random or not, time will tell)

Running HAOS on VM (Virtual Box)

VeZReVouLiS avatar Jan 06 '23 21:01 VeZReVouLiS

I'm having exactly the same behaviour. It seems to have started after upgrading to 2023.1.0/1 but still occurs after reverting to previous snapshot.

francois-nitenberg avatar Jan 06 '23 21:01 francois-nitenberg

I had it after 2022.12.9. Seems to be a problem in my 'Home Connect' data in the configurator. Deleted that part and till now no issues anymore

maikelvds avatar Jan 06 '23 21:01 maikelvds

I'm having the same issue using HAOS on a mini pc. Everything was working great with the mini pc until about 2 days ago. Looking at CLI it's printing out some weird error repeatedly.

I hope this gets resolved soon otherwise I may as well cancel my cloud subscription.

teknology avatar Jan 07 '23 03:01 teknology

I had it after 2022.12.9. Seems to be a problem in my 'Home Connect' data in the configurator. Deleted that part and till now no issues anymore

Problems are back again..

maikelvds avatar Jan 07 '23 09:01 maikelvds

For the moment i disabled the watchdog addon and the issue has stopped (not sure if it is a random or not, time will tell)

Running HAOS on VM (Virtual Box)

Same for me. The issue came back.

VeZReVouLiS avatar Jan 07 '23 09:01 VeZReVouLiS

same here

patrick131184 avatar Jan 07 '23 10:01 patrick131184

Issue still occurring for me too. I'm running the full HA OS on a x86 PC.

When I try accessing any add-ons from the left hand-side navigation menu, I get the following error: Unable to load the panel source: /api/hassio/app/entrypoint.js.

However, this health-check page doesn't report any problem: image

From the logs, there is a lot of noise from addons and integrations but I believe those are the consequence and not the root cause. The only suspicious trace I can see is:

Logger: homeassistant.components.hassio
Source: components/hassio/__init__.py:488 
Integration: Home Assistant Supervisor (documentation, issues) 
First occurred: 6 January 2023, 19:13:45 (219 occurrences) 
Last logged: 14:03:43

Can't read Supervisor data:

francois-nitenberg avatar Jan 07 '23 14:01 francois-nitenberg

Do you guys have a integration which is not working well? Yesterday I fixed my Eufy integration. Till now everything is working fine. I also went back to a bsckup from before the Problems started. After this I restored the latest backup, so no data loss.

maikelvds avatar Jan 08 '23 10:01 maikelvds

I just tried to disable my Eufy Integration. Let's see if this make a difference. But even so, a problemactic Addon shouldn't have such an effect, shouldn't it?

Tscherno avatar Jan 08 '23 10:01 Tscherno

using eufy also, and have some issues with it. disabled now, lets see if it makes a difference

patrick131184 avatar Jan 08 '23 11:01 patrick131184

Same problem here with eufy now disabled. I was going mad with my HA, but thanks to the community and @Tscherno first report, my system seems to be back on track.

I believe Supervisor have to be more robust and not get so much affected by bad behaviour integration. .

jgracio avatar Jan 08 '23 12:01 jgracio

I also had a not working Eufy Addon. After entering a TRUSTED_DEVICE_NAME (any name) in Eufy Addon config the integration worked fine again.

Till now the problem seems to be fixed for me.

thomasheiser85 avatar Jan 08 '23 18:01 thomasheiser85

I also had a not working Eufy Addon. After entering a TRUSTED_DEVICE_NAME (any name) in Eufy Addon config the integration worked fine again.

Till now the problem seems to be fixed for me.

That's also what I fixed. Almost 24h without losing the supervisor. So I think that was the problem. It is strange, for sure.

maikelvds avatar Jan 08 '23 19:01 maikelvds

I just made it for myself in eufy settings as well. Now it remains to be tested...

VeZReVouLiS avatar Jan 08 '23 19:01 VeZReVouLiS

Ran in to the same problem as described. Adding the TRUSTED_DEVICE_NAME in the Eufy Addon fixed it form me i think. Currently 24 hours without Supervisor loosing connection. Thanks to this thread!

basje56 avatar Jan 10 '23 06:01 basje56

I just updated the google drive backup addon and have the same problem .

supergroover avatar Jan 10 '23 07:01 supergroover