fl0w
(Flow)
February 17, 2024, 5:21pm
1
I can’t get OpenHAB Android 3.9.0 nor 3.10.0 to show the Main UI in remote mode (using OpenHAB 4.1.1).
While it shows the Main UI in local mode (note the Wifi symbol in the upper right corner):
The same thing looks empty once I turn of Wifi and go into the remote mode:
As far as I can tell, OpenHAB Android is able to retrieve and use the sitemap. It’s “just” the Main UI that does not show.
The Android log of the habdroid app also does not look suspicious (at least, to me):
2024-02-17 18:18:04.688 6743-6743 PageConnec...erFragment org.openhab.habdroid D updateActiveConnections: URL list [https://myopenhab.org/rest/sitemaps/uicomponents_Sitemap/uicomponents_Sitemap], connection org.openhab.habdroid.core.connection.DefaultConnection@628eb6
2024-02-17 18:18:04.694 6743-6743 ServerConfiguration org.openhab.habdroid D load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=https://192.168.188.43:8443/, userName=<redacted>, password=<redacted>), remotePath=ServerPath(url=https://myopenhab.org/, userName=<redacted>, password=<redacted>), sslClientCert=null, defaultSitemap=DefaultSitemap(name=uicomponents_Sitemap, label=Sitemap), wifiSsids=[MyWifi], restrictToWifiSsids=true, frontailUrl=null)
2024-02-17 18:18:04.710 6743-6743 WidgetListFragment org.openhab.habdroid D onPause() https://myopenhab.org/rest/sitemaps/uicomponents_Sitemap/uicomponents_Sitemap
2024-02-17 18:18:04.767 1996-5678 ConnectivityService system_server D requestNetwork for uid/pid:10485/6743 activeRequest: null callbackRequest: 11579 [NetworkRequest [ REQUEST id=11580, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10485 RequestorUid: 10485 RequestorPkg: org.openhab.habdroid UnderlyingNetworks: Null] ]] callback flags: 0 order: 2147483647
2024-02-17 18:18:04.773 1996-2794 WifiNetworkFactory system_server D got request NetworkRequest [ REQUEST id=11580, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10485 RequestorUid: 10485 RequestorPkg: org.openhab.habdroid UnderlyingNetworks: Null] ]
2024-02-17 18:18:04.774 1996-2794 UntrustedW...orkFactory system_server D got request NetworkRequest [ REQUEST id=11580, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10485 RequestorUid: 10485 RequestorPkg: org.openhab.habdroid UnderlyingNetworks: Null] ]
2024-02-17 18:18:04.774 1996-2794 OemPaidWif...orkFactory system_server D got request NetworkRequest [ REQUEST id=11580, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10485 RequestorUid: 10485 RequestorPkg: org.openhab.habdroid UnderlyingNetworks: Null] ]
2024-02-17 18:18:04.774 1996-2794 MultiInter...orkFactory system_server D got request NetworkRequest [ REQUEST id=11580, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10485 RequestorUid: 10485 RequestorPkg: org.openhab.habdroid UnderlyingNetworks: Null] ]
2024-02-17 18:18:04.802 6743-6743 AbstractWebViewFragment org.openhab.habdroid D Load default website
2024-02-17 18:18:04.862 1996-2278 ActivityManager system_server I Start proc 18445:com.google.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:5/u0i414 for {org.openhab.habdroid/org.chromium.content.app.SandboxedProcessService0:5}
2024-02-17 18:18:04.873 6743-6743 MainActivity org.openhab.habdroid D onCreateOptionsMenu()
2024-02-17 18:18:04.874 6743-6743 MainActivity org.openhab.habdroid D onPrepareOptionsMenu()
2024-02-17 18:18:04.913 6743-6743 AbstractWebViewFragment org.openhab.habdroid D progressCallback: progress = 10
2024-02-17 18:18:05.107 1996-2052 CoreBackPreview system_server D Window{f002b3b u0 org.openhab.habdroid/org.openhab.habdroid.ui.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@24c606d, mPriority=0}
2024-02-17 18:18:05.242 6743-6743 AbstractWebViewFragment org.openhab.habdroid D progressCallback: progress = 70
2024-02-17 18:18:05.262 6743-6743 AbstractWebViewFragment org.openhab.habdroid D progressCallback: progress = 100
2024-02-17 18:18:05.262 6743-6743 AbstractWebViewFragment org.openhab.habdroid D progressCallback: progress = 100
I am able to remotely access the Main UI via myopenhab.org , fwiw.
Is this a known issue? How can I fix it?
sihui
(SiHui)
February 17, 2024, 6:04pm
2
fl0w:
How can I fix it?
Some users were able to fix it via a workaround:
Go into OH Settings and change the Regional Settings Language to nothing:
[image]
Then save.
Clear the Android App Cache
Settings, Apps, openHAB, Storage, Clear Cache and Clear Data
Try again.
I also had to “Reload App” under App Help & About
fl0w
(Flow)
February 17, 2024, 6:09pm
3
Thanks, but note that my Sitemap works fine, even remote. It is the Main UI that does not show. The thread you referenced seems to deal only about a non-functional sitemap. Or maybe I am missing something?
sihui
(SiHui)
February 17, 2024, 6:17pm
4
Why not just trying it out.
fl0w
(Flow)
February 17, 2024, 7:12pm
5
Tried it, and unfortunately the Main UI is still empty.
fl0w
(Flow)
February 21, 2024, 7:51am
6
FWIW, I’ve reported this at
opened 07:51AM - 21 Feb 24 UTC
bug
I can't get OpenHAB Android 3.9.0 nor 3.10.0 to show the Main UI in remote mode … (using OpenHAB 4.1.1).
While it shows the Main UI in local mode (note the Wifi symbol in the upper right corner):
![screenshot-with](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/optimized/3X/5/2/5275c0a16663a2f00d7b8ee5d3e2f8af68b09db1_2_230x500.png)
The same thing looks empty once I turn of Wifi and go into the remote mode:
![screenshot-without](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/optimized/3X/2/a/2ab4e14e76b47c92eebeb93d8a74e3caf47fcfab_2_230x500.png)
As far as I can tell, OpenHAB Android is able to retrieve and use the sitemap. It's "just" the Main UI that does not show.
The Android log of the habdroid app also does not look suspicious (at least, to me):
```
2024-02-17 18:18:04.688 6743-6743 PageConnec...erFragment org.openhab.habdroid D updateActiveConnections: URL list [https://myopenhab.org/rest/sitemaps/uicomponents_Sitemap/uicomponents_Sitemap], connection org.openhab.habdroid.core.connection.DefaultConnection@628eb6
2024-02-17 18:18:04.694 6743-6743 ServerConfiguration org.openhab.habdroid D load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=https://192.168.188.43:8443/, userName=<redacted>, password=<redacted>), remotePath=ServerPath(url=https://myopenhab.org/, userName=<redacted>, password=<redacted>), sslClientCert=null, defaultSitemap=DefaultSitemap(name=uicomponents_Sitemap, label=Sitemap), wifiSsids=[MyWifi], restrictToWifiSsids=true, frontailUrl=null)
2024-02-17 18:18:04.710 6743-6743 WidgetListFragment org.openhab.habdroid D onPause() https://myopenhab.org/rest/sitemaps/uicomponents_Sitemap/uicomponents_Sitemap
2024-02-17 18:18:04.767 1996-5678 ConnectivityService system_server D requestNetwork for uid/pid:10485/6743 activeRequest: null callbackRequest: 11579 [NetworkRequest [ REQUEST id=11580, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10485 RequestorUid: 10485 RequestorPkg: org.openhab.habdroid UnderlyingNetworks: Null] ]] callback flags: 0 order: 2147483647
2024-02-17 18:18:04.773 1996-2794 WifiNetworkFactory system_server D got request NetworkRequest [ REQUEST id=11580, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10485 RequestorUid: 10485 RequestorPkg: org.openhab.habdroid UnderlyingNetworks: Null] ]
2024-02-17 18:18:04.774 1996-2794 UntrustedW...orkFactory system_server D got request NetworkRequest [ REQUEST id=11580, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10485 RequestorUid: 10485 RequestorPkg: org.openhab.habdroid UnderlyingNetworks: Null] ]
2024-02-17 18:18:04.774 1996-2794 OemPaidWif...orkFactory system_server D got request NetworkRequest [ REQUEST id=11580, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10485 RequestorUid: 10485 RequestorPkg: org.openhab.habdroid UnderlyingNetworks: Null] ]
2024-02-17 18:18:04.774 1996-2794 MultiInter...orkFactory system_server D got request NetworkRequest [ REQUEST id=11580, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10485 RequestorUid: 10485 RequestorPkg: org.openhab.habdroid UnderlyingNetworks: Null] ]
2024-02-17 18:18:04.802 6743-6743 AbstractWebViewFragment org.openhab.habdroid D Load default website
2024-02-17 18:18:04.862 1996-2278 ActivityManager system_server I Start proc 18445:com.google.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:5/u0i414 for {org.openhab.habdroid/org.chromium.content.app.SandboxedProcessService0:5}
2024-02-17 18:18:04.873 6743-6743 MainActivity org.openhab.habdroid D onCreateOptionsMenu()
2024-02-17 18:18:04.874 6743-6743 MainActivity org.openhab.habdroid D onPrepareOptionsMenu()
2024-02-17 18:18:04.913 6743-6743 AbstractWebViewFragment org.openhab.habdroid D progressCallback: progress = 10
2024-02-17 18:18:05.107 1996-2052 CoreBackPreview system_server D Window{f002b3b u0 org.openhab.habdroid/org.openhab.habdroid.ui.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@24c606d, mPriority=0}
2024-02-17 18:18:05.242 6743-6743 AbstractWebViewFragment org.openhab.habdroid D progressCallback: progress = 70
2024-02-17 18:18:05.262 6743-6743 AbstractWebViewFragment org.openhab.habdroid D progressCallback: progress = 100
2024-02-17 18:18:05.262 6743-6743 AbstractWebViewFragment org.openhab.habdroid D progressCallback: progress = 100
````
I am able to remotely access the Main UI via myopenhab.org, fwiw.
Is this a known issue? How can I fix it?
<sup>Link to related OpenHAB community forum discussion: https://community.openhab.org/t/openhab-android-app-main-ui-shows-blank-page-in-remote-mode/153982</sup>