Help! 2021.11 Supervisor tab does not load + 403 errors in log

After upgrading to 2021.11 (Hassio) - Supervisor tab does not load for me :frowning:
I get a screen with:

Troubleshooting
If you just started, make sure you have given the Supervisor enough time to start.
Check the Observer
Try a reboot of the host
Check System Health
Ask for help

Observer - shows all positive signs
System Health - showing ā€œerror unknownā€

the logs are full of [homeassistant.components.hassio.handler] /<<>> return code 403

for example (but much more):

2021-11-04 17:23:16 ERROR (MainThread) [homeassistant.components.hassio.handler] /homeassistant/options return code 403
2021-11-04 17:23:16 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/options return code 403
2021-11-04 17:23:16 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403
2021-11-04 17:23:16 ERROR (MainThread) [homeassistant.components.hassio.handler] /ingress/panels return code 403
2021-11-04 17:23:16 ERROR (MainThread) [homeassistant.components.hassio.addon_panel] Can't read panel info: 
2021-11-04 17:23:16 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Supervisor for hassio
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 304, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 623, in async_setup_entry
    coordinator = HassioDataUpdateCoordinator(hass, entry, dev_reg)
  File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 702, in __init__
    self.is_hass_os = "hassos" in get_info(self.hass)
TypeError: argument of type 'NoneType' is not iterable

How do I diagnose and work it back to normal ?

1 Like

Donā€™t have a solution unfortunately, but just came here to say Iā€™m seeing the same error. First time Iā€™ve seen any sort of error with Home Assistant really. Would love to hear also if there are any solutions or work arounds.

Edit - Actually, I was able to find a solution in Home Assistant Supervisor ERRORS Ā· Issue #55810 Ā· home-assistant/core Ā· GitHub. The suggested fix to run ha core rebuild, ha supervisor repair, and ha host reboot appears to have worked for me.

6 Likes

I was eventually able to get out of that sticky situation by SSHing into HA and playing around with some of the manual commandsā€¦

I think these 2 lines did the trick:

ha su repair
ha core update

hope this helps anyone who got stuck.

1 Like

This started for me after an update, thanks for posting this, it got me on the right track.
The core update failed so I had to run rebuild instead

docker exec -it hassio_cli /bin/bash
bash-5.1# ha su repair
Processing... Done.
Command completed successfully.
bash-5.1# ha core update
Processing... Done.
Error: Unknown error, see supervisor
bash-5.1# ha core rebuild
Processing... Done.

This was also of use:

1 Like

Ignore me, I how now idea how I didnā€™t see the post from theRoboticist

This solved my problem.
Thank you!

1 Like

ha core rebuild solved this for me after upgrading from Home Assistant OS 9.3 :arrow_right: 9.4.

1 Like

Thanks this helped

This also worked for me.
It brought back ā€œSupervisor: trueā€ from ā€œfalseā€ in the system information display in haos.
The add-ons are now working again.

Hey, could this be the same issue?

see logs

2023-04-03 10:14:59.890 ERROR (MainThread) [homeassistant.components.hassio.handler] /homeassistant/options return code 403

2023-04-03 10:15:02.258 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/options return code 403

2023-04-03 10:15:02.510 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403

2023-04-03 10:15:04.276 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:

2023-04-03 10:15:04.438 WARNING (MainThread) [homeassistant.setup] Setup of hassio is taking over 10 seconds.

2023-04-03 10:15:05.486 ERROR (MainThread) [homeassistant.components.hassio.handler] /ingress/panels return code 403

2023-04-03 10:15:05.511 ERROR (MainThread) [homeassistant.components.hassio.addon_panel] Can't read panel info:

2023-04-03 10:15:05.825 ERROR (MainThread) [homeassistant.components.hassio.handler] /resolution/info return code 403

2023-04-03 10:15:05.840 ERROR (MainThread) [homeassistant.setup] Error during setup of component hassio

File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 587, in async_setup

File "/usr/src/homeassistant/homeassistant/components/hassio/repairs.py", line 149, in setup

File "/usr/src/homeassistant/homeassistant/components/hassio/repairs.py", line 157, in update

File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 48, in _wrapper

File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 468, in send_command

raise HassioAPIError()

homeassistant.components.hassio.handler.HassioAPIError

2023-04-03 10:15:05.875 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403

2023-04-03 10:15:05.887 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403

2023-04-03 10:15:06.015 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403

2023-04-03 10:15:06.024 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403

2023-04-03 10:15:06.124 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403

2023-04-03 10:15:41.998 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of raspberry_pi. Setup failed for dependencies: hassio

2023-04-03 10:15:42.004 ERROR (MainThread) [homeassistant.setup] Setup failed for raspberry_pi: (DependencyError(...), 'Could not setup dependencies: hassio')

2023-04-03 10:16:19.539 ERROR (MainThread) [homeassistant.components.hassio.handler] /discovery return code 403

2023-04-03 10:16:19.556 ERROR (MainThread) [homeassistant.components.hassio.discovery] Can't read discover info:

2023-04-03 10:20:04.418 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403

2023-04-03 10:20:04.427 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:

2023-04-03 10:20:04.433 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403

2023-04-03 10:20:04.440 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403

2023-04-03 10:20:04.445 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403

2023-04-03 10:20:04.452 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403

