Nabu.casa remote login blocked by reverse proxy config

Hi,
I’ve noticed errors like reported at https://github.com/home-assistant/core/issues/41420#issuecomment-896529349 in my log (though only once when HA starts, not repeating like some report there) and this led me to discover when I click the nabu.casa link that’s supposed to get me to my HA I get 403: Forbidden (which is what I get if I log in from address not listed in http.yaml reverse proxy config), however in log it says the connection was successful.

2021-08-11 11:53:23 WARNING (SyncWorker_2) [custom_components.authenticated.sensor] New successful login from unknown IP (143.244.37.23)

My own reverse proxy works, I do not really need the nabu.casa link as I do not use it, I subbed for the alexa support and am worried it will affect this.

My http.yaml:

  use_x_forwarded_for: true
  trusted_proxies:
    - 172.0.0.0/8
    - 192.168.0.0/16
  ip_ban_enabled: true
  login_attempts_threshold: 5

So I was wondering if I need to add range for nabu casa as well and if so can you tell me what ip range it uses?

After running into issues running a reverse proxy and nabu casa for Google Home support I figured out the solution to allow both Nabu casa and a reverse proxy. Simply add 127.0.0.1 as a trusted proxy.

1 Like