openhab / openhab-android

openHAB client for Android
https://play.google.com/store/apps/details?id=org.openhab.habdroid
Eclipse Public License 2.0
590 stars 317 forks source link

Android white screen on startup with openHAB 3 UI #2583

Open cybermcm opened 3 years ago

cybermcm commented 3 years ago

Actual behaviour

openHAB configured to startup with 3 UI, on startup just a white screen with a loading progress bar appears, see screenshot Screenshot_20210513-133218_openHAB_Beta current workaround: doing a task switch to another app and back and UI works

tried to clean app cache, deleted and reinstalled app, cleaned Android webview cache -> no success startup with HABPanel -> working startup with HABPanel -> switching to 3UI -> not working (unless I switch apps)

Expected behaviour

app should startup without issue

Steps to reproduce

happens every time

Can you reproduce the issue in demo mode?

happens with my own server and demo mode

Environment data

Client

Logs

App log

clean app start -> waiting on white screen (from 05-13 13:53:58.771 to 05-13 13:54:21.601) -> app switch -> working

-----------------------
Device information
Model: SM-G900F
Manufacturer: samsung
Brand: samsung
Device: klte
Product: klte
OS: 11
Display: 1080x1920, 3.0 density
Data usage policy: DataUsagePolicy(canDoLargeTransfers=true, loadIconsWithState=true, autoPlayVideos=true, canDoRefreshes=true), data saver: 1, battery saver: false
-----------------------

