Home Assistant not starting up correctly

Since a few weeks I noticed some functionality in Homeassistant not to work anymore. Due to the errors e.g. updating Homeassistant and in general HA seems to be less reliable.

Homeassistant runs on a Raspberry 4 with 8GB:

  OS Version:               Home Assistant OS 9.5
  Home Assistant Core:      2023.3.3

The following errors show up in the log:
hassio

/host/info return code 403
22:17:51 – (ERROR) hassio - message first occurred at 21:37:50 and shows up 57 times
Can't read Supervisor data:
22:17:51 – (WARNING) hassio - message first occurred at 21:42:50 and shows up 8 times
Error doing job: Task exception was never retrieved
21:42:50 – (ERROR) components/hassio/__init__.py
Can't read discover info:
21:38:37 – (ERROR) hassio
Setup failed for raspberry_pi: (DependencyError(...), 'Could not setup dependencies: hassio')
21:38:19 – (ERROR) setup.py
Unable to set up dependencies of raspberry_pi. Setup failed for dependencies: hassio
21:38:19 – (ERROR) setup.py
Error during setup of component hassio
21:37:54 – (ERROR) components/hassio/handler.py
Can't read panel info:
21:37:50 – (ERROR) hassio
Can't read Supervisor data:
21:37:50 – (WARNING) hassio
/homeassistant/options return code 403

raspberry_pi

Setup failed for raspberry_pi: (DependencyError(...), 'Could not setup dependencies: hassio')
21:38:19 – (ERROR) setup.py

Unable to set up dependencies of raspberry_pi. Setup failed for dependencies: hassio
21:38:19 – (ERROR) setup.py

Supervisor Logs

23-04-19 22:07:51 ERROR (MainThread) [supervisor.api.middleware.security] Invalid token for access /info
23-04-19 22:07:51 ERROR (MainThread) [supervisor.api.middleware.security] Invalid token for access /host/info
23-04-19 22:07:51 ERROR (MainThread) [supervisor.api.middleware.security] Invalid token for access /store
23-04-19 22:07:51 ERROR (MainThread) [supervisor.api.middleware.security] Invalid token for access /core/info
23-04-19 22:07:51 ERROR (MainThread) [supervisor.api.middleware.security] Invalid token for access /supervisor/info
23-04-19 22:07:51 ERROR (MainThread) [supervisor.api.middleware.security] Invalid token for access /os/info
23-04-19 22:08:53 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
23-04-19 22:12:51 ERROR (MainThread) [supervisor.api.middleware.security] Invalid token for access /info
23-04-19 22:12:51 ERROR (MainThread) [supervisor.api.middleware.security] Invalid token for access /host/info
23-04-19 22:12:51 ERROR (MainThread) [supervisor.api.middleware.security] Invalid token for access /store
23-04-19 22:12:51 ERROR (MainThread) [supervisor.api.middleware.security] Invalid token for access /core/info
23-04-19 22:12:51 ERROR (MainThread) [supervisor.api.middleware.security] Invalid token for access /supervisor/info
23-04-19 22:12:51 ERROR (MainThread) [supervisor.api.middleware.security] Invalid token for access /os/info

Judging from the supervisor logs somehow the api access to the supervisor is failing due to an invalid access token:
[supervisor.api.middleware.security] Invalid token for access

ha core logs times out with the following error message:

 ~ ha core logs
Get "http://supervisor/core/logs": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

I am fairly new to Homeassistant and maybe some of my configuration experiments failed after a restart. But I do not know how to best debug this to start fixing it. Any help is welcome.

Thanks,

Andreas