question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

App won't connect to HA via SSID if internet is down and mobile data is on

See original GitHub issue

Home Assistant Android version: 2022.10.2-full Android version: Emui 12.0.0 Phone model: Huawei alp-l29 Home Assistant version: 2022.10.5 Last working Home Assistant release (if known):

Description of problem: If home internet is down and mobile data and wifi are active the app won’t connect to the local address. Turning off mobile data allows it to connect to the local address. Local address is IP not FQDN. Traceback (if applicable, to get the logs you may refer to: https://companion.home-assistant.io/docs/troubleshooting/faqs/#android-crash-logs):

--------- beginning of main
10-27 16:50:45.486  7824  4137 E SensorReceiver: Error while getting core config to sync sensor status
10-27 16:50:45.486  7824  4137 E SensorReceiver: io.homeassistant.companion.android.common.data.integration.IntegrationException: java.net.ConnectException: Failed to connect to /192.168.0.5:8123
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl.getConfig(IntegrationRepositoryImpl.kt:547)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl$getConfig$1.invokeSuspend(Unknown Source:14)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
10-27 16:50:45.486  7824  4137 E SensorReceiver: Caused by: java.net.ConnectException: Failed to connect to /192.168.0.5:8123
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:297)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at java.lang.Thread.run(Thread.java:929)
10-27 16:50:45.486  7824  4137 E SensorReceiver: Caused by: java.net.ConnectException: failed to connect to /192.168.0.5 (port 8123) from /10.193.232.218 (port 56182) after 10000ms: isConnected failed: EHOSTUNREACH (No route to host)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.isConnected(IoBridge.java:288)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.connectErrno(IoBridge.java:193)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.connect(IoBridge.java:135)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at java.net.Socket.connect(Socket.java:621)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	... 18 more
10-27 16:50:45.486  7824  4137 E SensorReceiver: Caused by: android.system.ErrnoException: isConnected failed: EHOSTUNREACH (No route to host)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.isConnected(IoBridge.java:275)
10-27 16:50:45.486  7824  4137 E SensorReceiver: 	... 28 more
10-27 16:50:55.756  7824  4137 E SensorReceiver: Issue registering sensor detected_activity
10-27 16:50:55.756  7824  4137 E SensorReceiver: io.homeassistant.companion.android.common.data.integration.IntegrationException: java.net.ConnectException: Failed to connect to /192.168.0.5:8123
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl.registerSensor(IntegrationRepositoryImpl.kt:663)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl$registerSensor$1.invokeSuspend(Unknown Source:15)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
10-27 16:50:55.756  7824  4137 E SensorReceiver: Caused by: java.net.ConnectException: Failed to connect to /192.168.0.5:8123
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:297)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at java.lang.Thread.run(Thread.java:929)
10-27 16:50:55.756  7824  4137 E SensorReceiver: Caused by: java.net.ConnectException: failed to connect to /192.168.0.5 (port 8123) from /10.193.232.218 (port 56192) after 10000ms: isConnected failed: EHOSTUNREACH (No route to host)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.isConnected(IoBridge.java:288)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.connectErrno(IoBridge.java:193)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.connect(IoBridge.java:135)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at java.net.Socket.connect(Socket.java:621)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	... 18 more
10-27 16:50:55.756  7824  4137 E SensorReceiver: Caused by: android.system.ErrnoException: isConnected failed: EHOSTUNREACH (No route to host)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.isConnected(IoBridge.java:275)
10-27 16:50:55.756  7824  4137 E SensorReceiver: 	... 28 more
10-27 16:51:06.041  7824  4137 E SensorReceiver: Issue registering sensor battery_level
10-27 16:51:06.041  7824  4137 E SensorReceiver: io.homeassistant.companion.android.common.data.integration.IntegrationException: java.net.ConnectException: Failed to connect to /192.168.0.5:8123
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl.registerSensor(IntegrationRepositoryImpl.kt:663)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl$registerSensor$1.invokeSuspend(Unknown Source:15)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
10-27 16:51:06.041  7824  4137 E SensorReceiver: Caused by: java.net.ConnectException: Failed to connect to /192.168.0.5:8123
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:297)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at java.lang.Thread.run(Thread.java:929)
10-27 16:51:06.041  7824  4137 E SensorReceiver: Caused by: java.net.ConnectException: failed to connect to /192.168.0.5 (port 8123) from /10.193.232.218 (port 56196) after 10000ms: isConnected failed: EHOSTUNREACH (No route to host)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.isConnected(IoBridge.java:288)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.connectErrno(IoBridge.java:193)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.connect(IoBridge.java:135)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at java.net.Socket.connect(Socket.java:621)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	... 18 more
10-27 16:51:06.041  7824  4137 E SensorReceiver: Caused by: android.system.ErrnoException: isConnected failed: EHOSTUNREACH (No route to host)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.isConnected(IoBridge.java:275)
10-27 16:51:06.041  7824  4137 E SensorReceiver: 	... 28 more
10-27 16:51:16.227  7824  4137 E SensorReceiver: Issue registering sensor battery_temperature
10-27 16:51:16.227  7824  4137 E SensorReceiver: io.homeassistant.companion.android.common.data.integration.IntegrationException: java.net.ConnectException: Failed to connect to /192.168.0.5:8123
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl.registerSensor(IntegrationRepositoryImpl.kt:663)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl$registerSensor$1.invokeSuspend(Unknown Source:15)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
10-27 16:51:16.227  7824  4137 E SensorReceiver: Caused by: java.net.ConnectException: Failed to connect to /192.168.0.5:8123
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:297)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at java.lang.Thread.run(Thread.java:929)
10-27 16:51:16.227  7824  4137 E SensorReceiver: Caused by: java.net.ConnectException: failed to connect to /192.168.0.5 (port 8123) from /10.193.232.218 (port 56218) after 10000ms: isConnected failed: EHOSTUNREACH (No route to host)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.isConnected(IoBridge.java:288)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.connectErrno(IoBridge.java:193)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.connect(IoBridge.java:135)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at java.net.Socket.connect(Socket.java:621)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	... 18 more
10-27 16:51:16.227  7824  4137 E SensorReceiver: Caused by: android.system.ErrnoException: isConnected failed: EHOSTUNREACH (No route to host)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.isConnected(IoBridge.java:275)
10-27 16:51:16.227  7824  4137 E SensorReceiver: 	... 28 more
10-27 16:51:27.371  7824  4137 E SensorReceiver: Issue registering sensor battery_power
10-27 16:51:27.371  7824  4137 E SensorReceiver: io.homeassistant.companion.android.common.data.integration.IntegrationException: java.net.ConnectException: Failed to connect to /192.168.0.5:8123
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl.registerSensor(IntegrationRepositoryImpl.kt:663)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl$registerSensor$1.invokeSuspend(Unknown Source:15)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
10-27 16:51:27.371  7824  4137 E SensorReceiver: Caused by: java.net.ConnectException: Failed to connect to /192.168.0.5:8123
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:297)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at java.lang.Thread.run(Thread.java:929)
10-27 16:51:27.371  7824  4137 E SensorReceiver: Caused by: java.net.ConnectException: failed to connect to /192.168.0.5 (port 8123) from /10.193.232.218 (port 56228) after 10000ms: isConnected failed: EHOSTUNREACH (No route to host)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.isConnected(IoBridge.java:288)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.connectErrno(IoBridge.java:193)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.connect(IoBridge.java:135)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at java.net.Socket.connect(Socket.java:621)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	... 18 more
10-27 16:51:27.371  7824  4137 E SensorReceiver: Caused by: android.system.ErrnoException: isConnected failed: EHOSTUNREACH (No route to host)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	at libcore.io.IoBridge.isConnected(IoBridge.java:275)
10-27 16:51:27.371  7824  4137 E SensorReceiver: 	... 28 more
10-27 16:51:27.610  7824  4137 E SensorReceiver: Issue registering sensor light_sensor
10-27 16:51:27.610  7824  4137 E SensorReceiver: io.homeassistant.companion.android.common.data.integration.IntegrationException: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=JobImpl{Cancelling}@490279f
10-27 16:51:27.610  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl.registerSensor(IntegrationRepositoryImpl.kt:663)
10-27 16:51:27.610  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl$registerSensor$1.invokeSuspend(Unknown Source:15)
10-27 16:51:27.610  7824  4137 E SensorReceiver: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
10-27 16:51:27.610  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
10-27 16:51:27.610  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
10-27 16:51:27.610  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
10-27 16:51:27.610  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
10-27 16:51:27.610  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
10-27 16:51:27.610  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
10-27 16:51:27.610  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
10-27 16:51:27.610  7824  4137 E SensorReceiver: Caused by: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=JobImpl{Cancelling}@490279f
10-27 16:51:27.816  7824  4137 E SensorReceiver: Issue registering sensor wifi_connection
10-27 16:51:27.816  7824  4137 E SensorReceiver: io.homeassistant.companion.android.common.data.integration.IntegrationException: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=JobImpl{Cancelling}@490279f
10-27 16:51:27.816  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl.registerSensor(IntegrationRepositoryImpl.kt:663)
10-27 16:51:27.816  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl$registerSensor$1.invokeSuspend(Unknown Source:15)
10-27 16:51:27.816  7824  4137 E SensorReceiver: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
10-27 16:51:27.816  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
10-27 16:51:27.816  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
10-27 16:51:27.816  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
10-27 16:51:27.816  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
10-27 16:51:27.816  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
10-27 16:51:27.816  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
10-27 16:51:27.816  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
10-27 16:51:27.816  7824  4137 E SensorReceiver: Caused by: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=JobImpl{Cancelling}@490279f
10-27 16:51:27.976  7824  4137 E SensorReceiver: Issue registering sensor pressure_sensor
10-27 16:51:27.976  7824  4137 E SensorReceiver: io.homeassistant.companion.android.common.data.integration.IntegrationException: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=JobImpl{Cancelling}@490279f
10-27 16:51:27.976  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl.registerSensor(IntegrationRepositoryImpl.kt:663)
10-27 16:51:27.976  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl$registerSensor$1.invokeSuspend(Unknown Source:15)
10-27 16:51:27.976  7824  4137 E SensorReceiver: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
10-27 16:51:27.976  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
10-27 16:51:27.976  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
10-27 16:51:27.976  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
10-27 16:51:27.976  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
10-27 16:51:27.976  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
10-27 16:51:27.976  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
10-27 16:51:27.976  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
10-27 16:51:27.976  7824  4137 E SensorReceiver: Caused by: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=JobImpl{Cancelling}@490279f
10-27 16:51:27.991  7824  4137 E SensorReceiver: Issue registering sensor proximity_sensor
10-27 16:51:27.991  7824  4137 E SensorReceiver: io.homeassistant.companion.android.common.data.integration.IntegrationException: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=JobImpl{Cancelling}@490279f
10-27 16:51:27.991  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl.registerSensor(IntegrationRepositoryImpl.kt:663)
10-27 16:51:27.991  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl$registerSensor$1.invokeSuspend(Unknown Source:15)
10-27 16:51:27.991  7824  4137 E SensorReceiver: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
10-27 16:51:27.991  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
10-27 16:51:27.991  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
10-27 16:51:27.991  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
10-27 16:51:27.991  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
10-27 16:51:27.991  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
10-27 16:51:27.991  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
10-27 16:51:27.991  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
10-27 16:51:27.991  7824  4137 E SensorReceiver: Caused by: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=JobImpl{Cancelling}@490279f
10-27 16:51:28.012  7824  4137 E SensorReceiver: Issue registering sensor steps_sensor
10-27 16:51:28.012  7824  4137 E SensorReceiver: io.homeassistant.companion.android.common.data.integration.IntegrationException: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=JobImpl{Cancelling}@490279f
10-27 16:51:28.012  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl.registerSensor(IntegrationRepositoryImpl.kt:663)
10-27 16:51:28.012  7824  4137 E SensorReceiver: 	at io.homeassistant.companion.android.common.data.integration.impl.IntegrationRepositoryImpl$registerSensor$1.invokeSuspend(Unknown Source:15)
10-27 16:51:28.012  7824  4137 E SensorReceiver: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
10-27 16:51:28.012  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
10-27 16:51:28.012  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.internal.LimitedDispatcher.run(LimitedDispatcher.kt:42)
10-27 16:51:28.012  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:95)
10-27 16:51:28.012  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
10-27 16:51:28.012  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
10-27 16:51:28.012  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
10-27 16:51:28.012  7824  4137 E SensorReceiver: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
10-27 16:51:28.012  7824  4137 E SensorReceiver: Caused by: kotlinx.coroutines.JobCancellationException: Job was cancelled; job=JobImpl{Cancelling}@490279f
10-27 16:52:45.191  7824  7824 E WebviewActivity: onReceivedHttpError: 404 : Not Found for: http://192.168.0.5:8123/hacsfiles/lovelace-auto-entities/auto-entities.js?hacstag=167744584191
10-27 16:52:51.957  7824  7824 E RtgSchedManager: endActivityTransaction: margin state not match
10-27 16:52:51.979  7824  7824 E RtgSchedManager: endActivityTransaction: margin state not match
10-27 16:52:57.916  7824  8022 E WM-WorkerWrapper: Didn't find WorkSpec for id b0fc2434-7508-4e42-8653-f9f8c590835e
10-27 16:52:57.923  7824  8021 E WM-WorkerWrapper: Didn't find WorkSpec for id cde95772-f67e-41a4-bddb-206855d2a977
10-27 16:52:57.939  7824  8021 E WM-WorkerWrapper: Didn't find WorkSpec for id b0fc2434-7508-4e42-8653-f9f8c590835e
10-27 16:52:57.942  7824  8021 E WM-WorkerWrapper: Didn't find WorkSpec for id cde95772-f67e-41a4-bddb-206855d2a977
10-27 16:53:04.610  7824  7824 E RtgSchedManager: endActivityTransaction: margin state not match
10-27 16:53:04.636  7824  7824 E RtgSchedManager: endActivityTransaction: margin state not match
10-27 16:53:36.717  7824  7824 E RtgSchedManager: endActivityTransaction: margin state not match
10-27 16:53:36.745  7824  7824 E RtgSchedManager: endActivityTransaction: margin state not match
10-27 16:54:33.894  7824  7824 E WindowManager: 
10-27 16:54:33.894  7824  7824 E WindowManager: android.view.WindowLeaked: Activity io.homeassistant.companion.android.webview.WebViewActivity has leaked window DecorView@cc2bd98[WebViewActivity] that was originally added here
10-27 16:54:33.894  7824  7824 E WindowManager: 	at android.view.ViewRootImpl.<init>(ViewRootImpl.java:744)
10-27 16:54:33.894  7824  7824 E WindowManager: 	at android.view.WindowManagerGlobal.addView(WindowManagerGlobal.java:465)
10-27 16:54:33.894  7824  7824 E WindowManager: 	at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:130)
10-27 16:54:33.894  7824  7824 E WindowManager: 	at android.app.Dialog.show(Dialog.java:578)
10-27 16:54:33.894  7824  7824 E WindowManager: 	at io.homeassistant.companion.android.webview.WebViewActivity.showError(WebViewActivity.kt:1189)
10-27 16:54:33.894  7824  7824 E WindowManager: 	at io.homeassistant.companion.android.webview.WebView$DefaultImpls.showError$default(WebView.kt:21)
10-27 16:54:33.894  7824  7824 E WindowManager: 	at io.homeassistant.companion.android.webview.WebViewActivity.waitForConnection$lambda-34(WebViewActivity.kt:1281)
10-27 16:54:33.894  7824  7824 E WindowManager: 	at io.homeassistant.companion.android.webview.WebViewActivity.$r8$lambda$2IzumRlry9V_64y-sjpC3ROfjWc(Unknown Source:0)
10-27 16:54:33.894  7824  7824 E WindowManager: 	at io.homeassistant.companion.android.webview.WebViewActivity$$ExternalSyntheticLambda31.run(Unknown Source:2)
10-27 16:54:33.894  7824  7824 E WindowManager: 	at android.os.Handler.handleCallback(Handler.java:900)
10-27 16:54:33.894  7824  7824 E WindowManager: 	at android.os.Handler.dispatchMessage(Handler.java:103)
10-27 16:54:33.894  7824  7824 E WindowManager: 	at android.os.Looper.loop(Looper.java:219)
10-27 16:54:33.894  7824  7824 E WindowManager: 	at android.app.ActivityThread.main(ActivityThread.java:8668)
10-27 16:54:33.894  7824  7824 E WindowManager: 	at java.lang.reflect.Method.invoke(Native Method)
10-27 16:54:33.894  7824  7824 E WindowManager: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
10-27 16:54:33.894  7824  7824 E WindowManager: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1109)
10-27 16:54:36.185  7824  7824 E WebviewActivity: onReceivedHttpError: 404 : Not Found for: http://192.168.0.5:8123/hacsfiles/lovelace-auto-entities/auto-entities.js?hacstag=167744584191
10-27 16:54:44.131  7824  4137 E IntegrationRepository: Unable to get notification rate limits
10-27 16:54:44.131  7824  4137 E IntegrationRepository: java.net.ConnectException: Failed to connect to mobile-apps.home-assistant.io/10.0.0.1:443
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:297)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.connection.RealConnection.connect(RealConnection.kt:207)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.connection.ExchangeFinder.findConnection(ExchangeFinder.kt:226)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(ExchangeFinder.kt:106)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.connection.ExchangeFinder.find(ExchangeFinder.kt:74)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.connection.RealCall.initExchange$okhttp(RealCall.kt:255)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:32)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at java.lang.Thread.run(Thread.java:929)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: Caused by: java.net.ConnectException: failed to connect to mobile-apps.home-assistant.io/10.0.0.1 (port 443) from /10.0.0.5 (port 39794) after 10000ms: isConnected failed: ECONNREFUSED (Connection refused)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at libcore.io.IoBridge.isConnected(IoBridge.java:288)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at libcore.io.IoBridge.connectErrno(IoBridge.java:193)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at libcore.io.IoBridge.connect(IoBridge.java:135)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at java.net.Socket.connect(Socket.java:621)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.platform.Platform.connectSocket(Platform.kt:128)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at okhttp3.internal.connection.RealConnection.connectSocket(RealConnection.kt:295)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	... 18 more
10-27 16:54:44.131  7824  4137 E IntegrationRepository: Caused by: android.system.ErrnoException: isConnected failed: ECONNREFUSED (Connection refused)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	at libcore.io.IoBridge.isConnected(IoBridge.java:275)
10-27 16:54:44.131  7824  4137 E IntegrationRepository: 	... 28 more
10-27 16:55:05.069  7824  7824 E mpanion.androi: Invalid ID 0x00000000.
10-27 16:55:11.323  7824  7824 E mpanion.androi: Invalid ID 0x00000000.
10-27 16:55:12.972  7824  7824 E mpanion.androi: Invalid ID 0x00000000.
10-27 16:55:26.701  7824  7824 E mpanion.androi: No package ID ff found for ID 0xffffffff.
10-27 16:55:26.757  7824  7824 E InputMethodManager: closeCurrentInput
10-27 16:55:29.591  7824  7824 E mpanion.androi: Invalid ID 0x00000000.
10-27 16:55:40.925  7824  8022 E WM-WorkerWrapper: Didn't find WorkSpec for id 7174f784-5e1e-459a-851d-eb4adb2ef135
10-27 16:55:41.008  7824  8022 E WM-WorkerWrapper: Didn't find WorkSpec for id 7174f784-5e1e-459a-851d-eb4adb2ef135
10-27 17:00:36.888  7824  7824 E mpanion.androi: Invalid ID 0x00000000.

