-
-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REST reporting incorrect links? #161
Comments
Hi there, Visiting
Note that I'm visiting a https url and REST Api responds with a http url. Anyone can help us here please? |
I have the same issue, the following patch solves the problem for me:
|
Hi there,
I am running
openhab-cloud
viadocker
on an Ubuntu system. The docker image maps port 80 inside thenginx
docker image to port 8080 on the Ubuntu system. The Ubuntu system is behind a router/firewall on my home network. The router forwards the internet-facing port 8000 to port 8080 of the Ubuntu system.I have a DDNS service, hostname
ScheissSchiesser.com
(not really). Here are my configs:config.json:
If I visit
http://ScheissSchiesser.com:8000/rest/sitemaps
, I get the following response:Note that the links in the response of the REST API do not contain the correct port number.
Using a browser to view my sitemaps through the link on the
openhab-cloud
homepage (where it says "You are using openHAB 2.x. Click here to access your openHAB's dashboard") works perfectly (it provides the correct link with port 8000).However, presumably because of the above incorrect REST response, using the OpenHAB Android app with
openhab-cloud
on port 8000 does not work (see openhab-android issue 674).Is that REST response correct? Do I need to configure another setting in my
openhab-cloud
instance? Or is this indeed a bug?The text was updated successfully, but these errors were encountered: