Unable to access in remote after upgraded to 2021.7.0

Hi, after I upgraded to v. 2021.7.0 (or actually to the v. 2021.8.1) I’m unable to accesso in remote mode to my duckdns address.
I modified configuration.yaml adding NGINX rows…

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - 172.30.33.0/24

but unsuccesfull…

Any help?

Anything in the logs?

Now anything… since I had v. 2021.6.xx there was a warning about reverse proxy changes with 2021.7.0 to configure properly with trusted_proxies as documented above
My HA is in a VM docjker in a Intel NUC… at 192.168.1.2… the nuc is linked to a ASUS UC68 router (192.168.1.1) which is linked to the modem (192.168.0.1)

The message in the log is:

A request from a reverse proxy was received from 172.30.33.10, but your HTTP integration is not set-up for reverse proxies; This request will be blocked in Home Assistant 2021.7 unless you configure your HTTP integration to allow this header

Can you try to reformat this - you can copy this one:

http:
  use_x_forwarded_for: true
  trusted_proxies: 172.30.33.0/24

Your configuration should work too, but just to eliminate possible issue with formatting etc.

RESOLVED: you must be insert the modem IP (in my case 192.168.0.1) in homeassistant section of configuration.yaml

homeassistant:
  auth_providers:
    - type: legacy_api_password
      api_password: !secret http_password
    - type: trusted_networks
      trusted_networks:
        - 127.0.0.1
        - 192.168.0.1
1 Like