I am using OH2 on Debian Jessie. I had setup an Apache Reverse Proxy to access http://openhab/habpanel/ instead of http://openhab:8080/habpanel/. Openhab itself (PaperUI, Basic and Classid UI) is working well. But Habpanel does not display content - " Connection lost! Trying to reconnect…".
Is this usecase supported? Do I have to configure something?
To clear things up, this message is displayed when the SSE connection (to the /rest/events) used for server-pushed upadates is not working, perhaps unsurprisingly they can’t get through some reverse proxies. There should be additional info in your browser’s developer tools (Console and Network tabs).
just checking: calling http://<ip_of_OH2>:8080/rest/items works?
Your vhost setup is the same as mine and I have no problems whatsoever to access HABPanel from a remote location using reverse proxying…
By the way: you could always change the port that OH2 listens to from 8080 to 80 if you want.
You probably have an issue somewhere in your items config then. Good luck finding where
If the item(s) causing this is not in the sitemap that would explain why Basic UI works.