2023-04-03 10:20:04.461 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403

File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 561, in _async_setup_hardware_integration

File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 319, in get_os_info

2023-04-03 10:25:04.480 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403

2023-04-03 10:25:04.485 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:

2023-04-03 10:25:04.495 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403

2023-04-03 10:25:04.503 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403

2023-04-03 10:25:04.511 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403

2023-04-03 10:25:04.519 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403

2023-04-03 10:25:04.528 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403

2023-04-03 10:30:04.539 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403

2023-04-03 10:30:04.543 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:

2023-04-03 10:30:04.550 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403

2023-04-03 10:30:04.559 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403

2023-04-03 10:30:04.566 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403

2023-04-03 10:30:04.574 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403

2023-04-03 10:30:04.583 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403

2023-04-03 10:35:04.594 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403

2023-04-03 10:35:04.599 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:

2023-04-03 10:35:04.606 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403

2023-04-03 10:35:04.614 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403

2023-04-03 10:35:04.621 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403

2023-04-03 10:35:04.629 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403

2023-04-03 10:35:04.637 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403

2023-04-03 10:40:04.654 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403

2023-04-03 10:40:04.659 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:

2023-04-03 10:40:04.666 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403

2023-04-03 10:40:04.674 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403

2023-04-03 10:40:04.681 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403

2023-04-03 10:40:04.696 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403

2023-04-03 10:40:04.704 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403

2023-04-03 10:45:04.708 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403

2023-04-03 10:45:04.713 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:

2023-04-03 10:45:04.720 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403

2023-04-03 10:45:04.728 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403

2023-04-03 10:45:04.735 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403

2023-04-03 10:45:04.743 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403

2023-04-03 10:45:04.750 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403

2023-04-03 10:50:04.763 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403

2023-04-03 10:50:04.768 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:

2023-04-03 10:50:04.774 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403

2023-04-03 10:50:04.782 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403

2023-04-03 10:50:04.790 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403

2023-04-03 10:50:04.798 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403

2023-04-03 10:50:04.805 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403

2023-04-03 10:55:04.819 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403

2023-04-03 10:55:04.824 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:

2023-04-03 10:55:04.832 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403

2023-04-03 10:55:04.840 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403

2023-04-03 10:55:04.849 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403

2023-04-03 10:55:04.857 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403

2023-04-03 10:55:04.865 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403

2023-04-03 11:00:04.871 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403

2023-04-03 11:00:04.876 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:

2023-04-03 11:00:04.884 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403

2023-04-03 11:00:04.892 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403

2023-04-03 11:00:04.900 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403

2023-04-03 11:00:04.908 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403

2023-04-03 11:00:04.915 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403

2023-04-03 11:05:04.926 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403

2023-04-03 11:05:04.931 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:

2023-04-03 11:05:04.938 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403

2023-04-03 11:05:04.946 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403

2023-04-03 11:05:04.953 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403

2023-04-03 11:05:04.961 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403

2023-04-03 11:05:04.969 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403

2023-04-03 11:10:04.984 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403

2023-04-03 11:10:04.989 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:

2023-04-03 11:10:04.997 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403

2023-04-03 11:10:05.007 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403

2023-04-03 11:10:05.014 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403

2023-04-03 11:10:05.022 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403

2023-04-03 11:10:05.030 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403

2023-04-03 11:15:05.041 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403

2023-04-03 11:15:05.045 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:

2023-04-03 11:15:05.053 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403

2023-04-03 11:15:05.061 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403

2023-04-03 11:15:05.068 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403

2023-04-03 11:15:05.076 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403

2023-04-03 11:15:05.083 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403

2023-04-03 11:20:05.098 ERROR (MainThread) [homeassistant.components.hassio.handler] /info return code 403

2023-04-03 11:20:05.107 WARNING (MainThread) [homeassistant.components.hassio] Can't read Supervisor data:

2023-04-03 11:20:05.114 ERROR (MainThread) [homeassistant.components.hassio.handler] /host/info return code 403

2023-04-03 11:20:05.122 ERROR (MainThread) [homeassistant.components.hassio.handler] /store return code 403

2023-04-03 11:20:05.129 ERROR (MainThread) [homeassistant.components.hassio.handler] /core/info return code 403

2023-04-03 11:20:05.137 ERROR (MainThread) [homeassistant.components.hassio.handler] /supervisor/info return code 403

2023-04-03 11:20:05.145 ERROR (MainThread) [homeassistant.components.hassio.handler] /os/info return code 403

The issue is with the hassio_observer having a stale/incorrect supervisor_token. You can validate this from the hassio cli, with the following:

# docker logs -n 20 hassio_observer

[timestamp] Supervisor API call failed with error Supervisor API call failed with status code 403
[timestamp] Supervisor API call failed with error Supervisor API call failed with status code 403
[timestamp] Supervisor API call failed with error Supervisor API call failed with status code 403
ā€¦

This confirms the token is incorrect. To find the correct token, the easiest way I found is look at the hassio_cliā€™s docker inspect:

> docker inspect hassio_cli | grep -i supervisior_token

Take the new token and update the hassio_observer containerā€™s value, by running:


> docker stop hassio_observer
> ha observer update --api-token {from_above}
> docker start hassio_observer

Verify the observer started (or run docker start hassio_observer) and it should now be working

1 Like