Happening on both the iOS and MacOS.
Every now and then, I get duplicate devices in the Mobile integration.
- To login I have to provide a new name.
- A new device and entities are created (messing up reporting, charts, etc.)
Question: why would HA not recognize the (existing) client?
The logs contained about 2,000 “login attempt” messages (in 12 minutes) plus a few “ConnectionResetErrors”.
2022-01-16 11:18:46 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from Dxxxxxxx-M-60CG (192.168.2.2). (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2021.12 (io.robbie.HomeAssistant; build:2021.322; macOS 12.1.0) Mobile/HomeAssistant, like Safari)
2022-01-16 11:18:46 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from Dxxxxxxx-M-60CG (192.168.2.2). (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2021.12 (io.robbie.HomeAssistant; build:2021.322; macOS 12.1.0) Mobile/HomeAssistant, like Safari)
2022-01-16 11:18:46 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from Dxxxxxxx-M-60CG (192.168.2.2). (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Home Assistant/2021.12 (io.robbie.HomeAssistant; build:2021.322; macOS 12.1.0) Mobile/HomeAssistant, like Safari)
2022-01-16 11:18:47 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/http_websocket.py", line 676, in ping
await self._send_frame(message, WSMsgType.PING)
File "/usr/local/lib/python3.9/site-packages/aiohttp/http_websocket.py", line 653, in _send_frame
self._write(header + message)
File "/usr/local/lib/python3.9/site-packages/aiohttp/http_websocket.py", line 663, in _write
raise ConnectionResetError("Cannot write to closing transport")
ConnectionResetError: Cannot write to closing transport
Any idea why this happens?
Thank you!
DJ