Home Assistant Android companion app regularly disconnected

Hi !

I’ve got two google Pixel 7 phones. The HA companion app works like a charm on mine for the last 18 months. On my wife’s (same app version, same os patchlevel), she is constantly disconnected, with a message saying “Can’t connect to HA - One error happpened while connected to HA” and she is requested to either Wait, or Update the external URL.
But this last choice circles back to the error message.

When I disable the cloud login, it works (but only from my LAN - which is the expected behaviour).

What is wrong, did I missed something ?

Thanks my friends !
Loic

check the URLs in Settings > Companion app on the impacted device

But the url is right when configured for the first time. It’s only after several minutes to hours that, when she re-opens the app, she is denied. On top of that, I am letting HA using the Home Assistant Cloud URL so I don’t even manage the URL at all.

there was a bug that was solved recently that actually did not update teh URL with that setting, can you try turning it off and see what URL is actually saved?

if you see an incorrect URL try to log out of the device and log back in to see if the correct URL is retrieved.

I don’t understand. Both internal URL work. Both external URL are greyed out.

When enabling HA Cloud, I don’t manage the URLs anymore. For now, works fine.

I am quite sure in 1 or 2 hours, I’ll get this new error again and again.

next time you get the pop-up go to Settings > troubleshooting > show and share logs and look at the error there

Here it is.

--------- beginning of main
03-20 22:55:06.278  9544  7498 D vulkan  : searching for layers in '/data/app/~~657RcdkGI1_WDKbH1UEcSQ==/io.homeassistant.companion.android-PabRXhk4Zk7MKmd7C9GaJQ==/lib/arm64'
03-20 22:55:06.278  9544  7498 D vulkan  : searching for layers in '/data/app/~~657RcdkGI1_WDKbH1UEcSQ==/io.homeassistant.companion.android-PabRXhk4Zk7MKmd7C9GaJQ==/base.apk!/lib/arm64-v8a'
03-20 22:55:06.278  9544  7498 D vulkan  : searching for layers in '/data/app/~~657RcdkGI1_WDKbH1UEcSQ==/io.homeassistant.companion.android-PabRXhk4Zk7MKmd7C9GaJQ==/split_config.arm64_v8a.apk!/lib/arm64-v8a'
03-20 22:55:06.279  9544  7498 D vulkan  : searching for layers in '/data/app/~~657RcdkGI1_WDKbH1UEcSQ==/io.homeassistant.companion.android-PabRXhk4Zk7MKmd7C9GaJQ==/split_config.xxhdpi.apk!/lib/arm64-v8a'
03-20 22:55:06.325  9544  9544 D CompatibilityChangeReporter: Compat change id reported: 309578419; UID 10339; state: DISABLED
03-20 22:55:06.369  9544  9544 D CompatibilityChangeReporter: Compat change id reported: 237531167; UID 10339; state: DISABLED
03-20 22:55:06.375  9544  9544 D SensorReceiver: Received intent: android.intent.action.SCREEN_OFF
03-20 22:55:06.375  9544  9544 D SensorReceiver: Sensor is_interactive corresponding to received event android.intent.action.SCREEN_OFF is disabled, skipping sensors update
03-20 22:55:06.375  9544  9544 D ButtonWidget: Broadcast received: 
03-20 22:55:06.375  9544  9544 D ButtonWidget: Broadcast action: android.intent.action.SCREEN_OFF
03-20 22:55:06.375  9544  9544 D ButtonWidget: AppWidgetId: -1
03-20 22:55:06.375  9544  9544 D MediaPlayCtrlsWidget: Broadcast received: 
03-20 22:55:06.375  9544  9544 D MediaPlayCtrlsWidget: Broadcast action: android.intent.action.SCREEN_OFF
03-20 22:55:06.375  9544  9544 D MediaPlayCtrlsWidget: AppWidgetId: -1
03-20 22:55:06.397  9544  9544 D SensorReceiver: Received intent: android.intent.action.SCREEN_ON
03-20 22:55:06.397  9544  9544 D SensorReceiver: Sensor is_interactive corresponding to received event android.intent.action.SCREEN_ON is disabled, skipping sensors update
03-20 22:55:06.397  9544  9544 D ButtonWidget: Broadcast received: 
03-20 22:55:06.397  9544  9544 D ButtonWidget: Broadcast action: android.intent.action.SCREEN_ON
03-20 22:55:06.397  9544  9544 D ButtonWidget: AppWidgetId: -1
03-20 22:55:06.398  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.398  9544  9544 D MediaPlayCtrlsWidget: Broadcast received: 
03-20 22:55:06.398  9544  9544 D MediaPlayCtrlsWidget: Broadcast action: android.intent.action.SCREEN_ON
03-20 22:55:06.398  9544  9544 D MediaPlayCtrlsWidget: AppWidgetId: -1
03-20 22:55:06.398  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.398  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.403  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.403  9544  9544 D ServerConnectionInfo: Using cloud / remote UI URL
03-20 22:55:06.403  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.409  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.409  9544  9544 D ServerConnectionInfo: Using cloud / remote UI URL
03-20 22:55:06.409  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.415  9544  9591 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.454  9544  9544 W mpanion.android: Accessing hidden method Landroid/content/res/Resources$Theme;->getKey()Landroid/content/res/Resources$ThemeKey; (max-target-o, reflection, denied)
03-20 22:55:06.458  9544  7517 D TrafficStats: tagSocket(129) with statsTag=0xffffffff, statsUid=-1
03-20 22:55:06.493  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.499  9544  9591 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.499  9544  9598 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=0a69155d-c6dd-4e85-8646-d4552284195c, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
03-20 22:55:06.507  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.517  9544  9544 I cr_CombinedPProvider: #registerProvider() provider:WV.z7@e7b0034 isPolicyCacheEnabled:false policyProvidersSize:0
03-20 22:55:06.518  9544  9544 I cr_PolicyProvider: #setManagerAndSource() 0
03-20 22:55:06.534  9544  9544 I cr_CombinedPProvider: #linkNativeInternal() 1
03-20 22:55:06.534  9544  9544 I cr_AppResProvider: #getApplicationRestrictionsFromUserManager() Bundle[EMPTY_PARCEL]
03-20 22:55:06.534  9544  9544 I cr_PolicyProvider: #notifySettingsAvailable() 0
03-20 22:55:06.534  9544  9544 I cr_CombinedPProvider: #onSettingsAvailable() 0
03-20 22:55:06.534  9544  9544 I cr_CombinedPProvider: #flushPolicies()
03-20 22:55:06.568  9544  9544 D CompatibilityChangeReporter: Compat change id reported: 214741472; UID 10339; state: ENABLED
03-20 22:55:06.572  9544  9544 D CompatibilityChangeReporter: Compat change id reported: 171228096; UID 10339; state: ENABLED
03-20 22:55:06.599  9544  9544 D CompatibilityChangeReporter: Compat change id reported: 210923482; UID 10339; state: ENABLED
03-20 22:55:06.599  9544  9544 D CompatibilityChangeReporter: Compat change id reported: 63938206; UID 10339; state: DISABLED
03-20 22:55:06.621  9544  9544 D RenderScript HIDL Adaptation: IRenderScriptDevice::getService()
03-20 22:55:06.625  9544  9544 D RenderScript HIDL Adaptation: IRenderScriptDevice::getService() returned 0x0
03-20 22:55:06.625  9544  9544 D RenderScript HIDL Adaptation: Using Fallback Path.
03-20 22:55:06.644  9544  9591 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.652  9544  9544 D mpanion.android: Successfully queried cache dir: /data/user_de/0/io.homeassistant.companion.android/code_cache
03-20 22:55:06.652  9544  9544 D RenderScript: Setting cache dir: /data/user_de/0/io.homeassistant.companion.android/code_cache
03-20 22:55:06.654  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.654  9544  9544 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1710971706654)
03-20 22:55:06.658  9544  9544 D WebviewActivity: Current webview package com.google.android.webview and version 122.0.6261.119
03-20 22:55:06.660  9544  9544 D WebviewActivity: Matter/Thread step changed to NOT_STARTED
03-20 22:55:06.661  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.661  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.661  9544  9544 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1710971706661)
03-20 22:55:06.705  9544  9591 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.705  9544  9591 D ServerConnectionInfo: Using cloud / remote UI URL
03-20 22:55:06.707  9544  9591 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.707  9544  9591 D ServerConnectionInfo: Using cloud / remote UI URL
03-20 22:55:06.708  9544  9591 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.708  9544  9591 D ServerConnectionInfo: Using cloud / remote UI URL
03-20 22:55:06.713  9544  9544 D CompatibilityChangeReporter: Compat change id reported: 193247900; UID 10339; state: ENABLED
03-20 22:55:06.741  9544  7633 D TrafficStats: tagSocket(237) with statsTag=0xffffffff, statsUid=-1
03-20 22:55:06.745  9544  7641 D TrafficStats: tagSocket(245) with statsTag=0xffffffff, statsUid=-1
03-20 22:55:06.775  9544  9602 I WM-Processor: Moving WorkSpec (ac9bfafb-f22c-4b70-aaf2-270157ab354d) to the foreground
03-20 22:55:06.775  9544  9591 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.782  9544  9591 D SensorWorker: Updating all Sensors in foreground.
03-20 22:55:06.782  9544  9602 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=346b1ede-3da4-4064-b090-24ed9763ce53, tags={ io.homeassistant.companion.android.websocket.WebsocketManager } ]
03-20 22:55:06.783  9544  9591 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.793  9544  9544 I WM-SystemFgDispatcher: Started foreground service Intent { act=ACTION_START_FOREGROUND cmp=io.homeassistant.companion.android/androidx.work.impl.foreground.SystemForegroundService (has extras) }
03-20 22:55:06.813  9544  9593 D LocBroadcastReceiver: Background location updates appear to have stopped, restarting location updates
03-20 22:55:06.813  9544  9593 D LocBroadcastReceiver: Removing background location requests.
03-20 22:55:06.817  9544  9593 D LocBroadcastReceiver: Registering for location updates.
03-20 22:55:06.818  9544  9544 D VRI[LaunchActivity]: visibilityChanged oldVisibility=true newVisibility=false
03-20 22:55:06.820  9544  9544 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.app.Activity$$ExternalSyntheticLambda0@5ce8e31
03-20 22:55:06.832  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.833  9544  9544 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1710971706833)
03-20 22:55:06.843  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.843  9544  9544 D ServerConnectionInfo: Using cloud / remote UI URL
03-20 22:55:06.844  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.844  9544  9544 D ServerConnectionInfo: Using cloud / remote UI URL
03-20 22:55:06.849  9544  9591 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.850  9544  9591 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:06.931  9544  9593 E WebSocketRepository: Unable to connect
03-20 22:55:06.931  9544  9593 E WebSocketRepository: io.homeassistant.companion.android.common.data.authentication.AuthorizationException
03-20 22:55:06.931  9544  9593 E WebSocketRepository: 	at io.homeassistant.companion.android.common.data.authentication.impl.AuthenticationRepositoryImpl.refreshSessionWithToken(AuthenticationRepositoryImpl.kt:175)
03-20 22:55:06.931  9544  9593 E WebSocketRepository: 	at io.homeassistant.companion.android.common.data.authentication.impl.AuthenticationRepositoryImpl.access$refreshSessionWithToken(AuthenticationRepositoryImpl.kt:16)
03-20 22:55:06.931  9544  9593 E WebSocketRepository: 	at io.homeassistant.companion.android.common.data.authentication.impl.AuthenticationRepositoryImpl$refreshSessionWithToken$1.invokeSuspend(Unknown Source:15)
03-20 22:55:06.931  9544  9593 E WebSocketRepository: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
03-20 22:55:06.931  9544  9593 E WebSocketRepository: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
03-20 22:55:06.931  9544  9593 E WebSocketRepository: 	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
03-20 22:55:06.931  9544  9593 E WebSocketRepository: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
03-20 22:55:06.931  9544  9593 E WebSocketRepository: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
03-20 22:55:06.931  9544  9593 E WebSocketRepository: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
03-20 22:55:06.931  9544  9593 E WebSocketRepository: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
03-20 22:55:06.931  9544  9593 E WebSocketRepository: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
03-20 22:55:06.931  9544  9593 W WebSocketRepository: Unable to send message, not connected: WebSocketRequest(message={type=auth/current_user}, timeout=30000, eventFlow=null, eventTimeout=0, onEvent=null, onResponse=null)
03-20 22:55:06.932  9544  7633 D WebSocketRepository: Websocket: onOpen
03-20 22:55:06.933  9544  7633 D WebSocketRepository: Websocket: onMessage (text)
03-20 22:55:06.941  9544  7633 D WebSocketRepository: Message number null received
03-20 22:55:06.941  9544  9593 D WebSocketRepository: Auth Requested
03-20 22:55:06.975  9544  9591 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:07.029  9544  9591 I SensorReceiver: Sensor updates and sync completed
03-20 22:55:07.029  9544  9602 I WM-WorkerWrapper: Worker result SUCCESS for Work [ id=ac9bfafb-f22c-4b70-aaf2-270157ab354d, tags={ io.homeassistant.companion.android.sensors.SensorWorker } ]
03-20 22:55:07.038  9544  9544 I WM-SystemFgDispatcher: Stopping foreground service
03-20 22:55:07.574  9544  7594 D WebviewActivity: External bus {"type":"config/get","id":1}
03-20 22:55:07.574  9544  9544 D WebviewActivity: externalBus({"id":1,"type":"result","success":true,"result":{"hasSettingsScreen":true,"canWriteTag":true,"hasExoPlayer":true,"canCommissionMatter":true,"canImportThreadCredentials":true,"hasAssist":true}});
03-20 22:55:07.581  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:07.581  9544  9544 D ServerConnectionInfo: Using cloud / remote UI URL
03-20 22:55:07.582  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:07.582  9544  9544 D ServerConnectionInfo: Using cloud / remote UI URL
03-20 22:55:07.583  9544  9544 D WebviewActivity: Callback null
03-20 22:55:07.583  9544  9544 D WebviewActivity: Color from webview is "#03a9f4-SPACER-#fafafa"
03-20 22:55:07.583  9544  9544 D WebviewActivity: Color from webview is "#03a9f4-SPACER-#fafafa"
03-20 22:55:07.584  9544  9591 D WebViewPresenterImpl: Try getting color from webview color "#03a9f4".
03-20 22:55:07.584  9544  9591 I WebViewPresenterImpl: Found color -16537100.
03-20 22:55:07.584  9544  9591 D WebViewPresenterImpl: Try getting color from webview color "#fafafa".
03-20 22:55:07.584  9544  9591 I WebViewPresenterImpl: Found color -328966.
03-20 22:55:07.619  9544  9544 E WebViewPresenterImpl: Unable to retrieve external auth
03-20 22:55:07.619  9544  9544 E WebViewPresenterImpl: io.homeassistant.companion.android.common.data.authentication.AuthorizationException
03-20 22:55:07.619  9544  9544 E WebViewPresenterImpl: 	at io.homeassistant.companion.android.common.data.authentication.impl.AuthenticationRepositoryImpl.refreshSessionWithToken(AuthenticationRepositoryImpl.kt:175)
03-20 22:55:07.619  9544  9544 E WebViewPresenterImpl: 	at io.homeassistant.companion.android.common.data.authentication.impl.AuthenticationRepositoryImpl.access$refreshSessionWithToken(AuthenticationRepositoryImpl.kt:16)
03-20 22:55:07.619  9544  9544 E WebViewPresenterImpl: 	at io.homeassistant.companion.android.common.data.authentication.impl.AuthenticationRepositoryImpl$refreshSessionWithToken$1.invokeSuspend(Unknown Source:15)
03-20 22:55:07.619  9544  9544 E WebViewPresenterImpl: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
03-20 22:55:07.619  9544  9544 E WebViewPresenterImpl: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
03-20 22:55:07.619  9544  9544 E WebViewPresenterImpl: 	at android.os.Handler.handleCallback(Handler.java:959)
03-20 22:55:07.619  9544  9544 E WebViewPresenterImpl: 	at android.os.Handler.dispatchMessage(Handler.java:100)
03-20 22:55:07.619  9544  9544 E WebViewPresenterImpl: 	at android.os.Looper.loopOnce(Looper.java:232)
03-20 22:55:07.619  9544  9544 E WebViewPresenterImpl: 	at android.os.Looper.loop(Looper.java:317)
03-20 22:55:07.619  9544  9544 E WebViewPresenterImpl: 	at android.app.ActivityThread.main(ActivityThread.java:8501)
03-20 22:55:07.619  9544  9544 E WebViewPresenterImpl: 	at java.lang.reflect.Method.invoke(Native Method)
03-20 22:55:07.619  9544  9544 E WebViewPresenterImpl: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
03-20 22:55:07.619  9544  9544 E WebViewPresenterImpl: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
03-20 22:55:07.620  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:07.620  9544  9544 D ServerConnectionInfo: Using cloud / remote UI URL
03-20 22:55:07.624  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:07.627  9544  9544 D CompatibilityChangeReporter: Compat change id reported: 232195501; UID 10339; state: DISABLED
03-20 22:55:07.661  9544  9544 D CompatibilityChangeReporter: Compat change id reported: 280005585; UID 10339; state: DISABLED
03-20 22:55:07.700  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:07.700  9544  9544 D ServerConnectionInfo: Using cloud / remote UI URL
03-20 22:55:07.701  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:07.701  9544  9544 D ServerConnectionInfo: Using cloud / remote UI URL
03-20 22:55:07.746  9544  9544 E WebViewPresenterImpl: Unable to retrieve external auth
03-20 22:55:07.746  9544  9544 E WebViewPresenterImpl: io.homeassistant.companion.android.common.data.authentication.AuthorizationException
03-20 22:55:07.746  9544  9544 E WebViewPresenterImpl: 	at io.homeassistant.companion.android.common.data.authentication.impl.AuthenticationRepositoryImpl.refreshSessionWithToken(AuthenticationRepositoryImpl.kt:175)
03-20 22:55:07.746  9544  9544 E WebViewPresenterImpl: 	at io.homeassistant.companion.android.common.data.authentication.impl.AuthenticationRepositoryImpl.access$refreshSessionWithToken(AuthenticationRepositoryImpl.kt:16)
03-20 22:55:07.746  9544  9544 E WebViewPresenterImpl: 	at io.homeassistant.companion.android.common.data.authentication.impl.AuthenticationRepositoryImpl$refreshSessionWithToken$1.invokeSuspend(Unknown Source:15)
03-20 22:55:07.746  9544  9544 E WebViewPresenterImpl: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
03-20 22:55:07.746  9544  9544 E WebViewPresenterImpl: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
03-20 22:55:07.746  9544  9544 E WebViewPresenterImpl: 	at android.os.Handler.handleCallback(Handler.java:959)
03-20 22:55:07.746  9544  9544 E WebViewPresenterImpl: 	at android.os.Handler.dispatchMessage(Handler.java:100)
03-20 22:55:07.746  9544  9544 E WebViewPresenterImpl: 	at android.os.Looper.loopOnce(Looper.java:232)
03-20 22:55:07.746  9544  9544 E WebViewPresenterImpl: 	at android.os.Looper.loop(Looper.java:317)
03-20 22:55:07.746  9544  9544 E WebViewPresenterImpl: 	at android.app.ActivityThread.main(ActivityThread.java:8501)
03-20 22:55:07.746  9544  9544 E WebViewPresenterImpl: 	at java.lang.reflect.Method.invoke(Native Method)
03-20 22:55:07.746  9544  9544 E WebViewPresenterImpl: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
03-20 22:55:07.746  9544  9544 E WebViewPresenterImpl: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
03-20 22:55:07.747  9544  9544 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:07.747  9544  9544 D ServerConnectionInfo: Using cloud / remote UI URL
03-20 22:55:11.518  9544  9544 W WindowOnBackDispatcher: sendCancelIfRunning: isInProgress=falsecallback=android.app.Dialog$$ExternalSyntheticLambda2@4a12711
03-20 22:55:11.519  9544  7498 D HWUI    : endAllActiveAnimators on 0xb400006dab372900 (RippleDrawable) with handle 0xb400006e9b3802f0
03-20 22:55:11.524  9544  9544 D IntegrationRepository: setAppActive(): false
03-20 22:55:11.525  9544  9544 D IntegrationRepository: setAppActive(): false
03-20 22:55:11.528  9544  9544 D SensorReceiver: Received intent: io.homeassistant.companion.android.UPDATE_SENSORS
03-20 22:55:11.529  9544  9591 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:11.551  9544  9590 D LocBroadcastReceiver: Background location updates appear to have stopped, restarting location updates
03-20 22:55:11.551  9544  9590 D LocBroadcastReceiver: Removing background location requests.
03-20 22:55:11.554  9544  9590 D LocBroadcastReceiver: Registering for location updates.
03-20 22:55:11.561  9544  9591 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:11.562  9544  9591 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:11.597  9544  9544 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1710971711597)
03-20 22:55:11.644  9544  9591 D ServerConnectionInfo: localUrl is: false, usesInternalSsid is: false, usesWifi is: true
03-20 22:55:11.661  9544  9544 D SettingsWearDetection: API unavailable for discovering nodes (no Wear)
03-20 22:55:11.662  9544  7775 D TrafficStats: tagSocket(307) with statsTag=0xffffffff, statsUid=-1
03-20 22:55:11.777  9544  9544 D IntegrationRepository: isAppLocked(): false. (LockEnabled: false, appActive: false, expireMillis: 0, currentMillis: 1710971711777)
03-20 22:55:11.777  9544  9544 D IntegrationRepository: setAppActive(): true
03-20 22:55:12.144  9544  9544 D VRI[WebViewActivity]: visibilityChanged oldVisibility=true newVisibility=false
03-20 22:55:12.157  9544  9544 D VRI[WebViewActivity]: Not drawing due to not visible
03-20 22:55:12.945  9544  9591 D SensorReceiver: Nothing to update for server 3 (Home)
03-20 22:55:12.946  9544  9591 I SensorReceiver: Sensor updates and sync completed
03-20 22:55:16.983  9544  7633 E WebSocketRepository: Websocket: onFailure
03-20 22:55:16.983  9544  7633 E WebSocketRepository: java.io.EOFException
03-20 22:55:16.983  9544  7633 E WebSocketRepository: 	at okio.RealBufferedSource.require(RealBufferedSource.kt:202)
03-20 22:55:16.983  9544  7633 E WebSocketRepository: 	at okio.RealBufferedSource.readByte(RealBufferedSource.kt:212)
03-20 22:55:16.983  9544  7633 E WebSocketRepository: 	at okhttp3.internal.ws.WebSocketReader.readHeader(WebSocketReader.kt:119)
03-20 22:55:16.983  9544  7633 E WebSocketRepository: 	at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.kt:102)
03-20 22:55:16.983  9544  7633 E WebSocketRepository: 	at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.kt:293)
03-20 22:55:16.983  9544  7633 E WebSocketRepository: 	at okhttp3.internal.ws.RealWebSocket$connect$1.onResponse(RealWebSocket.kt:195)
03-20 22:55:16.983  9544  7633 E WebSocketRepository: 	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
03-20 22:55:16.983  9544  7633 E WebSocketRepository: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
03-20 22:55:16.983  9544  7633 E WebSocketRepository: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
03-20 22:55:16.983  9544  7633 E WebSocketRepository: 	at java.lang.Thread.run(Thread.java:1012)
03-20 22:55:18.505  9544  9590 D LogcatReader: Read logcat for pid 9544

please log out of the device and log back in, should solve the issue