--------- beginning of events
05-13 13:53:49.133 17814 17814 I wm_on_top_resumed_lost_called: [144765958,org.openhab.habdroid.ui.LogActivity,topStateChangedWhenResumed]
05-13 13:53:49.150 17814 17814 I wm_on_paused_called: [144765958,org.openhab.habdroid.ui.LogActivity,performPause]
05-13 13:53:49.504 17814 17814 I wm_on_stop_called: [144765958,org.openhab.habdroid.ui.LogActivity,STOP_ACTIVITY_ITEM]
05-13 13:53:51.529 17814 17814 I wm_on_destroy_called: [144765958,org.openhab.habdroid.ui.LogActivity,performDestroy]
--------- beginning of main
05-13 13:53:54.107 21414 21414 I b.habdroid.bet: The ClassLoaderContext is a special shared library.
05-13 13:53:54.147 21414 21414 W b.habdroid.bet: JIT profile information will not be recorded: profile file does not exist.
05-13 13:53:54.147 21414 21414 W b.habdroid.bet: JIT profile information will not be recorded: profile file does not exist.
05-13 13:53:54.162 21414 21414 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
05-13 13:53:54.163 21414 21414 D NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
05-13 13:53:54.165 21414 21414 I MultiDex: VM with version 2.1.0 has multidex support
05-13 13:53:54.165 21414 21414 I MultiDex: Installing application
05-13 13:53:54.165 21414 21414 I MultiDex: VM has multidex support, MultiDex support library is disabled.
05-13 13:53:54.173 21414 21414 W ComponentDiscovery: Class com.google.firebase.dynamicloading.DynamicLoadingRegistrar is not an found.
05-13 13:53:54.176 21414 21414 I FirebaseApp: Device unlocked: initializing all Firebase APIs for app [DEFAULT]
05-13 13:53:54.207 21414 21414 I FirebaseCrashlytics: Initializing Firebase Crashlytics 17.4.1
05-13 13:53:54.256 21414 21414 I FirebaseInitProvider: FirebaseApp initialization successful
05-13 13:53:54.266 21414 21414 I TetheringManager: registerTetheringEventCallback:org.openhab.habdroid.beta
05-13 13:53:54.272 21414 21414 D CrashReportingHelper: Crashlytics status: isDebug false, isOutdated false
05-13 13:53:54.334 21414 21414 I EngineFactory: Provider GmsCore_OpenSSL not available
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager: getAppKeyStore(/data/user/0/org.openhab.habdroid.beta/app_KeyStore/KeyStore.bks) - exception loading file key store
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager: java.io.FileNotFoundException: /data/user/0/org.openhab.habdroid.beta/app_KeyStore/KeyStore.bks: open failed: ENOENT (No such file or directory)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at libcore.io.IoBridge.open(IoBridge.java:492)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at java.io.FileInputStream.<init>(FileInputStream.java:160)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at de.duenndns.ssl.MemorizingTrustManager.loadAppKeyStore(MemorizingTrustManager.java:340)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at de.duenndns.ssl.MemorizingTrustManager.init(MemorizingTrustManager.java:166)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at de.duenndns.ssl.MemorizingTrustManager.<init>(MemorizingTrustManager.java:144)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at org.openhab.habdroid.core.connection.ConnectionFactory.<init>(ConnectionFactory.kt:118)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at org.openhab.habdroid.core.connection.ConnectionFactory$Companion.initialize(ConnectionFactory.kt:520)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at org.openhab.habdroid.core.OpenHabApplication.onCreate(OpenHabApplication.kt:90)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1192)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6715)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at android.app.ActivityThread.access$1300(ActivityThread.java:237)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at android.os.Handler.dispatchMessage(Handler.java:106)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at android.os.Looper.loop(Looper.java:223)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at android.app.ActivityThread.main(ActivityThread.java:7660)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at java.lang.reflect.Method.invoke(Native Method)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at libcore.io.Linux.open(Native Method)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:254)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7546)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    at libcore.io.IoBridge.open(IoBridge.java:478)
05-13 13:53:54.344 21414 21414 I MemorizingTrustManager:    ... 17 more
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager: getAppKeyStore(/data/user/0/org.openhab.habdroid.beta/app_KeyStore/KeyStore.bks) - exception loading file key store
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager: java.io.FileNotFoundException: /data/user/0/org.openhab.habdroid.beta/app_KeyStore/KeyStore.bks: open failed: ENOENT (No such file or directory)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at libcore.io.IoBridge.open(IoBridge.java:492)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at java.io.FileInputStream.<init>(FileInputStream.java:160)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at de.duenndns.ssl.MemorizingTrustManager.loadAppKeyStore(MemorizingTrustManager.java:340)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at de.duenndns.ssl.MemorizingTrustManager.init(MemorizingTrustManager.java:166)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at de.duenndns.ssl.MemorizingTrustManager.<init>(MemorizingTrustManager.java:144)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at de.duenndns.ssl.MemorizingTrustManager.getInstanceList(MemorizingTrustManager.java:185)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at org.openhab.habdroid.core.connection.ConnectionFactory.<init>(ConnectionFactory.kt:128)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at org.openhab.habdroid.core.connection.ConnectionFactory$Companion.initialize(ConnectionFactory.kt:520)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at org.openhab.habdroid.core.OpenHabApplication.onCreate(OpenHabApplication.kt:90)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1192)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6715)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at android.app.ActivityThread.access$1300(ActivityThread.java:237)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at android.os.Handler.dispatchMessage(Handler.java:106)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at android.os.Looper.loop(Looper.java:223)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at android.app.ActivityThread.main(ActivityThread.java:7660)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at java.lang.reflect.Method.invoke(Native Method)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at libcore.io.Linux.open(Native Method)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:254)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7546)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    at libcore.io.IoBridge.open(IoBridge.java:478)
05-13 13:53:54.584 21414 21414 I MemorizingTrustManager:    ... 18 more
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager: getAppKeyStore(/data/user/0/org.openhab.habdroid.beta/app_KeyStore/KeyStore.bks) - exception loading file key store
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager: java.io.FileNotFoundException: /data/user/0/org.openhab.habdroid.beta/app_KeyStore/KeyStore.bks: open failed: ENOENT (No such file or directory)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at libcore.io.IoBridge.open(IoBridge.java:492)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at java.io.FileInputStream.<init>(FileInputStream.java:160)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at de.duenndns.ssl.MemorizingTrustManager.loadAppKeyStore(MemorizingTrustManager.java:340)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at de.duenndns.ssl.MemorizingTrustManager.init(MemorizingTrustManager.java:166)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at de.duenndns.ssl.MemorizingTrustManager.<init>(MemorizingTrustManager.java:144)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at org.openhab.habdroid.core.connection.ConnectionFactory.<init>(ConnectionFactory.kt:130)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at org.openhab.habdroid.core.connection.ConnectionFactory$Companion.initialize(ConnectionFactory.kt:520)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at org.openhab.habdroid.core.OpenHabApplication.onCreate(OpenHabApplication.kt:90)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1192)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6715)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at android.app.ActivityThread.access$1300(ActivityThread.java:237)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1913)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at android.os.Handler.dispatchMessage(Handler.java:106)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at android.os.Looper.loop(Looper.java:223)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at android.app.ActivityThread.main(ActivityThread.java:7660)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at java.lang.reflect.Method.invoke(Native Method)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at libcore.io.Linux.open(Native Method)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:254)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at libcore.io.ForwardingOs.open(ForwardingOs.java:166)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7546)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    at libcore.io.IoBridge.open(IoBridge.java:478)
05-13 13:53:54.586 21414 21414 I MemorizingTrustManager:    ... 17 more
05-13 13:53:54.626 21414 21414 D MainActivity: onCreate()
05-13 13:53:54.675 21414 21414 D MainActivity: Got intent: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.openhab.habdroid.beta/org.openhab.habdroid.ui.MainActivity bnds=[288,1270][540,1565] }
05-13 13:53:54.682 21414 21414 I wm_on_create_called: [171390852,org.openhab.habdroid.ui.MainActivity,performCreate]
05-13 13:53:54.686 21414 21414 D MainActivity: onStart()
05-13 13:53:54.686 21414 21414 D PageConnectionHolderFragment: onStart(), started false
05-13 13:53:54.691 21414 21414 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=http://<openhab-local-address-openHAB>:8081/, userName=<none>, password=<none>), remotePath=null, sslClientCert=null, defaultSitemap=null, wifiSsid=null)
05-13 13:53:54.693 21414 21414 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=http://<openhab-local-address-openHAB>:8081/, userName=<none>, password=<none>), remotePath=null, sslClientCert=null, defaultSitemap=null, wifiSsid=null)
05-13 13:53:54.695 21414 21414 D MainActivity: onActiveConnectionChanged()
05-13 13:53:54.698 21414 21414 D ContentController: Indicate no network (message Network is not available)
05-13 13:53:54.698 21414 21414 D PageConnectionHolderFragment: updateActiveConnections: URL list [], connection null
05-13 13:53:54.703 21414 21414 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=http://<openhab-local-address-openHAB>:8081/, userName=<none>, password=<none>), remotePath=null, sslClientCert=null, defaultSitemap=null, wifiSsid=null)
05-13 13:53:54.705 21414 21414 I chatty  : uid=10056(org.openhab.habdroid.beta) identical 1 line
05-13 13:53:54.711 21414 21414 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=http://<openhab-local-address-openHAB>:8081/, userName=<none>, password=<none>), remotePath=null, sslClientCert=null, defaultSitemap=null, wifiSsid=null)
05-13 13:53:54.711 21414 21414 D MainActivity: Cannot auto select server: No server with configured wifi
05-13 13:53:54.711 21414 21414 I wm_on_start_called: [171390852,org.openhab.habdroid.ui.MainActivity,handleStartActivity]
05-13 13:53:54.712 21414 21414 D MainActivity: onPostCreate()
05-13 13:53:54.713 21414 21414 D MainActivity: onResume()
05-13 13:53:54.731 21414 21414 I wm_on_resume_called: [171390852,org.openhab.habdroid.ui.MainActivity,RESUME_ACTIVITY]
05-13 13:53:54.742 21414 21414 I wm_on_top_resumed_gained_called: [171390852,org.openhab.habdroid.ui.MainActivity,topStateChangedWhenResumed]
05-13 13:53:54.746 21414 21414 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=http://<openhab-local-address-openHAB>:8081/, userName=<none>, password=<none>), remotePath=null, sslClientCert=null, defaultSitemap=null, wifiSsid=null)
05-13 13:53:54.753 21414 21462 D ConnectionFactory: checkAvailableConnection: found types [ConnectionType(type = Wifi, network=102)]
05-13 13:53:54.753 21414 21462 D AbstractConnection: Checking reachability of http://<openhab-local-address-openHAB>:8081/ (via 102)
05-13 13:53:54.763 21414 21462 D AbstractConnection: Socket connected (attempt  0)
05-13 13:53:54.763 21414 21462 D ConnectionFactory: Connecting to local URL via ConnectionType(type = Wifi, network=102)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics: Settings request failed.
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics: java.net.ConnectException: Failed to connect to firebase-settings.crashlytics.com/127.0.0.1:443
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.android.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:147)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.android.okhttp.internal.io.RealConnection.connect(RealConnection.java:116)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.android.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:186)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.android.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:128)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.android.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:97)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:289)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:232)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:465)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:131)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.connect(DelegatingHttpsURLConnection.java:90)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:30)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.google.firebase.crashlytics.internal.network.HttpGetRequest.execute(HttpGetRequest.java:76)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.google.firebase.crashlytics.internal.settings.network.DefaultSettingsSpiCall.invoke(DefaultSettingsSpiCall.java:113)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.google.firebase.crashlytics.internal.settings.SettingsController$1.then(SettingsController.java:199)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.google.firebase.crashlytics.internal.settings.SettingsController$1.then(SettingsController.java:192)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.google.android.gms.tasks.zzp.run(Unknown Source:2)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.google.firebase.crashlytics.internal.common.ExecutorUtils$1$1.onRun(ExecutorUtils.java:64)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at com.google.firebase.crashlytics.internal.common.BackgroundPriorityRunnable.run(BackgroundPriorityRunnable.java:27)
05-13 13:53:54.767 21414 21445 E FirebaseCrashlytics:   at java.lang.Thread.run(Thread.java:923)
05-13 13:53:54.775 21414 21457 I Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8974_LA.BF.1.1.3_RB1__release_AU (I741a3d36ca)
05-13 13:53:54.775 21414 21457 I Adreno-EGL: OpenGL ES Shader Compiler Version: E031.29.00.00
05-13 13:53:54.775 21414 21457 I Adreno-EGL: Build Date: 04/04/16 Mon
05-13 13:53:54.775 21414 21457 I Adreno-EGL: Local Branch: mybranch19053788
05-13 13:53:54.775 21414 21457 I Adreno-EGL: Remote Branch: quic/LA.BF.1.1.3_rb1.12
05-13 13:53:54.775 21414 21457 I Adreno-EGL: Local Patches: NONE
05-13 13:53:54.775 21414 21457 I Adreno-EGL: Reconstruct Branch: NOTHING
05-13 13:53:54.790 21414 21457 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
05-13 13:53:54.801 21414 21457 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
05-13 13:53:54.840 21414 21457 I Gralloc4: mapper 4.x is not supported
05-13 13:53:54.841 21414 21457 W Gralloc3: mapper 3.x is not supported
05-13 13:53:54.852 21414 21414 D MainActivity: onCreateOptionsMenu()
05-13 13:53:54.853 21414 21414 D MainActivity: onPrepareOptionsMenu()
05-13 13:53:54.856 21414 21414 D MainActivity: onActiveCloudConnectionChanged()
05-13 13:53:54.858 21414 21414 D MainActivity: onPrimaryCloudConnectionChanged()
05-13 13:53:54.858 21414 21414 D MainActivity: onActiveConnectionChanged()
05-13 13:53:54.859 21414 21414 D BackgroundTasksManager: triggerPeriodicWork()
05-13 13:53:54.859 21414 21414 D BackgroundTasksManager: Periodic workers are not needed, canceling...
05-13 13:53:54.860 21414 21414 I chatty  : uid=10056(org.openhab.habdroid.beta) identical 2 lines
05-13 13:53:54.860 21414 21414 D BackgroundTasksManager: Periodic workers are not needed, canceling...
05-13 13:53:54.861 21414 21414 D ContentController: Update to connection org.openhab.habdroid.core.connection.DefaultConnection@4a0941 (message null)
05-13 13:53:54.861 21414 21414 D PageConnectionHolderFragment: updateActiveConnections: URL list [], connection org.openhab.habdroid.core.connection.DefaultConnection@4a0941
05-13 13:53:54.879 21414 21414 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=http://<openhab-local-address-openHAB>:8081/, userName=<none>, password=<none>), remotePath=null, sslClientCert=null, defaultSitemap=null, wifiSsid=null)
05-13 13:53:54.882 21414 21414 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=http://<openhab-local-address-openHAB>:8081/, userName=<none>, password=<none>), remotePath=null, sslClientCert=null, defaultSitemap=null, wifiSsid=null)
05-13 13:53:54.887 21414 21414 D MainActivity: onCreateOptionsMenu()
05-13 13:53:54.887 21414 21414 D MainActivity: onPrepareOptionsMenu()
05-13 13:53:54.993 21414 21414 I ServerProperties: Server has rest api version 4
05-13 13:53:55.008 21414 21414 D ServerProperties: Server returned sitemaps: []
05-13 13:53:55.008 21414 21414 E MainActivity: openHAB returned empty Sitemap list
05-13 13:53:55.008 21414 21414 D ContentController: Indicate server failure (message openHAB returned empty Sitemap list)
05-13 13:53:55.009 21414 21414 D PageConnectionHolderFragment: updateActiveConnections: URL list [], connection org.openhab.habdroid.core.connection.DefaultConnection@4a0941
05-13 13:53:55.031 21414 21414 I WebViewFactory: Loading com.android.webview version 90.0.4430.82 (code 443008200)
05-13 13:53:55.044 21414 21414 I b.habdroid.bet: The ClassLoaderContext is a special shared library.
05-13 13:53:55.125 21414 21481 I cr_VariationsUtils: Failed reading seed file "/data/user/0/org.openhab.habdroid.beta/app_webview/variations_seed_new"
05-13 13:53:55.151 21414 21414 I cr_LibraryLoader: Loaded native library version number "90.0.4430.82"
05-13 13:53:55.152 21414 21414 W b.habdroid.bet: Accessing hidden field Ljava/util/Collections$SynchronizedCollection;->mutex:Ljava/lang/Object; (greylist-max-o, reflection, denied)
05-13 13:53:55.153 21414 21414 W b.habdroid.bet: Accessing hidden method Ljava/util/Collections$SynchronizedSet;-><init>(Ljava/util/Set;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
05-13 13:53:55.153 21414 21414 W b.habdroid.bet: Accessing hidden method Ljava/util/Collections$SynchronizedCollection;-><init>(Ljava/util/Collection;Ljava/lang/Object;)V (greylist-max-o, reflection, denied)
05-13 13:53:55.157 21414 21414 I cr_CachingUmaRecorder: Flushed 4 samples from 4 histograms.
05-13 13:53:55.180 21414 21414 I cr_VariationsUtils: Loaded seed with age 11207637s
05-13 13:53:55.689 21414 21524 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
05-13 13:53:55.695 21414 21508 W cr_media: Requires BLUETOOTH permission
05-13 13:53:55.716 21414 21414 I Choreographer: Skipped 42 frames!  The application may be doing too much work on its main thread.
05-13 13:53:55.720 21414 21414 D MainActivity: onCreateOptionsMenu()
05-13 13:53:55.730 21414 21414 D MainActivity: onPrepareOptionsMenu()
05-13 13:53:55.815 21414 21524 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
05-13 13:53:55.874 21414 21414 D AbstractWebViewFragment: progressCallback: progress = 10
05-13 13:53:55.877 21414 21414 D MainActivity: onActiveCloudConnectionChanged()
05-13 13:53:55.878 21414 21462 D ConnectionFactory: checkAvailableConnection: found types [ConnectionType(type = Wifi, network=102)]
05-13 13:53:55.878 21414 21462 D AbstractConnection: Checking reachability of http://<openhab-local-address-openHAB>:8081/ (via 102)
05-13 13:53:55.882 21414 21414 D MainActivity: onPrimaryCloudConnectionChanged()
05-13 13:53:55.885 21414 21462 D AbstractConnection: Socket connected (attempt  0)
05-13 13:53:55.886 21414 21462 D ConnectionFactory: Connecting to local URL via ConnectionType(type = Wifi, network=102)
05-13 13:53:56.094 21414 21414 D AbstractWebViewFragment: progressCallback: progress = 70
05-13 13:53:56.169 21414 21428 I b.habdroid.bet: Background young concurrent copying GC freed 83798(5806KB) AllocSpace objects, 17(532KB) LOS objects, 88% free, 3092KB/27MB, paused 561us total 148.638ms
05-13 13:53:56.946 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./cs.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.947 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./da.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.948 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./de.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.949 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./el.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.949 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./en.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.950 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./es.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.950 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./fi.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.951 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./fr.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.952 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./he.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.952 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./hu.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.953 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./it.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.953 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./lb.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.954 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./lv.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.955 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./nl.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.955 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./no.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.956 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./pl.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.957 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./pt-BR.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.958 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./pt.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.959 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./ru.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.959 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./sk.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.960 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./sl.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.960 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./sv.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.961 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./uk.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.977 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./cs.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.978 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./da.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.979 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./de.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.980 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./el.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.981 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./en.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.981 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./es.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.982 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./fi.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.982 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./fr.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.983 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./he.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.984 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./hu.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.984 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./it.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.985 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./lb.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.985 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./lv.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.986 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./nl.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.987 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./no.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.987 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./pl.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.988 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./pt-BR.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.989 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./pt.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.990 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./ru.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.990 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./sk.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.991 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./sl.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.991 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./sv.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.992 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./uk.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.993 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./cs.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.993 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./da.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.994 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./de.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.995 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./el.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.995 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./en.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.996 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./es.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.996 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./fi.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.997 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./fr.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.998 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./he.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.999 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./hu.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:56.999 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./it.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:57.000 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./lb.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:57.001 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./lv.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:57.001 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./nl.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:57.002 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./no.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:57.002 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./pl.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:57.003 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./pt-BR.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:57.004 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./pt.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:57.004 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./ru.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:57.005 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./sk.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:57.005 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./sl.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:57.006 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./sv.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:57.007 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./uk.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:53:57.127 21414 21414 I chromium: [INFO:CONSOLE(38)] "Initializing state tracking store proxy", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:53:57.200 21414 21552 D OHAppInterface: goFullscreen()
05-13 13:53:57.599 21414 21552 D OHAppInterface: preferDarkMode(): light
05-13 13:53:58.352 21414 21414 D AbstractWebViewFragment: progressCallback: progress = 100
05-13 13:53:58.352 21414 21414 D AbstractWebViewFragment: progressCallback: progress = 100
05-13 13:53:58.548 21414 21414 I chromium: [INFO:CONSOLE(38)] "Start tracking states", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:53:58.550 21414 21414 I chromium: [INFO:CONSOLE(33)] "new SSE connection: http://<openhab-local-address-openHAB>:8081/rest/events/states, 1 open", source: http://<openhab-local-address-openHAB>:8081/js/app.js (33)
05-13 13:53:58.551 21414 21414 I chromium: [INFO:CONSOLE(33)] "[object EventSource]", source: http://<openhab-local-address-openHAB>:8081/js/app.js (33)
05-13 13:53:58.771 21414 21414 I chromium: [INFO:CONSOLE(38)] "Setting initial tracking list: []", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:21.601 21414 21414 I wm_on_top_resumed_lost_called: [171390852,org.openhab.habdroid.ui.MainActivity,topStateChangedWhenResumed]
05-13 13:54:21.613 21414 21414 D MainActivity: onPause()
05-13 13:54:21.624 21414 21414 I wm_on_paused_called: [171390852,org.openhab.habdroid.ui.MainActivity,performPause]
05-13 13:54:21.973 21414 21414 D MainActivity: onStop()
05-13 13:54:21.974 21414 21414 D PageConnectionHolderFragment: onStop()
05-13 13:54:21.974 21414 21414 I wm_on_stop_called: [171390852,org.openhab.habdroid.ui.MainActivity,STOP_ACTIVITY_ITEM]
05-13 13:54:21.974 21414 21414 D MainActivity: onSaveInstanceState()
05-13 13:54:21.975 21414 21414 D ContentController: onSaveInstanceState()
05-13 13:54:22.637 21414 21414 I wm_on_restart_called: [171390852,org.openhab.habdroid.ui.MainActivity,performRestartActivity]
05-13 13:54:22.642 21414 21414 D MainActivity: onStart()
05-13 13:54:22.642 21414 21414 D PageConnectionHolderFragment: onStart(), started false
05-13 13:54:22.645 21414 21414 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=http://<openhab-local-address-openHAB>:8081/, userName=<none>, password=<none>), remotePath=null, sslClientCert=null, defaultSitemap=null, wifiSsid=null)
05-13 13:54:22.650 21414 21414 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=http://<openhab-local-address-openHAB>:8081/, userName=<none>, password=<none>), remotePath=null, sslClientCert=null, defaultSitemap=null, wifiSsid=null)
05-13 13:54:22.653 21414 21414 D MainActivity: onActiveConnectionChanged()
05-13 13:54:22.662 21414 21414 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=http://<openhab-local-address-openHAB>:8081/, userName=<none>, password=<none>), remotePath=null, sslClientCert=null, defaultSitemap=null, wifiSsid=null)
05-13 13:54:22.662 21414 21414 D MainActivity: Cannot auto select server: No server with configured wifi
05-13 13:54:22.662 21414 21414 I wm_on_start_called: [171390852,org.openhab.habdroid.ui.MainActivity,handleStartActivity]
05-13 13:54:22.662 21414 21414 D MainActivity: onResume()
05-13 13:54:22.668 21414 21414 I wm_on_resume_called: [171390852,org.openhab.habdroid.ui.MainActivity,RESUME_ACTIVITY]
05-13 13:54:22.669 21414 21414 I wm_on_top_resumed_gained_called: [171390852,org.openhab.habdroid.ui.MainActivity,topWhenResuming]
05-13 13:54:22.673 21414 21462 D ConnectionFactory: checkAvailableConnection: found types [ConnectionType(type = Wifi, network=102)]
05-13 13:54:22.673 21414 21462 D AbstractConnection: Checking reachability of http://<openhab-local-address-openHAB>:8081/ (via 102)
05-13 13:54:22.690 21414 21457 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
05-13 13:54:22.715 21414 21462 D AbstractConnection: Socket connected (attempt  0)
05-13 13:54:22.716 21414 21462 D ConnectionFactory: Connecting to local URL via ConnectionType(type = Wifi, network=102)
05-13 13:54:22.724 21414 21414 I chromium: [INFO:CONSOLE(38)] "Proxy: need OneCallAPIweatherandforecast_ForecastToday_Sunrise", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.724 21414 21414 D MainActivity: onActiveCloudConnectionChanged()
05-13 13:54:22.730 21414 21414 D MainActivity: onPrimaryCloudConnectionChanged()
05-13 13:54:22.735 21414 21414 I chromium: [INFO:CONSOLE(38)] "Proxy: need OneCallAPIweatherandforecast_ForecastToday_Sunset", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.745 21414 21414 I chromium: [INFO:CONSOLE(38)] "updateTrackingList: Pending tracking list update, not calling the API", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.798 21414 21414 I chromium: [INFO:CONSOLE(38)] "Proxy: need Localweatherandforecast_StationName", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.799 21414 21414 I chromium: [INFO:CONSOLE(38)] "updateTrackingList: Pending tracking list update, not calling the API", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.852 21414 21414 I chromium: [INFO:CONSOLE(38)] "Proxy: need OneCallAPIweatherandforecast_Current_Iconid", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.852 21414 21414 I chromium: [INFO:CONSOLE(38)] "updateTrackingList: Pending tracking list update, not calling the API", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.865 21414 21414 I chromium: [INFO:CONSOLE(38)] "Proxy: need OneCallAPIweatherandforecast_Current_Condition", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.865 21414 21414 I chromium: [INFO:CONSOLE(38)] "updateTrackingList: Pending tracking list update, not calling the API", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.877 21414 21414 I chromium: [INFO:CONSOLE(38)] "Proxy: need OneCallAPIweatherandforecast_Current_Temperature", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.877 21414 21414 I chromium: [INFO:CONSOLE(38)] "updateTrackingList: Pending tracking list update, not calling the API", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.880 21414 21414 I chromium: [INFO:CONSOLE(38)] "Proxy: need OneCallAPIweatherandforecast_Current_Apparenttemperature", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.880 21414 21414 I chromium: [INFO:CONSOLE(38)] "updateTrackingList: Pending tracking list update, not calling the API", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.887 21414 21414 I chromium: [INFO:CONSOLE(38)] "Proxy: need OneCallAPIweatherandforecast_Current_Humidity", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.888 21414 21414 I chromium: [INFO:CONSOLE(38)] "updateTrackingList: Pending tracking list update, not calling the API", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.894 21414 21414 I chromium: [INFO:CONSOLE(38)] "Proxy: need OneCallAPIweatherandforecast_Current_Windspeed", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.894 21414 21414 I chromium: [INFO:CONSOLE(38)] "updateTrackingList: Pending tracking list update, not calling the API", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.933 21414 21414 I chromium: [INFO:CONSOLE(38)] "Proxy: need sw_GPS_MM_home", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:22.933 21414 21414 I chromium: [INFO:CONSOLE(38)] "updateTrackingList: Pending tracking list update, not calling the API", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:23.254 21414 21414 I chromium: [INFO:CONSOLE(38)] "Updating tracking list: ["OneCallAPIweatherandforecast_ForecastToday_Sunrise","OneCallAPIweatherandforecast_ForecastToday_Sunset","Localweatherandforecast_StationName","OneCallAPIweatherandforecast_Current_Iconid","OneCallAPIweatherandforecast_Current_Condition","OneCallAPIweatherandforecast_Current_Temperature","OneCallAPIweatherandforecast_Current_Apparenttemperature","OneCallAPIweatherandforecast_Current_Humidity","OneCallAPIweatherandforecast_Current_Windspeed","sw_GPS_MM_home"]", source: http://<openhab-local-address-openHAB>:8081/js/app.js (38)
05-13 13:54:23.309 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./cs.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.311 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./da.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.313 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./de.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.313 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./el.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.314 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./en.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.314 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./es.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.315 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./fi.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.315 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./fr.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.316 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./he.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.316 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./hu.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.317 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./it.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.318 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./lb.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.318 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./lv.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.319 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./nl.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.319 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./no.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.319 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./pl.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.320 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./pt-BR.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.320 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./pt.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.321 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./ru.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.321 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./sk.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.323 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./sl.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.323 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./sv.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:23.323 21414 21414 I chromium: [INFO:CONSOLE(7)] "loading i18n messages from: ./uk.json", source: http://<openhab-local-address-openHAB>:8081/js/app.js (7)
05-13 13:54:25.359 21414 21552 D OHAppInterface: exitToApp()
05-13 13:54:25.362 21414 21414 D PageConnectionHolderFragment: updateActiveConnections: URL list [], connection org.openhab.habdroid.core.connection.DefaultConnection@4a0941
05-13 13:54:25.426 21414 21414 D MainActivity: onCreateOptionsMenu()
05-13 13:54:25.427 21414 21414 D MainActivity: onPrepareOptionsMenu()
05-13 13:54:26.353 21414 21414 D MainActivity: onOptionsItemSelected()
05-13 13:54:28.423 21414 21414 I wm_on_top_resumed_lost_called: [171390852,org.openhab.habdroid.ui.MainActivity,topStateChangedWhenResumed]
05-13 13:54:28.424 21414 21414 D MainActivity: onPause()
05-13 13:54:28.425 21414 21414 I wm_on_paused_called: [171390852,org.openhab.habdroid.ui.MainActivity,performPause]
05-13 13:54:28.469 21414 21414 I wm_on_create_called: [145983399,org.openhab.habdroid.ui.PreferencesActivity,performCreate]
05-13 13:54:28.518 21414 21414 D Ringtone: Successfully created local player
05-13 13:54:28.540 21414 21414 D PreferencesActivity: Removing notification prefs for < 25
05-13 13:54:28.559 21414 21414 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=http://<openhab-local-address-openHAB>:8081/, userName=<none>, password=<none>), remotePath=null, sslClientCert=null, defaultSitemap=null, wifiSsid=null)
05-13 13:54:28.561 21414 21414 I wm_on_start_called: [145983399,org.openhab.habdroid.ui.PreferencesActivity,handleStartActivity]
05-13 13:54:28.563 21414 21414 I wm_on_resume_called: [145983399,org.openhab.habdroid.ui.PreferencesActivity,RESUME_ACTIVITY]
05-13 13:54:28.568 21414 21414 I wm_on_top_resumed_gained_called: [145983399,org.openhab.habdroid.ui.PreferencesActivity,topStateChangedWhenResumed]
05-13 13:54:28.585 21414 21457 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
05-13 13:54:29.164 21414 21414 D MainActivity: onStop()
05-13 13:54:29.165 21414 21414 D PageConnectionHolderFragment: onStop()
05-13 13:54:29.165 21414 21414 I wm_on_stop_called: [171390852,org.openhab.habdroid.ui.MainActivity,STOP_ACTIVITY_ITEM]
05-13 13:54:29.165 21414 21414 D MainActivity: onSaveInstanceState()
05-13 13:54:29.166 21414 21414 D ContentController: onSaveInstanceState()
05-13 13:54:29.282 21414 21414 W ListPreference: Setting a summary with a String formatting marker is no longer supported. You should use a SummaryProvider instead.
05-13 13:54:29.313 21414 21414 W ListPreference: Setting a summary with a String formatting marker is no longer supported. You should use a SummaryProvider instead.
05-13 13:54:30.338 21414 21414 I wm_on_top_resumed_lost_called: [145983399,org.openhab.habdroid.ui.PreferencesActivity,topStateChangedWhenResumed]
05-13 13:54:30.339 21414 21414 I wm_on_paused_called: [145983399,org.openhab.habdroid.ui.PreferencesActivity,performPause]
05-13 13:54:30.405 21414 21414 I wm_on_create_called: [153428422,org.openhab.habdroid.ui.LogActivity,performCreate]
05-13 13:54:30.408 21414 21414 I wm_on_start_called: [153428422,org.openhab.habdroid.ui.LogActivity,handleStartActivity]
05-13 13:54:30.410 21414 21414 I wm_on_resume_called: [153428422,org.openhab.habdroid.ui.LogActivity,RESUME_ACTIVITY]
05-13 13:54:30.416 21414 21414 I wm_on_top_resumed_gained_called: [153428422,org.openhab.habdroid.ui.LogActivity,topStateChangedWhenResumed]
05-13 13:54:30.435 21414 21457 W Adreno-EGL: <qeglDrvAPI_eglGetConfigAttrib:607>: EGL_BAD_ATTRIBUTE
05-13 13:54:30.454 21414 21414 D LogActivity: onCreateOptionsMenu()
cribskip commented 3 years ago

What's your server?

I ask because it took my installation also quiet a bit to load the gui on a Xiaomi Mi8. Turned out my raspberry 3b had been the problem. I migrated it to a docker container on a powerful nas and it loads instantly now.

cybermcm commented 3 years ago

I'm using a RPI4 as my server, and it performs quite well. I forgot to mention, other phones are working, so it is an issue with my Samsung SM-G900F klte. I thought I might post it anyway because this Lineage version is very up2date, my other phones use older Android versions, maybe this is something that breaks other phones as well in the future.

SHU-red commented 3 years ago

For me i get stuck very often on accessing via remote on this sort of white screen But it feels very random

junalmeida commented 3 years ago

When using openHAB UI 3 as default, I believe the android app could keep the page in cache instead os reloading with a blank page, so it would be a more native experience when switching over between apps.

maniac103 commented 2 years ago

I can repro this as well, and in my case it seems related to SSL errors:

Screenshot_20210716_145212 Screenshot_20210716_145238

My server URL is set to https, so MTM should know about the self-signed certificate, but I'm not sure whether that helps for WebView...

mueller-ma commented 2 years ago

If any WebView in the app sees an untrusted certificate, it's checked against MTM. MTM won't ask for it if it isn't known to it, though. The certificate is known if it's the same than for the sitemaps and rest api version check, which is most likely the case.

https://github.com/openhab/openhab-android/blob/main/mobile/src/main/java/org/openhab/habdroid/ui/ConnectionWebViewClient.kt#L77

Maybe https://developer.android.com/reference/android/webkit/WebViewClient#onReceivedSslError(android.webkit.WebView,%20android.webkit.SslErrorHandler,%20android.net.http.SslError) isn't called for errors in js?

cybermcm commented 2 years ago

@mueller-ma: In my case it is a plain connection without security. It is working with other devices, but not with my old one (with new lineage image)... Certificates (and related troubles) are not to blame in my case.

mueller-ma commented 2 years ago

Can you make sure you have the latest WebView installed? https://play.google.com/store/apps/details?id=com.google.android.webview

cybermcm commented 2 years ago

According to the Play Store WebView isn't installed at all. Just to make sure, workaround still "working": loading OpenHAB, waiting for white screen, Taskswitcher (I don't have to switch the app), going back to OpenHAB -> all working

