home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.66k stars 28.82k forks source link

Timeout on /homeassistant/options request #110026

Open MBert81 opened 4 months ago

MBert81 commented 4 months ago

The problem

Logger: homeassistant.components.hassio.handler Source: components/hassio/handler.py:597 Integration: Home Assistant Supervisor

Timeout on /homeassistant/options request

What version of Home Assistant Core has the issue?

2024.2.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervisor

Integration causing the issue

Core

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 4 months ago

Hey there @home-assistant/supervisor, mind taking a look at this issue as it has been labeled with an integration (hassio) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `hassio` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign hassio` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


hassio documentation hassio source (message by IssueLinks)

agners commented 4 months ago

Can you also share the Supervisor logs? Is that happening more than once (e.g. after restarting as well?

MBert81 commented 4 months ago

Dear Stefan,

Thank you for your time helping us out.

I’m using a RPI3 and after a System Reboot this morning it apparently disappeared....

Please find in attachment the Supervisor and Core logs.

Only PulseAudio gives an error in the Supervisor log but I don’t use it anyway. Can I remove/disable it maybe ?

In the Core log its now only LocalTuya (about the coming update 2025.1)

Thank you.

Best regards,

Bert

MBert81 commented 4 months ago

home-assistant_2024-02-09T07-38-32.536Z.log supervisor_2024-02-09T07-38-42.544Z.log

donaldwpage commented 4 months ago

I also see this running a Raspberry Pi 3. Happy to also provide logs if required.

MikeBookham commented 4 months ago

I also have the same issue, the 'First occurred' time is the restart after a system reboot:

Logger: homeassistant.components.hassio.handler
Source: components/hassio/handler.py:596
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 12:52:45 (3 occurrences)
Last logged: 13:41:54

Timeout on /supervisor/options request
Timeout on /supervisor/stats request
Timeout on /core/stats request
## System Information version core-2024.2.1
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.1
os_name Linux
os_version 6.1.63-haos-raspi
arch aarch64
timezone Europe/London
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4988 Installed Version | 1.34.0 Stage | running Available Repositories | 1384 Downloaded Repositories | 16
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 11.4 -- | -- update_channel | stable supervisor_version | supervisor-2024.01.1 agent_version | 1.6.0 docker_version | 24.0.7 disk_total | 27.8 GB disk_used | 13.3 GB healthy | true supported | true board | rpi4-64 supervisor_api | ok version_api | ok installed_addons | Tailscale (0.15.0), File editor (5.7.0), UniFi Network Application (3.0.3), Studio Code Server (5.15.0), Advanced SSH & Web Terminal (17.1.0), Home Assistant Google Drive Backup (0.112.1), ESPHome (2023.12.9)
Dashboards dashboards | 4 -- | -- resources | 11 views | 5 mode | storage
Recorder oldest_recorder_run | 4 February 2024 at 22:21 -- | -- current_recorder_run | 11 February 2024 at 12:52 estimated_db_size | 224.75 MiB database_engine | sqlite database_version | 3.44.2
zavjah commented 4 months ago

Same here running on RPi 3. It appears also after fresh restart.

EDIT, 22.02.2024: New errors occurred today in the log:

Logger: homeassistant.components.hassio.handler
Source: components/hassio/handler.py:596
Integration: Home Assistant Supervisor (documentation, issues)
First occurred: 13:11:54 (2 occurrences)
Last logged: 13:11:54

Timeout on /backups request
Timeout on /host/info request
2024-02-22 13:11:54.336 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /backups request
2024-02-22 13:11:54.380 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /backups -
2024-02-22 13:11:54.383 ERROR (MainThread) [homeassistant.components.hassio.handler] Timeout on /host/info request
2024-02-22 13:11:54.384 ERROR (MainThread) [homeassistant.components.hassio] Failed to to call /host/info -

Are these all related?

zavjah commented 3 months ago

Any updates here? I'm still experience suchissues:

Logger: homeassistant.components.hassio.handler
Source: components/hassio/handler.py:608
integration: Home Assistant Supervisor (documentation, issues)
First occurred: 06:17:35 (1 occurrences)
Last logged: 06:17:35

Timeout on /backups request

Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:134
integration: Home Assistant Supervisor (documentation, issues)
First occurred: 06:17:35 (1 occurrences)
Last logged: 06:17:35

Failed to to call /backups -
agners commented 3 months ago

So in @MBert81's case the Supervisor log looks clean. Also, there is no Timeout reported in Core in that period the log files were provided, so this is expected.

It would be interesting to get the Supervisor logs for the same timeframe as the Core logs are showing the timeouts.

ruedigerO commented 1 month ago

Hi! Any news regarding this issue? I see the same issue - using HA in a virtual machine. Attached you'll find the core and supervisor log. Error occurred at 22:14:11 home-assistant_2024-05-12T20-22-08.430Z.log supervisor_2024-05-12T20-22-46.565Z.log

TJHooker commented 1 month ago

have the same problem Pi3 connected over VPN and can`t see the Backup list creating Backup is not the problem only showing the list

