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

I just updated to Home Assistant 0.106.5 and since updating it is running in safe mode and giving the error “Don’t use ‘server_host’ options with Hass.io”. When i click on documentation in the popup it leads to main page homeassistant. Any idea what could be causing this?

Same happening for me…

I removed http part from configuration.yaml and restarted. This fixed the issue for me. Please try and see if that helps

wow…I only had some api line there, blocked that out and now I am back in! Thanks Saadbashir

Like many others I also have this error and don’t use server_host option. The relevant commit is done in 2018 (commit on github), don’t know why this occurs now.

However when I remove the http: line, what happens with my SSL access?

    http:
      base_url: !secret base_url
      ssl_certificate: !secret ssl_certificate
      ssl_key: !secret ssl_key
      ip_ban_enabled: True
      login_attempts_threshold: 2
1 Like

Hey @ChrLipp not quite sure however HTTP - Home Assistant says that

Configuring trusted_networks via the http integration will be deprecated and moved to auth_providers instead.

Thanks, I found this today, but I think this means only the trusted_networks property and not the whole http integration.

See https://www.reddit.com/r/homeassistant/comments/fd2fgh/home_assistant_is_in_safe_mode_dont_know_how_to/
Removing iOS Dark Theme did the trick.

I recently also having this issue. After blackout in my house, the hassio boot up again and showed me that error. Do you find any solution yet? Because I don’t have any http part in my configuration.yaml file. Thanks

Having this issue myself after not touching HA for a while, upgrading, and now receiving this error.

Everyone seems to say: “Oh, just remove the http section”

http:
  # Secrets are defined in the file secrets.yaml
  api_password: !secret http_password
  # Uncomment this if you are using SSL/TLS, running in Docker container, etc. previously had #:443 on the url
  base_url: myhomeassistanturl.duckdns.org

But wouldn’t removing the http section mess with the ssl setup I have?

1 Like

Hi, I have removed http section and started working again, but now I have no ssl connection, so I cant connect from mobile app or integrate with google :frowning:
Any solution around there?

Thanks

Hi All

Have a look here https://hassio.local:8123/config/server_control (whatever yours is))

and see if the config is incorrect (Configuration validation)

Hi, have you found a solution without removing http section? I need ssl, and I don´t know how to do that without http setion in configuration file.
Thanks

any solution for keeping ssl access ?

Is there any solution for this yet?

was there ever a final solution to this problem?