Problem after update to 0.76

Can you help me?

2018-08-19 20:45:35 ERROR (MainThread) [homeassistant.config] Invalid config for [http]: some but not all values in the same group of inclusion ‘proxy’ @ data[‘http’][]. Got None. (See /config/configuration.yaml, line 35). Please check the docs at HTTP - Home Assistant

Configuration:

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.
  # base_url: example.duckdns.org:8123
  api_password: !secret http_password
  server_port: 8123
  base_url: example.duckdns.org:8123
  ssl_certificate: /ssl/fullchain.pem
  ssl_key: /ssl/privkey.pem
  cors_allowed_origins:
    - https://google.com
    - https://home-assistant.io
  use_x_forwarded_for: False
  trusted_networks:
    - 127.0.0.1
    - 192.168.1.0/24
  ip_ban_enabled: True
  login_attempts_threshold: 5

And which is line 35?

The line 35 is “http:”

either remove that line or add trusted_proxies.

see “breaking changes”:

HTTP: Make sure use_x_forward_for and trusted_proxies must be configured together (@awarecan - #15804) (http docs) (breaking change)

3 Likes

Yep it is there in the release notes in the blog section here.

1 Like

Fantastic :slight_smile:
Regards!

Thx, I had the same problem.

Thx, this helped me too.

Yeah - this hit me as well. I love HA, but dread updating it as it seems to take a good hour fixing configuration changes.

It wouldn’t take so long if you read the release notes. Breaking changes are always mentioned.