Symptom

You are using the Remote UI feature. Instead of the Home Assistant user interface, the browser shows a 403 Forbidden message.

Cause

403 Forbidden indicates that IP banning has been configured in your configuration.yaml file and that the ban has been triggered.

# Example configuration.yaml entry
http:
  trusted_proxies:
    - 10.0.0.200
    - 172.30.33.0/24
  ip_ban_enabled: true
  login_attempts_threshold: 5
Resolution
  1. Open your configuration.yaml file.

  2. If ip_ban_enabled is set to true:

    • In the configuration folder, you should see an ip_bans.yaml file.

    • In the ip_bans.yaml file, delete the 127.0.0.1 entry.

      127.0.0.1:
        banned_at: "2023-07-17T14:20:03"
      
  3. To apply the changes, save the ip_bans.yaml file and restart Home Assistant.