OpenHAB retured empty sitemap list

Nothing here, nothing on github.

I can confirm. Setting Loglevel to Debug allows me to open my sitemap again. Setting it back, my Android Openhab App cannot display my Sitemap anymore.

I’m on 3.2M-RC1 and I still get this error too. I find if I hit refresh 3 or 4 times it works, but always fails on the first time.

Same here. Just set it to debug and it works. Something here is seriously messed up if the log level set causes the connection/site map to fail.

No news at all for a long time. Is anyone investigating?

Since I moved from OH2.5 to OH3 I’m having this error too. Setting loglevel to Debug and changing country doesn’t work for me.
In case it helps anyone, I did some checking and testing

  • If the sitemap is not loaded, one of the requests of OH Cloud (on your local device) is cancelled (visible in the logs)
  • This happens randomly and if it happens, nothing is shown
  • If the sitemap is loaded, the cancel doesn’t occur (seems logic)
  • The code was indeed changed after OH 3.0 so OH2.5 and OH3.0 keep on working
  • As most of us use myopenhab and it works for OH2.5 + the code is changed, this makes me think it is not in the webserver.
  • I’m thinking there is some kind of small delay causing the webserver of myopenhab to cancel all activity not to overload the server(s)
  • Next thing to try and find out is if I can use previous binding (from OH3.0) in OH3.2
  • Or see if I can find another pattern

Just my 2 cents

1 Like

I have also been battling this issue for some time and have compiled the following summary in the hopes that @kaikreuzer and @mueller-ma who work on the openHAB Cloud Connector and the Android App can provide some assistance/guidance on where to from here? I have also added @digitaldan as he looked at the initial GitHUB issue.

Hope that is OK?

So far I have been able to find the following community topics that talk about the issue:

There is also a GitHUB issue logged:

I initially had some success by removing all the sessions registered in openHAB, but that no longer works.

Changing the region setting and setting log:set DEBUG org.openhab.io.openhabcloud also seem to have no effect.

I generally do not use a sitemap. But if I use the Try Again option I can eventually get the SiteMap to display. However there is no similar option for the openHAB 3 UI.

When trying to access openHAB via the https://home.myopenhab.org link I also sometimes get success - though this will often require lots of reloads/refresh of the pages. Sometimes the page comes up with the styling all messed up - have not managed to get a screen shot just yet.

Could this indicate some sort of resourcing issue on home.myopenhab.org?

So just hoping the gurus linked above can give us some guidance on how to resolve?

Thanks
Mark
EDIT: Got screen shot of incomplete page:

EDIT 19/01/2022 - Additional user with tsame issue:

1 Like

From the app’s perspective the Sitemap handling is the same for local servers or myopenHAB, so I don’t have any insights in openHAB-cloud in this case.

Thank you so much for the response.
Would there be any way of getting a “refresh” or “try again” for the openHAB 3 UI? If the Sitemap is not loaded you at least get an option to Try Again, but not with the openHAB 3 UI

Is whoever has coded these parts still with us in the community?

Having an issue which is fixed by setting the log to debug makes no sense. Could someone who has knowledge of the inner workings of this have any clue how the log level and requests to show sitemaps could be connected? Because it really makes no sense at all…

Updated the app today - HUUUUGE Mistake
I also have the empty sitemap error. Tried all versions in testflight but also not working. App version on my wife’s cellphone is 2.4.36 and it’s working there (not available on testflight)
Tried changing the log debug mode - nothing

This one is about Android App, not iOS. Issues are complletely different.

I am facing the same issue after upgrading to 2.4.39. web interface to the Basic UI with the same sitemap works great.

1 Like

Wrong category, this one is about Android App.

Hi everyone! After two years of trouble-free use, today ios app updated to version 2.4.39 and the app no ​​longer works. both locally and remotely as soon as I enter the red error below appears: ERROR openHAB returned an empty sitemap list.
The PC map works easily, both locally and remotely on myopenhab.org
I tried to re-ignite the raspberry (which had been on for 540 days), but nothing to do. Alexa works, the map works on PC and Android tablet (not updated the app), but on iOS I can’t do it anymore. Anyone know where the problem lies? I am using openHAB 2.5.0.M1 Milestone Build.

Thanks to all Emiliano.

So hoping someone has an idea… I just upgraded to 3.3.0.M6 and myopenhab.org shows online, cloud connector looks fine from the debug log and shows activity but home.myopenhab.org shows blank and the android app, both regular and beta, shows empty sitemap or “error to display UI” when via cloud, when local, it works fine. the cloud connector works great for my OH2.5 instance but wasn’t going to fully migrate but thought it was something I had going but seems to be a greater issue observed by others.

My log with it set to DEBUG:

