-
-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Main UI shows blank page in remote mode #3601
Comments
You you open home.myopenhab.org in a browser on your phone over mobile data? |
Yes, home.myopenhab.org works on the same device. |
Correction, I just had the issue on the Smartphone. Directly entering home.myopenhab.org showed a blank page. After I signed in on myopenhab.org and clicked "Click here to access your openHAB's dashboard", I was able to visit home.myopenhab.org. Closing the tab, and entering home.myopenhab.org also showed the expected page afterwards. |
Can you try https://github.com/openhab/openhab-android/releases/tag/3.10.2-beta and capture the log via adb while opening MainUI via mobile data? |
I've installed 3.10.2-beta and are unable to reproduce this behavior. However, the OpenHAB App from Play Store still exhibits the faulty behavior. I noticed that when I enter home.myopenhab.org in a browser, I usually a login page presented, but sometimes I remember seeing a HTTP basic auth dialog. I think I remember dismissing the basic auth dialog leads to an empty page presented. That made me wonder that it may be possible that the webview of the OpenHAB Android App may also somehow entered this stale state. So I reset the Android App by deleting all of its data (not just the cache) and configured the App again. Since then, I can not longer trigger the faulty behavior. Not sure if this should be closed though, as the underlying issue is probably not fixed. |
Use the existing 'Clear image cache' setting, rename it and move it to the trouble shooting section. It might help in some situations, like openhab#3601 Signed-off-by: mueller-ma <[email protected]>
Maybe clearing the Webview cache would have fixed the issue for you: #3605
The app always sends the credentials, so this shouldn't be an issue. |
Use the existing 'Clear image cache' setting, rename it and move it to the trouble shooting section. It might help in some situations, like #3601 Signed-off-by: mueller-ma <[email protected]>
FWIW, I just ran into this again after updating openhab from 4.1.1 to 4.1.2. clearing the cache in the app resolved this. However it would be more user friendly if this manual step wasn't required. Actually, I am not even sure what the root cause is. |
Did you have a similar issue in a desktop browser when updating openHAB server? |
I observed quite the same issue, the app did not display the Main UI (app version 3.12.0; Main UI set as start page). Clearing cache inside the app did not help, but deleting data and cache of the app from Android settings and setting up the server connection again made it work. |
I experienced the same issue. The Main UI gets shown again after deleting all the data as well as the cache of the App, but the graphs of the Main UI do still not work anymore. |
Same issue here, before and after updating to latest 4.2.2. Let me tell you that ive tried multiple ways to get the MainUI to show. The problem is intermittent. I then made the Sitemaps the default page that opens, and even if switching from Sitemaps to MainUI, same problem and you will have to clear cache and close and re-open the app multiple times until it ends up showing the MainUI successfully. This problem is very annoying and makes the app unusable to people who want to use the MainUI. Im hoping it can be fixed, as ive had this issue since beginning of 2024, i just havent had time to create the bug report until someone beat me to it. @mueller-ma are you maybe able to reproduce the issue? Using Android 10. |
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):
I am able to remotely access the Main UI via myopenhab.org, fwiw.
Is this a known issue? How can I fix it?
Link to related OpenHAB community forum discussion: https://community.openhab.org/t/openhab-android-app-main-ui-shows-blank-page-in-remote-mode/153982
The text was updated successfully, but these errors were encountered: