Sitemap not updating (probably because rest events api hangs)

rest
Tags: #<Tag:0x00007f1e5cfb3548>
(Markus) #1

I have the problem that my items in the rest api do not update when changed. I probably traced it down to the rest api, because following urls hang:

https://open.hab/rest/sitemaps/events/c159cfc8-ffd0-4cb6-971f-79c51083b8fd?sitemap=SITEMAPNAME&pageid=0000

Those requests never finish and never respond with any data. If I change something (like the even uuid to a random one) I get a json 404 response. So it seems to work, but correct request simply time out it seems.

Using openhab 2.4 on arch linux, directly connected to openhab (without any proxy).

0 Likes

(Rich Koshak) #2

Logs?

0 Likes

(Markus) #3

openhab.log and events.log show no sign of logging activity when this happens. I think I have to set the logging level of the rest api to debug? Can you give me a hint which class it is? Eg …

log:set DEBUG org.openhab.rest.api <-- which class here for the rest api?
0 Likes

(Rich Koshak) #4

I don’t know what the path is to turn up logging for the rest API. I’d log into the console and just turn everything to TRACE and look for errors.

0 Likes