prefixkit Ask an engineerAsk Support RU

Error reference · Home Assistant

Home Assistant: A request from a reverse proxy was received from 172.30.33.0, but your HTTP integration…

A request from a reverse proxy was received from 172.30.33.0, but your HTTP integration is not set-up for reverse proxies

What it means

Home Assistant got a request with an X-Forwarded-For header from a proxy it does not trust, and answered 400: Bad Request.

Why it happens

  • A reverse proxy (nginx, Caddy, Nginx Proxy Manager, the Cloudflared add-on) is in front of Home Assistant, but configuration.yaml has no http: block for it.
  • use_x_forwarded_for is on, but the proxy’s address is not in trusted_proxies.

How to fix it

  1. Add to configuration.yaml: http: use_x_forwarded_for: true and trusted_proxies with the address from the message (for HA OS add-ons: 172.30.33.0/24).
  2. Check the configuration (Developer tools → YAML) and restart Home Assistant: http: changes need a full restart.
  3. The remote access generator writes the right block for each proxy type.

Useful tools

/home-assistant-remote-access/ · /home-assistant-yaml-checker/

Other Home Assistant errors

Idea?