Hello, I have installed Home Assistant via Docker on my Ubuntu server. I immediately started getting every 5-6 seconds the following info message in the log:
2022-05-02 00:19:08 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from Workstation (192.168.1.234). (Mozilla/5.0 (Windows NT 6.2; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.15.2 Chrome/83.0.4103.122 Safari/537.36)
I’ve read the documentation, but I couldn’t figure out how to solve the issue. I also looked in the forum but none of the suggestions seems to work for me.
Maybe someone can give me a hand to solve this? Thanks a lot for reading!
If 192.168.1.234 is in your network, try adding this to your configuration.yaml
http:
trusted_proxies:
- 192.168.1.0/16
This will allow all requests coming from your LAN. If this is too wide of a net for you, you can restrict to a specific IP there.
See here for more HTTP - Home Assistant
Take a look on you ip_bans.yaml file. This IP might be there in the list of banned IPs.
You can remove it, but in the end, you have to investigate why you got to this situation (typically too many invalid login requests from that address) and try to fix the root cause (set the credential properly).