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
71.16k stars 29.83k forks source link

WARNING (MainThread) [homeassistant.components.hassio.handler] Found incompatible HTTP option 'server_host'. Watchdog feature disabled #124458

Open surbin004 opened 3 weeks ago

surbin004 commented 3 weeks ago

The problem

Since update 2024.8 i get this error. same issue on 2024.8.2: 2024-08-22 20:36:03.431 WARNING (MainThread) [homeassistant.components.hassio.handler] Found incompatible HTTP option 'server_host'. Watchdog feature disabled

i had no previous issues prior to the update(s)

homeassistant:
  auth_providers:
    - type: trusted_networks
      trusted_networks:
        - 192.xxx.x.x/24 local ip
        - 24.xxx.xxx.xx private external IP
        - 172.xx.xx.x trusted proxy
      trusted_users:
        24.xxx.xxx.xx: username trusted external ip user ip phone

when i comment out the above everything works as expected

What version of Home Assistant Core has the issue?

2024.8.2

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

trusted_networks

Link to integration documentation on our website

https://www.home-assistant.io/docs/authentication/providers/

Diagnostics information

No response

Example YAML snippet

homeassistant:
  auth_providers:
    - type: trusted_networks
      trusted_networks:
        - 192.xxx.x.x/24 local ip
        - 24.xxx.xxx.xx private external IP
        - 172.xx.xx.x trusted proxy
      trusted_users:
        24.xxx.xxx.xx: username trusted external ip user ip phone

Anything in the logs that might be useful for us?

2024-08-22 20:36:03.431 WARNING (MainThread) [homeassistant.components.hassio.handler] Found incompatible HTTP option 'server_host'. Watchdog feature disabled

Additional information

when i comment out the above everything works as expected

home-assistant[bot] commented 3 weeks ago

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

Code owner commands Code owners of `homeassistant` 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 homeassistant` 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)


homeassistant documentation homeassistant source (message by IssueLinks)

r0bb10 commented 2 weeks ago

same problem here

WARNING (MainThread) [homeassistant.components.hassio.handler] Found incompatible HTTP option 'server_host'. Watchdog feature disabled

removing the whole auth_providers section removes the error but it's not working atm.

alanaasmaa commented 4 days ago

Just removing the "trusted_users" seems to fix the error.

EDIT:

Actually my issue was that I used username not user id, You find user id from Settings -> People -> Users (Tab top of the page) -> Click on the user -> there is the ID