Openhab Android App: No Openhab 3 UI and No Notification

I have OpenHab 3.1 and the latest version of the Android app. The server is running on OpenHabian and the Nginx reverse proxy with SSL and authentication has been set up for remote access.

Now I have two problems:

  1. when I open the Android app, the sitemap comes up correctly but always the error message that the notification is not available. (Value <!doctype of type java.lang.String cannot be converted to JSONObject)
  2. when I click on “openHAB 3 UI” in the app, a blank page comes up. In the browser, however, the UI works locally and remotely.

Thank you very much for your help.

What did you enter as remote address?

Https://openhab.xy.com

I’m experiencing the exact same problem +1

Is this a self hosted openHAB cloud instance?

Ist a link thrue Nginx Reverse Proxy to my openhab instance

1 Like

Can you visit https://openhab.xy.com/api/v1/settings/notifications in your browser and make a screenshot of that page? The HTTP response code of this page is also interesting. It can be seen in the developer console of your browser (press F12 to open).

A log of the app would be helpful for this issue.

Do you have exactly both issues or just one of them?

Ist a blank page. The Response is:
<!doctype html><html><head><meta charset="utf-8"><meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: gap: content: blob:; style-src 'self' 'unsafe-inline';"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,minimal-ui,viewport-fit=cover"><meta name="theme-color" content="#e64a19"><meta name="format-detection" content="telephone=no"><meta name="msapplication-tap-highlight" content="no"><title>openHAB</title><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"><link rel="apple-touch-icon" href="[/res/icons/apple-touch-icon.png](https://sh.onflow.ch/res/icons/apple-touch-icon.png)" type="image/png" sizes="180x180" crossorigin="use-credentials"><link rel="icon" href="[/res/icons/favicon.svg](https://sh.onflow.ch/res/icons/favicon.svg)" type="image/svg+xml" sizes="any" crossorigin="use-credentials"><link rel="icon" href="[/res/icons/128x128.png](https://sh.onflow.ch/res/icons/128x128.png)" type="image/png" sizes="128x128" crossorigin="use-credentials"><link rel="manifest" href="[/manifest.json](https://sh.onflow.ch/manifest.json)" crossorigin="use-credentials"><link href="[/css/app.css](https://sh.onflow.ch/css/app.css)" rel="stylesheet"></head><body><div id="app"></div><script src="[/js/app.js](https://sh.onflow.ch/js/app.js)"></script></body></html>

HTTP Status-Code: 200 (for all).

But I see in the console an error:

71.app.js:1 Uncaught SyntaxError: Unexpected token '<'
app.js:1 Uncaught (in promise) ChunkLoadError: Loading chunk 71 failed.
(missing: https://openhab.xy.com/api/v1/settings/js/71.app.js)
    at Function.o.e (app.js:1)
    at r (app.js:32)
    at app.js:32
o.e @ app.js:1
r @ app.js:32
(anonymous) @ app.js:32
Promise.then (async)
(anonymous) @ app.js:32
Promise.catch (async)
(anonymous) @ app.js:32
ready @ app.js:7
gt @ app.js:32
mounted @ app.js:32
qe @ app.js:7
tn @ app.js:7
insert @ app.js:7
O @ app.js:7
(anonymous) @ app.js:7
e._update @ app.js:7
a @ app.js:7
fn.get @ app.js:7
fn @ app.js:7
(anonymous) @ app.js:7
On.$mount @ app.js:7
On.$mount @ app.js:7
e._init @ app.js:7
On @ app.js:7
(anonymous) @ app.js:37
o @ app.js:1
(anonymous) @ app.js:32
o @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1

Thanks for your help.

Here the log from the App:

-----------------------
Device information
Model: SM-G981B
Manufacturer: samsung
Brand: samsung
Device: x1s
Product: x1sxxx
OS: 11
Display: 1440x2978, 3.0 density
Data usage policy: DataUsagePolicy(canDoLargeTransfers=true, loadIconsWithState=true, autoPlayVideos=true, canDoRefreshes=true), data saver: 1, battery saver: false
-----------------------

--------- beginning of main
07-07 07:54:19.003 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:21.043 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:23.082 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:25.122 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:27.162 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:29.202 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:31.242 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:33.250 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:35.290 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:37.332 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:39.370 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:41.410 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:43.450 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:45.490 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:47.530 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:49.570 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:51.610 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:53.650 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:55.691 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:57.730 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:54:59.766 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:01.790 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:03.830 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:05.845 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:07.882 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:09.922 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:11.962 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:14.002 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:16.043 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:18.082 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:20.123 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:22.162 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:24.202 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:26.243 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:28.284 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:30.322 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:32.362 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:34.402 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:36.442 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:38.483 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:40.522 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:42.562 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:44.602 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:46.642 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:48.643 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:50.648 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:52.686 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:54.726 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:56.766 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:55:58.806 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:56:00.848 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:56:02.886 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:56:04.927 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:56:06.966 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:56:07.597 27327  3496 D libEGL  : loaded /vendor/lib64/egl/libGLES_mali.so
07-07 07:56:07.607 27327 27327 D MainActivity: onCreate()
07-07 07:56:07.631 27327 27327 D MainActivity: Got intent: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.openhab.habdroid/.ui.MainActivity bnds=[1080,2265][1440,2445] }
07-07 07:56:07.632 27327 27361 E Util    : REST call to  failed
07-07 07:56:07.632 27327 27361 E Util    : org.json.JSONException: Value <!doctype of type java.lang.String cannot be converted to JSONObject
07-07 07:56:07.632 27327 27361 E Util    : at org.json.JSON.typeMismatch(JSON.java:112)
07-07 07:56:07.632 27327 27361 E Util    : at org.json.JSONObject.<init>(JSONObject.java:169)
07-07 07:56:07.632 27327 27361 E Util    : at org.json.JSONObject.<init>(JSONObject.java:182)
07-07 07:56:07.632 27327 27361 E Util    : at org.openhab.habdroid.core.connection.CloudConnectionKt.toCloudConnection(CloudConnection.kt:38)
07-07 07:56:07.632 27327 27361 E Util    : at org.openhab.habdroid.core.connection.CloudConnectionKt$toCloudConnection$1.invokeSuspend(Unknown Source:13)
07-07 07:56:07.632 27327 27361 E Util    : at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
07-07 07:56:07.632 27327 27361 E Util    : at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
07-07 07:56:07.632 27327 27361 E Util    : at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
07-07 07:56:07.632 27327 27361 E Util    : at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
07-07 07:56:07.632 27327 27361 E Util    : at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
07-07 07:56:07.632 27327 27361 E Util    : at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
--------- beginning of events
07-07 07:56:07.632 27327 27327 I wm_on_create_called: [246180959,org.openhab.habdroid.ui.MainActivity,performCreate]
07-07 07:56:07.634 27327 27327 D MainActivity: onStart()
07-07 07:56:07.634 27327 27327 D PageConnectionHolderFragment: onStart(), started false
07-07 07:56:07.635 27327 27327 D ServerConfiguration: load: ServerConfiguration(id=1, name=Privat, localPath=ServerPath(url=https://<openhab-local-address-Privat>:8443/, userName=<none>, password=<none>), remotePath=ServerPath(url=https://<openhab-remote-address-Privat>/, userName=<redacted>, password=<redacted>), sslClientCert=null, defaultSitemap=DefaultSitemap(name=uicomponents_homesteuerung, label=Homesteuerung), wifiSsid=ElimanWired)
07-07 07:56:07.636 27327 27361 D AbstractBaseActivity: Queue snackbar with tag pushNotificationFail
07-07 07:56:07.636 27327 27327 D ServerConfiguration: load: ServerConfiguration(id=2, name=OFFICE, localPath=ServerPath(url=http://<openhab-local-address-OFFICE>:8080/, userName=<none>, password=<none>), remotePath=ServerPath(url=https://<openhab-remote-address-OFFICE>/, userName=<redacted>, password=<redacted>), sslClientCert=null, defaultSitemap=DefaultSitemap(name=main, label=OFFICE RJ51), wifiSsid=null)
07-07 07:56:07.637 27327 27327 D ServerConfiguration: load: ServerConfiguration(id=1, name=Privat, localPath=ServerPath(url=https://<openhab-local-address-Privat>:8443/, userName=<none>, password=<none>), remotePath=ServerPath(url=https://<openhab-remote-address-Privat>/, userName=<redacted>, password=<redacted>), sslClientCert=null, defaultSitemap=DefaultSitemap(name=uicomponents_homesteuerung, label=Homesteuerung), wifiSsid=ElimanWired)
07-07 07:56:07.638 27327 27327 D MainActivity: onActiveConnectionChanged()
07-07 07:56:07.641 27327 27327 D AbstractBaseActivity: Queue snackbar with tag connectionEstablished
07-07 07:56:07.641 27327 27327 D AbstractBaseActivity: No next snackbar to show
07-07 07:56:07.641 27327 27327 D BackgroundTasksManager: triggerPeriodicWork()
07-07 07:56:07.643 27327 27327 D BackgroundTasksManager: Both periodic workers are running
07-07 07:56:07.649 27327 27327 I chatty  : uid=10212(org.openhab.habdroid) identical 2 lines
07-07 07:56:07.651 27327 27327 D BackgroundTasksManager: Both periodic workers are running
07-07 07:56:07.651 27327 27327 D ContentController: Update to connection org.openhab.habdroid.core.connection.DefaultConnection@120aa1a (message null)
07-07 07:56:07.651 27327 27327 D PageConnectionHolderFragment: updateActiveConnections: URL list [], connection org.openhab.habdroid.core.connection.DefaultConnection@120aa1a
07-07 07:56:07.657 27327 27327 D ServerConfiguration: load: ServerConfiguration(id=1, name=Privat, localPath=ServerPath(url=https://<openhab-local-address-Privat>:8443/, userName=<none>, password=<none>), remotePath=ServerPath(url=https://<openhab-remote-address-Privat>/, userName=<redacted>, password=<redacted>), sslClientCert=null, defaultSitemap=DefaultSitemap(name=uicomponents_homesteuerung, label=Homesteuerung), wifiSsid=ElimanWired)
07-07 07:56:07.658 27327 27327 D ServerConfiguration: load: ServerConfiguration(id=2, name=OFFICE, localPath=ServerPath(url=http://<openhab-local-address-OFFICE>:8080/, userName=<none>, password=<none>), remotePath=ServerPath(url=https://<openhab-remote-address-OFFICE>/, userName=<redacted>, password=<redacted>), sslClientCert=null, defaultSitemap=DefaultSitemap(name=main, label=OFFICE RJ51), wifiSsid=null)
07-07 07:56:07.659 27327 27327 D ServerConfiguration: load: ServerConfiguration(id=1, name=Privat, localPath=ServerPath(url=https://<openhab-local-address-Privat>:8443/, userName=<none>, password=<none>), remotePath=ServerPath(url=https://<openhab-remote-address-Privat>/, userName=<redacted>, password=<redacted>), sslClientCert=null, defaultSitemap=DefaultSitemap(name=uicomponents_homesteuerung, label=Homesteuerung), wifiSsid=ElimanWired)
07-07 07:56:07.660 27327 27327 D ContentController: clearServerCommunicationFailure()
07-07 07:56:07.660 27327 27327 D BackgroundTasksManager: triggerPeriodicWork()
07-07 07:56:07.663 27327 27327 D BackgroundTasksManager: Both periodic workers are running
07-07 07:56:07.669 27327 27327 I chatty  : uid=10212(org.openhab.habdroid) identical 2 lines
07-07 07:56:07.681 27327 27327 D BackgroundTasksManager: Both periodic workers are running
07-07 07:56:07.682 27327 27327 E DataAudit: Tag: null, Operation: android:fine_location
07-07 07:56:07.682 27327 27327 E DataAudit: Stacktrace: java.lang.Throwable
07-07 07:56:07.682 27327 27327 E DataAudit: at org.openhab.habdroid.core.OpenHabApplication$registerDataAccessAudit$appOpsCallback$1.onNoted(OpenHabApplication.kt:135)
07-07 07:56:07.682 27327 27327 E DataAudit: at android.app.AppOpsManager.readAndLogNotedAppops(AppOpsManager.java:8312)
07-07 07:56:07.682 27327 27327 E DataAudit: at android.os.Parcel.readExceptionCode(Parcel.java:2304)
07-07 07:56:07.682 27327 27327 E DataAudit: at android.os.Parcel.readException(Parcel.java:2279)
07-07 07:56:07.682 27327 27327 E DataAudit: at android.net.wifi.IWifiManager$Stub$Proxy.getConnectionInfo(IWifiManager.java:2333)
07-07 07:56:07.682 27327 27327 E DataAudit: at android.net.wifi.WifiManager.getConnectionInfo(WifiManager.java:2758)
07-07 07:56:07.682 27327 27327 E DataAudit: at org.openhab.habdroid.util.ExtensionFuncsKt.getCurrentWifiSsid(ExtensionFuncs.kt:478)
07-07 07:56:07.682 27327 27327 E DataAudit: at org.openhab.habdroid.ui.MainActivity.onStart(MainActivity.kt:279)
07-07 07:56:07.682 27327 27327 E DataAudit: at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1435)
07-07 07:56:07.682 27327 27327 E DataAudit: at android.app.Activity.performStart(Activity.java:8024)
07-07 07:56:07.682 27327 27327 E DataAudit: at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3457)
07-07 07:56:07.682 27327 27327 E DataAudit: at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
07-07 07:56:07.682 27327 27327 E DataAudit: at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
07-07 07:56:07.682 27327 27327 E DataAudit: at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
07-07 07:56:07.682 27327 27327 E DataAudit: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
07-07 07:56:07.682 27327 27327 E DataAudit: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
07-07 07:56:07.682 27327 27327 E DataAudit: at android.os.Handler.dispatchMessage(Handler.java:106)
07-07 07:56:07.682 27327 27327 E DataAudit: at android.os.Looper.loop(Looper.java:223)
07-07 07:56:07.682 27327 27327 E DataAudit: at android.app.ActivityThread.main(ActivityThread.java:7660)
07-07 07:56:07.682 27327 27327 E DataAudit: at java.lang.reflect.Method.invoke(Native Method)
07-07 07:56:07.682 27327 27327 E DataAudit: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
07-07 07:56:07.682 27327 27327 E DataAudit: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
07-07 07:56:07.684 27327 27327 D ServerConfiguration: load: ServerConfiguration(id=1, name=Privat, localPath=ServerPath(url=https://<openhab-local-address-Privat>:8443/, userName=<none>, password=<none>), remotePath=ServerPath(url=https://<openhab-remote-address-Privat>/, userName=<redacted>, password=<redacted>), sslClientCert=null, defaultSitemap=DefaultSitemap(name=uicomponents_homesteuerung, label=Homesteuerung), wifiSsid=ElimanWired)
07-07 07:56:07.685 27327 27327 D ServerConfiguration: load: ServerConfiguration(id=2, name=OFFICE, localPath=ServerPath(url=http://<openhab-local-address-OFFICE>:8080/, userName=<none>, password=<none>), remotePath=ServerPath(url=https://<openhab-remote-address-OFFICE>/, userName=<redacted>, password=<redacted>), sslClientCert=null, defaultSitemap=DefaultSitemap(name=main, label=OFFICE RJ51), wifiSsid=null)
07-07 07:56:07.686 27327 27327 D MainActivity: Cannot auto select server: SSID didn't change since the last check
07-07 07:56:07.686 27327 27327 I wm_on_start_called: [246180959,org.openhab.habdroid.ui.MainActivity,handleStartActivity]
07-07 07:56:07.686 27327 27327 D MainActivity: onPostCreate()
07-07 07:56:07.687 27327 27327 D MainActivity: onResume()
07-07 07:56:07.690 27327 27327 I wm_on_resume_called: [246180959,org.openhab.habdroid.ui.MainActivity,RESUME_ACTIVITY]
07-07 07:56:07.702 27327 27327 I wm_on_top_resumed_gained_called: [246180959,org.openhab.habdroid.ui.MainActivity,topStateChangedWhenResumed]
07-07 07:56:07.731 27327  3494 I mali_winsys: new_window_surface() [1440x3200] return: 0x3000
07-07 07:56:07.736 27327  3494 I Gralloc4: mapper 4.x is not supported
07-07 07:56:07.736 27327  3494 W Gralloc3: mapper 3.x is not supported
07-07 07:56:07.737 27327  3494 I gralloc : Arm Module v1.0
07-07 07:56:07.754 27327 27327 D MainActivity: onCreateOptionsMenu()
07-07 07:56:07.755 27327 27327 D MainActivity: onPrepareOptionsMenu()
07-07 07:56:07.909 27327 27327 D AbstractBaseActivity: Show snackbar with tag pushNotificationFail
07-07 07:56:08.465 27327 27327 I ServerProperties: Server has rest api version 4
07-07 07:56:08.531 27327 27327 D ServerProperties: Server returned sitemaps: [Sitemap(name=uicomponents_homesteuerung, label=Homesteuerung, icon=null, homepageLink=https://<openhab-remote-address-Privat>/rest/sitemaps/uicomponents_homesteuerung/uicomponents_homesteuerung)]
07-07 07:56:08.533 27327 27327 D MainActivity: Configured sitemap is 'uicomponents_homesteuerung', selected Sitemap(name=uicomponents_homesteuerung, label=Homesteuerung, icon=null, homepageLink=https://<openhab-remote-address-Privat>/rest/sitemaps/uicomponents_homesteuerung/uicomponents_homesteuerung)
07-07 07:56:08.533 27327 27327 D ContentController: Opening sitemap Sitemap(name=uicomponents_homesteuerung, label=Homesteuerung, icon=null, homepageLink=https://<openhab-remote-address-Privat>/rest/sitemaps/uicomponents_homesteuerung/uicomponents_homesteuerung) (current: null)
07-07 07:56:08.533 27327 27327 D PageConnectionHolderFragment: updateActiveConnections: URL list [], connection org.openhab.habdroid.core.connection.DefaultConnection@120aa1a
07-07 07:56:08.534 27327 27327 D PageConnectionHolderFragment: updateActiveConnections: URL list [https://<openhab-remote-address-Privat>/rest/sitemaps/uicomponents_homesteuerung/uicomponents_homesteuerung], connection org.openhab.habdroid.core.connection.DefaultConnection@120aa1a
07-07 07:56:08.534 27327 27327 D PageConnectionHolderFragment: Creating new handler for URL https://<openhab-remote-address-Privat>/rest/sitemaps/uicomponents_homesteuerung/uicomponents_homesteuerung
07-07 07:56:08.534 27327 27327 D PageConnectionHolderFragment: Creating new SSE helper for sitemap uicomponents_homesteuerung, page uicomponents_homesteuerung
07-07 07:56:08.534 27327 27327 D PageConnectionHolderFragment: Loading data for https://<openhab-remote-address-Privat>/rest/sitemaps/uicomponents_homesteuerung/uicomponents_homesteuerung, long polling false
07-07 07:56:08.819 27327 27327 D PageConnectionHolderFragment: Updated page data for URL https://<openhab-remote-address-Privat>/rest/sitemaps/uicomponents_homesteuerung/uicomponents_homesteuerung (8 widgets)
07-07 07:56:08.819 27327 27327 D ContentController: Got update for URL https://<openhab-remote-address-Privat>/rest/sitemaps/uicomponents_homesteuerung/uicomponents_homesteuerung, pending [https://<openhab-remote-address-Privat>/rest/sitemaps/uicomponents_homesteuerung/uicomponents_homesteuerung]
07-07 07:56:08.829 27327 27327 D WidgetListFragment: onViewCreated() https://<openhab-remote-address-Privat>/rest/sitemaps/uicomponents_homesteuerung/uicomponents_homesteuerung
07-07 07:56:08.830 27327 27327 D WidgetListFragment: onStart() https://<openhab-remote-address-Privat>/rest/sitemaps/uicomponents_homesteuerung/uicomponents_homesteuerung
07-07 07:56:08.830 27327 27327 D PageConnectionHolderFragment: Trigger update for URL https://<openhab-remote-address-Privat>/rest/sitemaps/uicomponents_homesteuerung/uicomponents_homesteuerung, force false
07-07 07:56:08.830 27327 27327 D ContentController: Got update for URL https://<openhab-remote-address-Privat>/rest/sitemaps/uicomponents_homesteuerung/uicomponents_homesteuerung, pending []
07-07 07:56:08.865 27327 27327 I WidgetImageView: Refreshing image at https://<openhab-remote-address-Privat>/icon/light?format=SVG&anyFormat=true, avoidCache false
07-07 07:56:08.865 27327 27327 I WidgetImageView: Refreshing image at https://<openhab-remote-address-Privat>/icon/blinds?format=SVG&anyFormat=true, avoidCache false
07-07 07:56:08.865 27327 27327 I WidgetImageView: Refreshing image at https://<openhab-remote-address-Privat>/icon/lock?format=SVG&anyFormat=true, avoidCache false
07-07 07:56:08.865 27327 27327 I WidgetImageView: Refreshing image at https://<openhab-remote-address-Privat>/icon/temperature?format=SVG&anyFormat=true, avoidCache false
07-07 07:56:08.865 27327 27327 I WidgetImageView: Refreshing image at https://<openhab-remote-address-Privat>/icon/terrace?format=SVG&anyFormat=true, avoidCache false
07-07 07:56:08.865 27327 27327 I WidgetImageView: Refreshing image at https://<openhab-remote-address-Privat>/icon/poweroutlet?format=SVG&anyFormat=true, avoidCache false
07-07 07:56:08.865 27327 27327 I WidgetImageView: Refreshing image at https://<openhab-remote-address-Privat>/icon/heating?format=SVG&anyFormat=true, avoidCache false
07-07 07:56:08.865 27327 27327 I WidgetImageView: Refreshing image at https://<openhab-remote-address-Privat>/icon/settings?format=SVG&anyFormat=true, avoidCache false
07-07 07:56:09.006 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:56:10.154 27327 27327 D MainActivity: onOptionsItemSelected()
07-07 07:56:10.950 27327 27327 D AbstractBaseActivity: Show snackbar with tag connectionEstablished
07-07 07:56:11.006 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:56:11.516 27327 27327 I wm_on_top_resumed_lost_called: [246180959,org.openhab.habdroid.ui.MainActivity,topStateChangedWhenResumed]
07-07 07:56:11.516 27327 27327 D MainActivity: onPause()
07-07 07:56:11.516 27327 27327 D WidgetListFragment: onPause() https://<openhab-remote-address-Privat>/rest/sitemaps/uicomponents_homesteuerung/uicomponents_homesteuerung
07-07 07:56:11.517 27327 27327 I wm_on_paused_called: [246180959,org.openhab.habdroid.ui.MainActivity,performPause]
07-07 07:56:11.543 27327 27327 I wm_on_create_called: [197431099,org.openhab.habdroid.ui.PreferencesActivity,performCreate]
07-07 07:56:11.569 27327 27327 D Ringtone: Successfully created local player
07-07 07:56:11.583 27327 27327 D PreferencesActivity: Removing notification prefs for < 25
07-07 07:56:11.590 27327 27327 D ServerConfiguration: load: ServerConfiguration(id=1, name=Privat, localPath=ServerPath(url=https://<openhab-local-address-Privat>:8443/, userName=<none>, password=<none>), remotePath=ServerPath(url=https://<openhab-remote-address-Privat>/, userName=<redacted>, password=<redacted>), sslClientCert=null, defaultSitemap=DefaultSitemap(name=uicomponents_homesteuerung, label=Homesteuerung), wifiSsid=ElimanWired)
07-07 07:56:11.591 27327 27327 D ServerConfiguration: load: ServerConfiguration(id=2, name=OFFICE, localPath=ServerPath(url=http://<openhab-local-address-OFFICE>:8080/, userName=<none>, password=<none>), remotePath=ServerPath(url=https://<openhab-remote-address-OFFICE>/, userName=<redacted>, password=<redacted>), sslClientCert=null, defaultSitemap=DefaultSitemap(name=main, label=OFFICE RJ51), wifiSsid=null)
07-07 07:56:11.592 27327 27327 I wm_on_start_called: [197431099,org.openhab.habdroid.ui.PreferencesActivity,handleStartActivity]
07-07 07:56:11.592 27327 27327 I wm_on_resume_called: [197431099,org.openhab.habdroid.ui.PreferencesActivity,RESUME_ACTIVITY]
07-07 07:56:11.595 27327 27327 I wm_on_top_resumed_gained_called: [197431099,org.openhab.habdroid.ui.PreferencesActivity,topStateChangedWhenResumed]
07-07 07:56:11.601 27327  3494 I mali_winsys: new_window_surface() [1440x3200] return: 0x3000
07-07 07:56:11.632 27327 27327 W ListPreference: Setting a summary with a String formatting marker is no longer supported. You should use a SummaryProvider instead.
07-07 07:56:11.634 27327 27327 W ListPreference: Setting a summary with a String formatting marker is no longer supported. You should use a SummaryProvider instead.
07-07 07:56:11.647 27327 27327 E Util    : REST call to  failed
07-07 07:56:11.647 27327 27327 E Util    : org.json.JSONException: Value <!doctype of type java.lang.String cannot be converted to JSONObject
07-07 07:56:11.647 27327 27327 E Util    : at org.json.JSON.typeMismatch(JSON.java:112)
07-07 07:56:11.647 27327 27327 E Util    : at org.json.JSONObject.<init>(JSONObject.java:169)
07-07 07:56:11.647 27327 27327 E Util    : at org.json.JSONObject.<init>(JSONObject.java:182)
07-07 07:56:11.647 27327 27327 E Util    : at org.openhab.habdroid.core.connection.CloudConnectionKt.toCloudConnection(CloudConnection.kt:38)
07-07 07:56:11.647 27327 27327 E Util    : at org.openhab.habdroid.core.connection.CloudConnectionKt$toCloudConnection$1.invokeSuspend(Unknown Source:13)
07-07 07:56:11.647 27327 27327 E Util    : at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
07-07 07:56:11.647 27327 27327 E Util    : at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
07-07 07:56:11.647 27327 27327 E Util    : at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
07-07 07:56:11.647 27327 27327 E Util    : at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
07-07 07:56:11.647 27327 27327 E Util    : at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
07-07 07:56:11.647 27327 27327 E Util    : at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
07-07 07:56:11.647 27327 27327 E Util    : REST call to  failed
07-07 07:56:11.647 27327 27327 E Util    : org.json.JSONException: Value <!doctype of type java.lang.String cannot be converted to JSONObject
07-07 07:56:11.647 27327 27327 E Util    : at org.json.JSON.typeMismatch(JSON.java:112)
07-07 07:56:11.647 27327 27327 E Util    : at org.json.JSONObject.<init>(JSONObject.java:169)
07-07 07:56:11.647 27327 27327 E Util    : at org.json.JSONObject.<init>(JSONObject.java:182)
07-07 07:56:11.647 27327 27327 E Util    : at org.openhab.habdroid.core.connection.CloudConnectionKt.toCloudConnection(CloudConnection.kt:38)
07-07 07:56:11.647 27327 27327 E Util    : at org.openhab.habdroid.core.connection.CloudConnectionKt$toCloudConnection$1.invokeSuspend(Unknown Source:13)
07-07 07:56:11.647 27327 27327 E Util    : at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
07-07 07:56:11.647 27327 27327 E Util    : at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
07-07 07:56:11.647 27327 27327 E Util    : at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
07-07 07:56:11.647 27327 27327 E Util    : at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
07-07 07:56:11.647 27327 27327 E Util    : at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
07-07 07:56:11.647 27327 27327 E Util    : at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
07-07 07:56:11.652 27327 27327 W ListPreference: Setting a summary with a String formatting marker is no longer supported. You should use a SummaryProvider instead.
07-07 07:56:12.080 27327  3494 I mali_egl: eglDestroySurface() in
07-07 07:56:12.082 27327  3494 I mali_winsys: delete_surface() [1440x3200] return
07-07 07:56:12.082 27327  3494 I mali_egl: eglDestroySurface() out
07-07 07:56:12.083 27327  3494 W libEGL  : EGLNativeWindowType 0x7a472f64c0 disconnect failed
07-07 07:56:12.094 27327 27327 D MainActivity: onStop()
07-07 07:56:12.094 27327 27327 D PageConnectionHolderFragment: onStop()
07-07 07:56:12.094 27327 27327 D PageConnectionHolderFragment: Canceling connection for URL https://<openhab-remote-address-Privat>/rest/sitemaps/uicomponents_homesteuerung/uicomponents_homesteuerung
07-07 07:56:12.095 27327 27327 I wm_on_stop_called: [246180959,org.openhab.habdroid.ui.MainActivity,STOP_ACTIVITY_ITEM]
07-07 07:56:12.096 27327 27327 D MainActivity: onSaveInstanceState()
07-07 07:56:12.097 27327 27327 D ContentController: onSaveInstanceState()
07-07 07:56:13.006 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:56:13.010 27327 27327 W ListPreference: Setting a summary with a String formatting marker is no longer supported. You should use a SummaryProvider instead.
07-07 07:56:13.791 27327 27327 D AbstractBaseActivity: No next snackbar to show
07-07 07:56:15.007 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:56:17.007 27327 27339 E penhab.habdroi: failed to connect to jdwp control socket: Connection refused
07-07 07:56:18.271 27327 27327 I wm_on_top_resumed_lost_called: [197431099,org.openhab.habdroid.ui.PreferencesActivity,topStateChangedWhenResumed]
07-07 07:56:18.271 27327 27327 I wm_on_paused_called: [197431099,org.openhab.habdroid.ui.PreferencesActivity,performPause]
07-07 07:56:18.297 27327 27327 I wm_on_create_called: [52777829,org.openhab.habdroid.ui.LogActivity,performCreate]
07-07 07:56:18.298 27327 27327 I wm_on_start_called: [52777829,org.openhab.habdroid.ui.LogActivity,handleStartActivity]
07-07 07:56:18.299 27327 27327 I wm_on_resume_called: [52777829,org.openhab.habdroid.ui.LogActivity,RESUME_ACTIVITY]
07-07 07:56:18.304 27327 27327 I wm_on_top_resumed_gained_called: [52777829,org.openhab.habdroid.ui.LogActivity,topStateChangedWhenResumed]
07-07 07:56:18.311 27327  3494 I mali_winsys: new_window_surface() [1440x3200] return: 0x3000
07-07 07:56:18.323 27327 27327 D LogActivity: onCreateOptionsMenu()

I use two server. The problem I reportet is from “Privat” and not from “Office”

The app checks the HTTP code of https://openhab.xy.com/api/v1/settings/notifications, the API the cloud server provides for notifications.
If it’s 404 (Not found) the notifications aren’t available, because the remote server is most likely not a cloud instance.

In your case the reverse proxy says “Yes, there’s a page at https://openhab.xy.com/api/v1/settings/notifications”, which isn’t true. It should return 404 and then the error will vanish.

OK, I understand.
And why the notification work to with openhab itself, without a cloud instance?

You mean why they don’t work without cloud? The cloud instance is connected to FCM (for push notifications on Android), the openHAB server doesn’t have this feature.

Also see Notifications only working with myopenhab/cloud connector · Issue #629 · openhab/openhab-android · GitHub

OK, thanks. I switch now to the Cloud as remote and it works.
But the second problem (blank page for openhab UI in the App) persists. What is here the problem?

Can you visit https://home.myopenhab.org/ in your browser. If you get redirected to login, do so and visit the link again. What do you see there?

It’s also a blank page in Brave (Default Browser)
In Firefox it is OK

Brave and Firefox on mobile or desktop?

Booth mobile

Can you check it on your desktop? Browsers there have better debug capabilities. If the page doesn’t load in any browser there, please post the html code of this site and check the http codes in the developer console.

It work on FF and Brave on Desktop and on FF on Mobile.
But on Brave and OpenHAB-App on Android not. Blank page.