Screenshot of problem:

Additional information: Perhaps this should be flagged as a feature request instead.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jpelgromcommented, Nov 8, 2022

The previously mentioned improvement to also check if WiFi is used before using the internal URL has been merged. Does this issue need to remain open, as it’s unlikely the app will start managing which network connection to use?

1reaction
dshokouhicommented, Oct 27, 2022

I noticed that the app is still using the internal URL (IP), even though the active connection is (presumably) mobile data. Wouldn’t it make more sense to switch to the HA/external URL in that case?

It won’t solve this problem as the internet is down but it would make it less confusing. What do you think @dshokouhi ?

I think that would be helpful and less confusing 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Intermittent "Unable to connect to Home Assistant" on mobile ...
I randomly get the message that I am “Unable to connect to Home Assistant” on mobile app. It appears mostly when connecting to...
Read more >
Can't connect to Wi-Fi access point with hidden SSID
My Production T-Mobile G1 is unable to connect to a Wifi AP with a hidden. SSID and WEP enabled. The phone is initially...
Read more >
How to Fix It When Mobile Data Is Not Working - Lifewire
Mobile data not working on an iPhone or Android can be caused by a damaged SIM card, software or hardware glitches, or a...
Read more >
Fix Android Obtaining WiFi Address, Cant Connect to Internet
Visit http://www.gadgetstouse.com to read more detailed reviews, unboxing, hands on and overview of smartphones, tablets, tech and gadgets, ...
Read more >
Mobile data on but no internet fix - YouTube
how to fix internet connected but no internet access | Full mobile network but no internetPlease use super thanks to support our work....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found