2022-06-16 19:18:29.300 [DEBUG] [io.openhabcloud.internal.CloudClient] - on(): request
2022-06-16 19:18:29.301 [DEBUG] [io.openhabcloud.internal.CloudClient] - Got request 26182318
2022-06-16 19:18:29.302 [DEBUG] [io.openhabcloud.internal.CloudClient] - Path /rest/events/states
2022-06-16 19:18:29.302 [DEBUG] [io.openhabcloud.internal.CloudClient] - Method GET
2022-06-16 19:18:29.303 [DEBUG] [io.openhabcloud.internal.CloudClient] - Headers: {"sec-fetch-mode":"cors","referer":"https://home.myopenhab.org/","sec-fetch-site":"same-origin","accept-language":"en-US,en;q=0.9","accept":"text/event-stream","last-event-id":"0","sec-ch-ua":"\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"102\", \"Google Chrome\";v=\"102\"","sec-ch-ua-mobile":"?0","sec-ch-ua-platform":"\"Windows\"","host":"home.myopenhab.org:443","cache-control":"no-cache","accept-encoding":"gzip, deflate, br","user-agent":"openhab-cloud/0.0.1","sec-fetch-dest":"empty"}
2022-06-16 19:18:29.304 [DEBUG] [io.openhabcloud.internal.CloudClient] - Query null
2022-06-16 19:18:29.304 [DEBUG] [io.openhabcloud.internal.CloudClient] - Request method is GET
2022-06-16 19:18:29.304 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-fetch-mode = cors
2022-06-16 19:18:29.306 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header referer = https://home.myopenhab.org/
2022-06-16 19:18:29.307 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-fetch-site = same-origin
2022-06-16 19:18:29.307 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header accept-language = en-US,en;q=0.9
2022-06-16 19:18:29.307 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header accept = text/event-stream
2022-06-16 19:18:29.307 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header last-event-id = 0
2022-06-16 19:18:29.309 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-ch-ua = " Not A;Brand";v="99", "Chromium";v="102", "Google Chrome";v="102"
2022-06-16 19:18:29.309 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-ch-ua-mobile = ?0
2022-06-16 19:18:29.309 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-ch-ua-platform = "Windows"
2022-06-16 19:18:29.310 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header host = home.myopenhab.org:443
2022-06-16 19:18:29.310 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header cache-control = no-cache
2022-06-16 19:18:29.311 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header accept-encoding = gzip, deflate, br
2022-06-16 19:18:29.312 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header user-agent = openhab-cloud/0.0.1
2022-06-16 19:18:29.312 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-fetch-dest = empty
2022-06-16 19:18:29.318 [DEBUG] [io.openhabcloud.internal.CloudClient] - onHeaders 26182318
2022-06-16 19:18:29.319 [DEBUG] [io.openhabcloud.internal.CloudClient] - onResponseContent: 26182318, content size 63
2022-06-16 19:18:30.009 [DEBUG] [io.openhabcloud.internal.CloudClient] - on(): request
2022-06-16 19:18:30.009 [DEBUG] [io.openhabcloud.internal.CloudClient] - Got request 26182324
2022-06-16 19:18:30.010 [DEBUG] [io.openhabcloud.internal.CloudClient] - Path /rest/events/states/f344ead8-a13f-438e-b21f-180956be6fba
2022-06-16 19:18:30.010 [DEBUG] [io.openhabcloud.internal.CloudClient] - Method POST
2022-06-16 19:18:30.010 [DEBUG] [io.openhabcloud.internal.CloudClient] - Headers: {"sec-fetch-mode":"cors","content-length":"758","referer":"https://home.myopenhab.org/","sec-fetch-site":"same-origin","accept-language":"en-US,en;q=0.9","origin":"https://home.myopenhab.org","accept":"*/*","sec-ch-ua":"\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"102\", \"Google Chrome\";v=\"102\"","sec-ch-ua-mobile":"?0","sec-ch-ua-platform":"\"Windows\"","x-requested-with":"XMLHttpRequest","host":"home.myopenhab.org:443","content-type":"application/json","accept-encoding":"gzip, deflate, br","user-agent":"openhab-cloud/0.0.1","sec-fetch-dest":"empty"}
2022-06-16 19:18:30.010 [DEBUG] [io.openhabcloud.internal.CloudClient] - Query null
2022-06-16 19:18:30.011 [DEBUG] [io.openhabcloud.internal.CloudClient] - Request method is POST
2022-06-16 19:18:30.011 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-fetch-mode = cors
2022-06-16 19:18:30.011 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header content-length = 758
2022-06-16 19:18:30.011 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header referer = https://home.myopenhab.org/
2022-06-16 19:18:30.011 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-fetch-site = same-origin
2022-06-16 19:18:30.012 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header accept-language = en-US,en;q=0.9
2022-06-16 19:18:30.012 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header origin = https://home.myopenhab.org
2022-06-16 19:18:30.014 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header accept = */*
2022-06-16 19:18:30.014 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-ch-ua = " Not A;Brand";v="99", "Chromium";v="102", "Google Chrome";v="102"
2022-06-16 19:18:30.014 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-ch-ua-mobile = ?0
2022-06-16 19:18:30.014 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-ch-ua-platform = "Windows"
2022-06-16 19:18:30.015 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header x-requested-with = XMLHttpRequest
2022-06-16 19:18:30.016 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header host = home.myopenhab.org:443
2022-06-16 19:18:30.017 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header content-type = application/json
2022-06-16 19:18:30.017 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header accept-encoding = gzip, deflate, br
2022-06-16 19:18:30.017 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header user-agent = openhab-cloud/0.0.1
2022-06-16 19:18:30.017 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-fetch-dest = empty
2022-06-16 19:18:30.020 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: undefined
2022-06-16 19:18:30.027 [DEBUG] [io.openhabcloud.internal.CloudClient] - onResponseContent: 26182318, content size 1038
2022-06-16 19:18:30.027 [DEBUG] [io.openhabcloud.internal.CloudClient] - onResponseContent: 26182318, content size 2
2022-06-16 19:18:30.029 [DEBUG] [io.openhabcloud.internal.CloudClient] - onHeaders 26182324
2022-06-16 19:18:30.029 [DEBUG] [io.openhabcloud.internal.CloudClient] - onComplete: 26182324
2022-06-16 19:18:30.030 [DEBUG] [io.openhabcloud.internal.CloudClient] - Finished responding to request 26182324

and openHAB Cloud - Home seems to show but main page to access dashboard is blank:

When accessing via the android beta app:

Log for that activity:

2022-06-16 19:25:57.457 [DEBUG] [io.openhabcloud.internal.CloudClient] - on(): request
2022-06-16 19:25:57.459 [DEBUG] [io.openhabcloud.internal.CloudClient] - Got request 26187780
2022-06-16 19:25:57.459 [DEBUG] [io.openhabcloud.internal.CloudClient] - Path /rest/events/states
2022-06-16 19:25:57.460 [DEBUG] [io.openhabcloud.internal.CloudClient] - Method GET
2022-06-16 19:25:57.461 [DEBUG] [io.openhabcloud.internal.CloudClient] - Headers: {"sec-fetch-mode":"cors","referer":"https://home.myopenhab.org/","sec-fetch-site":"same-origin","accept-language":"en-US,en;q=0.9","accept":"text/event-stream","last-event-id":"0","sec-ch-ua":"\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"102\", \"Google Chrome\";v=\"102\"","sec-ch-ua-mobile":"?0","sec-ch-ua-platform":"\"Windows\"","host":"home.myopenhab.org:443","cache-control":"no-cache","accept-encoding":"gzip, deflate, br","user-agent":"openhab-cloud/0.0.1","sec-fetch-dest":"empty"}
2022-06-16 19:25:57.462 [DEBUG] [io.openhabcloud.internal.CloudClient] - Query null
2022-06-16 19:25:57.463 [DEBUG] [io.openhabcloud.internal.CloudClient] - Request method is GET
2022-06-16 19:25:57.463 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-fetch-mode = cors
2022-06-16 19:25:57.464 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header referer = https://home.myopenhab.org/
2022-06-16 19:25:57.465 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-fetch-site = same-origin
2022-06-16 19:25:57.466 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header accept-language = en-US,en;q=0.9
2022-06-16 19:25:57.466 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header accept = text/event-stream
2022-06-16 19:25:57.467 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header last-event-id = 0
2022-06-16 19:25:57.468 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-ch-ua = " Not A;Brand";v="99", "Chromium";v="102", "Google Chrome";v="102"
2022-06-16 19:25:57.468 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-ch-ua-mobile = ?0
2022-06-16 19:25:57.469 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-ch-ua-platform = "Windows"
2022-06-16 19:25:57.470 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header host = home.myopenhab.org:443
2022-06-16 19:25:57.470 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header cache-control = no-cache
2022-06-16 19:25:57.471 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header accept-encoding = gzip, deflate, br
2022-06-16 19:25:57.472 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header user-agent = openhab-cloud/0.0.1
2022-06-16 19:25:57.472 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-fetch-dest = empty
2022-06-16 19:25:57.476 [DEBUG] [io.openhabcloud.internal.CloudClient] - onHeaders 26187780
2022-06-16 19:25:57.477 [DEBUG] [io.openhabcloud.internal.CloudClient] - onResponseContent: 26187780, content size 63
2022-06-16 19:25:58.163 [DEBUG] [io.openhabcloud.internal.CloudClient] - on(): request
2022-06-16 19:25:58.164 [DEBUG] [io.openhabcloud.internal.CloudClient] - Got request 26187793
2022-06-16 19:25:58.165 [DEBUG] [io.openhabcloud.internal.CloudClient] - Path /rest/events/states/d3f17f29-7122-48a6-8027-777f414108cd
2022-06-16 19:25:58.166 [DEBUG] [io.openhabcloud.internal.CloudClient] - Method POST
2022-06-16 19:25:58.167 [DEBUG] [io.openhabcloud.internal.CloudClient] - Headers: {"sec-fetch-mode":"cors","content-length":"758","referer":"https://home.myopenhab.org/","sec-fetch-site":"same-origin","accept-language":"en-US,en;q=0.9","origin":"https://home.myopenhab.org","accept":"*/*","sec-ch-ua":"\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"102\", \"Google Chrome\";v=\"102\"","sec-ch-ua-mobile":"?0","sec-ch-ua-platform":"\"Windows\"","x-requested-with":"XMLHttpRequest","host":"home.myopenhab.org:443","content-type":"application/json","accept-encoding":"gzip, deflate, br","user-agent":"openhab-cloud/0.0.1","sec-fetch-dest":"empty"}
2022-06-16 19:25:58.168 [DEBUG] [io.openhabcloud.internal.CloudClient] - Query null
2022-06-16 19:25:58.169 [DEBUG] [io.openhabcloud.internal.CloudClient] - Request method is POST
2022-06-16 19:25:58.169 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-fetch-mode = cors
2022-06-16 19:25:58.170 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header content-length = 758
2022-06-16 19:25:58.171 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header referer = https://home.myopenhab.org/
2022-06-16 19:25:58.172 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-fetch-site = same-origin
2022-06-16 19:25:58.172 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header accept-language = en-US,en;q=0.9
2022-06-16 19:25:58.173 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header origin = https://home.myopenhab.org
2022-06-16 19:25:58.174 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header accept = */*
2022-06-16 19:25:58.175 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-ch-ua = " Not A;Brand";v="99", "Chromium";v="102", "Google Chrome";v="102"
2022-06-16 19:25:58.175 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-ch-ua-mobile = ?0
2022-06-16 19:25:58.176 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-ch-ua-platform = "Windows"
2022-06-16 19:25:58.177 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header x-requested-with = XMLHttpRequest
2022-06-16 19:25:58.178 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header host = home.myopenhab.org:443
2022-06-16 19:25:58.178 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header content-type = application/json
2022-06-16 19:25:58.179 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header accept-encoding = gzip, deflate, br
2022-06-16 19:25:58.180 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header user-agent = openhab-cloud/0.0.1
2022-06-16 19:25:58.180 [DEBUG] [io.openhabcloud.internal.CloudClient] - Jetty set header sec-fetch-dest = empty
2022-06-16 19:25:58.184 [WARN ] [e.internal.SseItemStatesEventBuilder] - Attempting to send a state update of an item which doesn't exist: undefined
2022-06-16 19:25:58.186 [DEBUG] [io.openhabcloud.internal.CloudClient] - onResponseContent: 26187780, content size 1038
2022-06-16 19:25:58.187 [DEBUG] [io.openhabcloud.internal.CloudClient] - onResponseContent: 26187780, content size 2
2022-06-16 19:25:58.188 [DEBUG] [io.openhabcloud.internal.CloudClient] - onHeaders 26187793
2022-06-16 19:25:58.189 [DEBUG] [io.openhabcloud.internal.CloudClient] - onComplete: 26187793
2022-06-16 19:25:58.190 [DEBUG] [io.openhabcloud.internal.CloudClient] - Finished responding to request 26187793

Anyone? I see various things in git but I still can’t get myopenhab.org to work with OH3. dashboard is blank there too. Sometimes it comes up half way. The android app on the brand new install to test sometime comes up after refreshing 5 or 6 times. No issues on my OH2 install. Anyone have an idea here? I’m banging my head into the desk on this.

when it sometimes loads something… it’s not formatted right:

and Android app, both current and beta, all do the exact same no sitemap… hit retry multiple times and it seems to load the sitemap … sometimes. Thoughts?

Still having these issues a year later… Anyone managed to fix it?

Same here. Nobody seems to have found a solution :joy:
Meanwhile I am on 3.4.0 M3.

Me too. It worked for a short while and then just stopped again

Have the same problem I am on
openHAB 3.4.0.M3.
No entries in the log file that something is not okay.