android: Login attempt failed, ONLY happens on Android companion app not IOS app

Home Assistant Android version: 2023.1.1-full

Android version: Android 13 (TQ1A.230105.002)

Phone model: Pixel 7 Pro

Home Assistant version: 2023.1.7

Last working Home Assistant release (if known): N/A

Description of problem: So I am paying and subscribed to the HA Cloud using Nabu Casa, it works fine when away on my Dads iPhone, it even sends us both notifications, the problem is ONLY THE ANDROID APP which is what I am using doesn’t work when I open the app to see my dashboard. My Dad’s iPhone companion app does not seem affected somehow.

Traceback (if applicable, to get the logs you may refer to: https://companion.home-assistant.io/docs/troubleshooting/faqs/#android-crash-logs):

Logger: homeassistant.components.http.ban
Source: components/http/ban.py:81
Integration: HTTP (documentation, issues)
First occurred: January 29, 2023 at 11:03:40 AM (69 occurrences)
Last logged: 7:14:04 PM

Login attempt or request with invalid authentication from localhost (127.0.0.1). Requested URL: '/auth/token'. (Home Assistant/2023.1.1-3124 (Android 13; Pixel 7 Pro))
Login attempt or request with invalid authentication from localhost (127.0.0.1). Requested URL: '/api/websocket'. (Mozilla/5.0 (Linux; Android 13; Pixel 7 Pro Build/TQ1A.230105.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/110.0.5481.50 Mobile Safari/537.36 Home Assistant/2023.1.1-3124 (Android 13; Pixel 7 Pro))

Screenshot of problem: Here is a link to a screenshot. https://photos.app.goo.gl/S9aePy5NXnxBASt47

Additional information:

Even though the app works on my Dads iPhone the log still did throw this, but again it still works and connects on his iPhone, unlike my Pixel 7 Pro which does not work.

Logger: frontend.js.latest.202301100
Source: components/system_log/__init__.py:256
First occurred: January 28, 2023 at 6:29:14 PM (43 occurrences)
Last logged: 7:27:37 PM

http://192.168.2.117:8123/homekit-infused/home?external_auth=1:0:0 Uncaught
http://192.168.2.117:8123/homekit-infused/home:0:0 Uncaught
http://192.168.2.117:8123/config/dashboard:0:0 Uncaught
https://URL/frontend_latest/app.c86c7218.js:850:114174 Error: Failed to execute 'define' on 'CustomElementRegistry': the name "stack-in-card" has already been used with this registry
https://URL/frontend_latest/app.c86c7218.js:850:114174 Error: Failed to execute 'define' on 'CustomElementRegistry': the name "swipe-card" has already been used with this registry

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 20 (9 by maintainers)

Most upvoted comments

I just turned off the wifi and tested it on mobile data and it seems to have worked, will still be keeping an eye on it over the weekend as it seems to work the first time then if I come to the app again, later on, to check on it, it doesn’t work anymore.

So ill let you know what happens soon.