additional info if i reduce the nummer of backup on the NAS or SAMBA share the List appears ( sometimes) based on this the whish below

and it would be great if if there could be implemented a routin deleting backup older than

mathgim commented 3 weeks ago

Same problem here. I paste here other log entries which seem to me relevant to this issue.

I have HassOS on RPi3.

Logger: homeassistant.components.hassio.handler
Source: components/hassio/handler.py:609
integration: Home Assistant Supervisor (documentation, issues)
First occurred: 11:14:51 AM (66 occurrences)
Last logged: 2:22:55 PM

Timeout on /supervisor/stats request
Timeout on /addons/a0d7b954_vscode/stats request
Timeout on /addons/core_duckdns/stats request
Timeout on /addons/core_mosquitto/stats request
Timeout on /addons/cebe7a76_hassio_google_drive_backup/stats request

Logger: homeassistant.components.hassio.data
Source: components/hassio/data.py:488
integration: Home Assistant Supervisor
First occurred: 12:06:09 PM (20 occurrences)
Last logged: 2:22:55 PM

Could not fetch stats for core_duckdns:
Could not fetch stats for cebe7a76_hassio_google_drive_backup:
Could not fetch stats for a0d7b954_vscode:
Could not fetch stats for core_mosquitto:

Logger: homeassistant.components.hassio.data
Source: helpers/update_coordinator.py:347
integration: Home Assistant Supervisor
First occurred: 11:14:51 AM (6 occurrences)
Last logged: 2:17:34 PM

Error fetching hassio data: Error on Supervisor API:

Logger: homeassistant.components.command_line.utils
Source: components/command_line/utils.py:62
integration: Command Line
First occurred: 1:24:40 PM (5 occurrences)
Last logged: 1:48:34 PM

Timeout for command: cat /sys/class/thermal/thermal_zone0/temp

Logger: homeassistant.components.version
Source: helpers/update_coordinator.py:347
integration: Version (documentation, issues)
First occurred: 1:34:30 PM (2 occurrences)
Last logged: 1:34:30 PM

Error fetching version data: Timeout of 30 seconds was reached while fetching version for supervisor
Error fetching version data: Timeout of 30 seconds was reached while fetching version for haio

Logger: homeassistant.components.hassio
Source: components/hassio/__init__.py:446
integration: Home Assistant Supervisor (documentation, issues)
First occurred: 1:32:48 PM (1 occurrences)
Last logged: 1:32:48 PM

Can't read Supervisor data:

Logger: homeassistant.components.recorder.util
Source: components/recorder/util.py:614
integration: Recorder
First occurred: 9:11:42 AM (1 occurrences)
Last logged: 9:11:42 AM

Ended unfinished session (id=3 from 2024-06-04 21:00:09.393587)

Logger: homeassistant.components.recorder.util
Source: components/recorder/util.py:335
integration: Recorder (documentation, issues)
First occurred: 9:11:42 AM (1 occurrences)
Last logged: 9:11:42 AM

The system could not validate that the sqlite3 database at //config/home-assistant_v2.db was shutdown cleanly