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
70.13k stars 29.18k forks source link

Error: Don't use 'server_host' options with Hass.io when enabeling trusted_networks #33146

Closed hermannsblum closed 4 years ago

hermannsblum commented 4 years ago

The problem

When I add trusted_networks as an additional auth-provider and restart home assisstant, it opens in save mode with the error "Error: Don't use 'server_host' options with Hass.io".

When I remove the lines from the config again, the error is gone. I don't have server_host configured anywhere in my config.

Environment

Problem-relevant configuration.yaml

auth_providers:
    - type: homeassistant
    # - type: trusted_networks
    #   trusted_networks:
    #     - x.x.x.x
    #   trusted_users:
    #     x.x.x.x: abcdefg
    #   allow_bypass_login: true

Traceback/Error logs

Error: Don't use 'server_host' options with Hass.io

Additional information

frenck commented 4 years ago

duplicate of #32696

hermannsblum commented 4 years ago

Thanks for the quick answer, found the actual error in the log and fixed my config :)