Currently Home Assistant Installed on raspberry Pi 4 machine. This Pi4 is on lan cable connection. Always there was not any problem to connect. One day I released that when I trying to connect HA from my Iphone via HA app from my home wifi was blocked. I tried from different devices(windows PC android phone and 3 other iPhone) to connect to my HA, but unfortunately I can’t connect from my home local Lan network to HA.
I dont make any changes with my network or HA and more than two years it was working and I don’t know why it’s stopped working. It looks like it’s came with one of HA updates.
I just double checked and I can access my HA locally via IP:8123 or FQDN (which is local only via reverse proxy). I’m running current versions of HA.
Edit -
It sounds like you don’t know exactly when this change happened. Is there any possibility that something else with your network changed? There are so many things with networking that could be off that it’s going to be tough to offer much for troubleshooting based on what you included in the post.
As far as I can tell, nothing has changed with current releasesto make HA unavailable.
Yes I don’t know when it’s happened because most of my time I used HA app when I’m far away from my home and my phone use mobile data.
I don’t make any changes on my router since two years or more but it’s happened with HA two or three months ago.
there is configured in the configuration.yaml only HTTP.
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
ip_ban_enabled: true
login_attempts_threshold: 5
LOL, so you are “redacting” the IP, and show a picture of … An IP , does this happends to be the same which are closing it’s connection, or some other machine closing the HA-Device Connection ?
You have ipban enable , you need to removed it or commented/disable it.
http:
ssl_certificate: /ssl/fullchain.pem
ssl_key: /ssl/privkey.pem
#ip_ban_enabled: true <-remove or disable this
#login_attempts_threshold: 5 <-remove or disable this
Are you getting a persistent notification and or entry in your logs as the documentation mentions for ipban?
IP filtering and banning
If you want to apply additional IP filtering, and automatically ban brute force attempts, set ip_ban_enabled to true and the maximum number of attempts. After the first ban, an ip_bans.yaml file will be created in the root configuration folder. It will have the banned IP address and time in UTC when it was added:
127.0.0.1:
banned_at: “2016-11-16T19:20:03”
YAML
After a ban is added a Persistent Notification is populated to the Home Assistant frontend.
I’m also wondering if maybe the SSL entries are messing you up. Maybe someone else can speak to whether or not their presence or misconfiguration could prevent non-ssl access.
I don’t have those two lines under http as my SSL is handled by reverse proxy.
Edit - you could comment those lines out to see if that restores access, although that might break your only current access if it doesn’t fix it, so maybe someone else can confirm or correct my speculation.