JohannesPtaszyk commented 2 years ago

I see the same behavior on LineageOS (Android 11) on my Raspberry Pi. Also the app sometimes goes to the sitemap, when connection fails.

vguna commented 2 years ago

Same here. LineageOS 17.1, Android 11. Latest OH APP. OH 3.1 on rpi4. Task switch helps but is annoying.

UPDATE: just upgraded to LineageOs 18.1, Android 11 and now it works properly. Only thing left is jumping back to overview on rotate, but there is already another ticket for that.

JohannesPtaszyk commented 2 years ago

@mueller-ma I think installing the latest WebView based on chromium would help, but the main issue here would be for devices without Google Play. I use a lineage os device and you cannot easily update the WebView. We could think about changing the app to use Firefox gecko View. What do you think?

maniac103 commented 2 years ago

What do you think?

I, for one, think this is not a good idea in terms of UX, because users will (rightfully) expect an app to work without having to install Firefox beforehand.

JohannesPtaszyk commented 2 years ago

Its not using firefox, but its a complete webview implementation that is also used by firefox. https://firefox-source-docs.mozilla.org/mobile/android/geckoview/consumer/geckoview-quick-start.html

It would make the app independent from the system webview.

mueller-ma commented 2 years ago

Bundling a WebView (or GeckoView in this case) might be a good idea, especially because we don't have control over the system WebView. I see a few crashes in Crashlytics on devices without WebView at all.

JohannesPtaszyk commented 2 years ago

Should I create a new ticket for that? Or do you want to discuss it further in the forum before?

ynuyasha commented 2 years ago

I have the same white screen with remote server. Also sitemap not loading. If i use local server app is working. Openhab 3.1 Xiaomi mi 8

mueller-ma commented 2 years ago

Should I create a new ticket for that? Or do you want to discuss it further in the forum before?

It can be discussed here. I'll open a WIP PR soon.

lolodomo commented 2 years ago

Someone provided a workaround to this issue. The cause is apparently the country OH setting. If you reset this setting, the issue is solved. Now the question is why this country OH setting is so problematic?

@mueller-ma : with this information, can you try to reproduce the issue and think if the problem could be in the Android app?

mueller-ma commented 3 months ago

Can someone try to reproduce this with 3.10.3-beta? While doing this, please also capture the Android logs via ADB. You can also try to clear the cache in the app settings.