There are multiple reasons Home Assistant Cloud cannot be reached. This page provides instructions how to troubleshoot when you see the "403 Forbidden" message.
Message: 403 Forbidden
Symptom
You are using remote access 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
-
Open your
configuration.yamlfile. -
If
ip_ban_enabledis set to true:-
In the configuration folder, you should see an
ip_bans.yamlfile. -
In the
ip_bans.yamlfile, delete the127.0.0.1entry.127.0.0.1: banned_at: "2023-07-17T14:20:03"
-
-
To apply the changes, save the
ip_bans.yamlfile and restart Home Assistant.