core: Login Attempt Failed

The problem

Every few hours I get a notification

Login attempt failed
Login attempt or request with invalid authentication from supervisor (172.30.32.2). See the log for details.

Looking in the log details I see:

Logger: homeassistant.components.http.ban
Source: components/http/ban.py:82
Integration: HTTP (documentation, issues)
First occurred: 11:27:54 (1 occurrences)
Last logged: 11:27:54

Login attempt or request with invalid authentication from supervisor (172.30.32.2). Requested URL: '/api/config'. (HomeAssistantSupervisor/2023.04.1 aiohttp/3.8.4 Python/3.10)

I have searched and searched, and I’ve never seen any resolution that explains how to troubleshoot this at all.

What version of Home Assistant Core has the issue?

core-2023.5.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

http

Link to integration documentation on our website

https://www.home-assistant.io/integrations/http

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.http.ban
Source: components/http/ban.py:82
Integration: HTTP (documentation, issues)
First occurred: 11:27:54 (1 occurrences)
Last logged: 11:27:54

Login attempt or request with invalid authentication from supervisor (172.30.32.2). Requested URL: '/api/config'. (HomeAssistantSupervisor/2023.04.1 aiohttp/3.8.4 Python/3.10)

Additional information

Home Assistant core log shows this error. No other logs show any entry for the same time, and no functionality appears impaired.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 5
  • Comments: 21

Most upvoted comments

I have the same problem as soon as I log in from another network via Cloudflare.

Logger: homeassistant.components.http.ban Source: components/http/ban.py:80 Integration: HTTP (documentation, issues) First occurred: 15. August 2023 um 17:37:12 (9 occurrences) Last logged: 15. August 2023 um 17:43:52 Login attempt or request with invalid authentication from 2a00:c98:4002:2001:32c3:dbf7:d0ca:300f (2a00:c98:4002:2001:32c3:dbf7:d0ca:300f). Requested URL: ‘/auth/token’. (Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0)

Yours appears to be a different issue. You’re requesting auth/token whereas in the initial case we are talking about API/config I recommend opening a separate issue for this.

I have the same.

Logger: homeassistant.components.http.ban Source: components/http/ban.py:80 Integration: HTTP (documentation, issues) First occurred: 18:32:59 (3 occurrences) Last logged: 18:33:23 Login attempt or request with invalid authentication from localhost (127.0.0.1). Requested URL: ‘/api/websocket’. (Mozilla/5.0 (Linux; Android 11; Mi 9 SE Build/RKQ1.200826.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/114.0.5735.131 Mobile Safari/537.36 Home Assistant/2023.6.0-10170 (Android 11; Mi 9 SE))

Yours appears to be a different issue. You’re requesting API/websocket whereas in the initial case we are talking about API/config I recommend opening a separate issue for this.