Open marcusb opened 3 months ago
Does the app display Sitemaps over HTTPS or is the issue only related to Main UI?
It doesn't load sitemaps either, this error seems to happen before any data is loaded.
Just to be sure: the combination of scheme, url and port in the settings in correct?
Just to be sure: the combination of scheme, url and port in the settings in correct?
Yes, absolutely sure. Double-checked.
Actual behaviour
App is configured with a local server only, at a HTTPS URL that works fine in the browser. But the app fails to connect to the server. At startup it only says
Connnection to local server failed and you haven't configured a remote server
.I have also verified with tcpdump that it isn't even trying to connect to the server, there is no traffic at all. The server's DNS record resolves to both IPv4 and IPv6 addresses.
If I switch to a local
http://
URL, it works.Log contains some network connection errors:
Expected behaviour
Should connect to server and show the Main UI.
Can you reproduce the issue in demo mode?
No
Environment data
Client
Server
openHAB Cloud
Not set, only local server configured.
Logs
App log
Click to expand
``` ----------------------- Device information Model: SM-G981U Manufacturer: samsung Brand: samsung Device: x1q Product: x1qsqx OS: 13 Display: 1080x2178, 3.0 density Data usage policy: DataUsagePolicy(canDoLargeTransfers=true, loadIconsWithState=true, autoPlayVideos=true, canDoRefreshes=true), data saver: 1, battery saver: false ----------------------- --------- beginning of main 03-20 21:37:05.346 20008 20008 D AbstractBaseActivity: No next snackbar to show --------- beginning of system 03-20 21:37:06.631 20008 20008 D Activity: onBackPressed --------- beginning of events 03-20 21:37:06.637 20008 20008 I wm_on_top_resumed_lost_called: [25720994,org.openhab.habdroid.ui.LogActivity,topStateChangedWhenResumed] 03-20 21:37:06.637 20008 20008 I wm_on_paused_called: [25720994,org.openhab.habdroid.ui.LogActivity,performPause] 03-20 21:37:06.646 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: handleAppVisibility mAppVisible = false visible = true 03-20 21:37:06.646 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: stopped(false) old = true 03-20 21:37:06.646 20008 20008 I ViewRootImpl@51ab10f[PreferencesActivity]: WindowStopped on org.openhab.habdroid/org.openhab.habdroid.ui.preference.PreferencesActivity set to false 03-20 21:37:06.649 20008 20008 I wm_on_restart_called: [110870418,org.openhab.habdroid.ui.preference.PreferencesActivity,performRestartActivity] 03-20 21:37:06.651 20008 20008 D ServerConfiguration: load: ServerConfiguration(id=1, name=openHAB, localPath=ServerPath(url=https://