Logs full of messages / Random local disconnections of Companion

I’ve got a couple of companion tablets displaying (from 8h to 23h every day) some energy statistics. Tablets are placed on an static place, inside home, wifi only.

HA companion has location permissions.
Internal URL is set to: http://192.168.1.100:8123/
SSID is set to my wifi’s SSID
core 2025.1.5
app companion up to date
android 12 (M10 gen3 lenovo)

errors may be unrelated

From the past month the oldest one (purchased with 3 months of difference) has started to “disconnect” again showing a pop up message:
“Unable to connect to Home Assistant”
With three options “WAIT” “REFRESH EXTERNAL URL” “SETTINGS”
The message can be there for hours no matter “connection is re-stablished”, which I’m sure it is: If you click on “REFRESH…” connects back without issue.

The problem is, with both tablets side by side, same model, same OS version, same wifi network. If I check the wifi logs the device hasn’t disconnected from the network for days, same AP.

Checking the companion logs I get this message over and over (1):

01-29 08:59:28.966 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb

The logs look like this, the message is repeated 5-15 times per second:

01-29 09:00:02.123 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.123 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.123 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.204 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.204 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.204 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.205 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.208 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.208 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.209 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.209 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.212 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.212 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.212 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.212 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.212 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.213 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.213 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.867 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:02.867 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb
01-29 09:00:03.132 23172 23279 E GPUAUX  : [AUX]GuiExtAuxCheckAuxPath:667: Null anb

Then only code I get about the disconnection is (2):

01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: Unable to retrieve external auth
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: java.net.SocketTimeoutException: failed to connect to /192.168.1.22 (port 8123) from /192.168.1.210 (port 36182) after 10000ms
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at libcore.io.IoBridge.connectErrno(IoBridge.java:235)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at libcore.io.IoBridge.connect(IoBridge.java:179)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at java.net.Socket.connect(Socket.java:646)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
01-29 09:31:42.329 23172 23172 E WebViewPresenterImpl: 	at java.lang.Thread.run(Thread.java:1012)
01-29 09:31:42.443 23172 23172 I BufferQueueConsumer: [](id:5a8400000029,api:0,p:-1,c:23172) connect: controlledByApp=false
01-29 09:31:42.444 23172 23172 I BLASTBufferQueue: [ViewRootImpl[WebViewActivity]#41] constructor()
01-29 09:31:42.446 23172 23279 I BufferQueueProducer: [ViewRootImpl[WebViewActivity]#41(BLAST Consumer)41](id:5a8400000029,api:1,p:23172,c:23172) connect: api=1 producerControlledByApp=true

Both companion-tablets exihibit the same log message (1) but only one gets disconnected randomly 3-4 times a day showing data log (2).

Any hints on how to approach this issue?

Update: the second errors (2) seems to be related to the frontend. This user had the same problem (and error) with 2021.12.3 and 2021.10 versions.

I manually updated Android WebView to 120.0.6099.230 it wasn’t on apps list for update in the store, but had an updated if searched through:
configuration >> aps >> android webview >> app information

After updating webview I still have all those GuiExtAuxCheckAuxPath errors.

this is the actual error to be solved that cannot be solved by the app

I factory reset (again), one having the issue and the other not having it.
I decided to update the failing one to android 13.

Problem solved after updating to android 13.