Home Assistant release with the issue:
Version: 0.97.2
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
System: HassOS 2.12
Deployment: production
Installed on Raspberry Pi 3
Component/platform:
HTTP (ip_ban.yaml) / Auth
Description of problem:
Every few days, I get my own IP banned. This usually happens while navigating on my Macbook or Android phone (web version).
If I am using DuckDNS URL, the IP that gets banned is always my external IP. This blocks me from using the DuckDNS URL. Then, I need to use the local Raspberry IP, use configurator to remove the IP Ban entry and get it fixed.
However, this also happens if I am using the local network IP for the Raspberry Pi to use the UI. In this case, my internal IP would be banned instead. I do not have an iPhone. I only use web on my Mac and Android phone. The Android phone is usually open in the Lovelace home view.
This is hard to reproduce, but it is happening at least once a week.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
ip_ban_enabled: true
login_attempts_threshold: 3
and my Auth provider is homeassistant:
auth_providers:
- type: homeassistant
I have DuckDNS Add-On installed. However, as stated, it would ban internal or external IP depending on whether I am using DuckDNS URL or Raspberry Pi IP directly.
Additional information:
I do not want to disable either protection system, I just want to understand why my own IP gets banned without any manual intervention. Note that I’ve also checked the time at which I got banned, and there were no other devices connected to my internet. So it’s not like someone accessed my local network and sent requests on my behalf.
Any ideas on what could be triggering this?
Home Assistant release with the issue:
Version: 0.97.2
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
System: HassOS 2.12
Deployment: production
Installed on Raspberry Pi 3
Component/platform:
HTTP (ip_ban.yaml) / Auth
Description of problem:
Every few days, I get my own IP banned. This usually happens while navigating on my Macbook or Android phone (web version).
If I am using DuckDNS URL, the IP that gets banned is always my external IP. This blocks me from using the DuckDNS URL. Then, I need to use the local Raspberry IP, use configurator to remove the IP Ban entry and get it fixed.
However, this also happens if I am using the local network IP for the Raspberry Pi to use the UI. In this case, my internal IP would be banned instead. I do not have an iPhone. I only use web on my Mac and Android phone. The Android phone is usually open in the Lovelace home view.
This is hard to reproduce, but it is happening at least once a week.
Problem-relevant
configuration.yamlentries and (fill out even if it seems unimportant):and my Auth provider is homeassistant:
I have DuckDNS Add-On installed. However, as stated, it would ban internal or external IP depending on whether I am using DuckDNS URL or Raspberry Pi IP directly.
Additional information:
I do not want to disable either protection system, I just want to understand why my own IP gets banned without any manual intervention. Note that I’ve also checked the time at which I got banned, and there were no other devices connected to my internet. So it’s not like someone accessed my local network and sent requests on my behalf.
Any ideas on what could be triggering this?