I’m having trouble connecting my openHAB instance with a openHAB cloud. First of all, a description of my setup:
I’m running openHAB in a docker container on a server at home. The openHAB UI is reachable at the normal
<local-IP>:8080. Since the server runs different services on different ports, I also have a reverse proxy forwarding
openhab.<my-domain> to this port, but only from within the local network. For remote access, I want to connect the openHAB instance to an openHAB Cloud, either on myopenhab or self hosted, doesn’t matter for now.
Now to the problem: If I configure the openHAB Cloud Connector Service (either for myopenhab or a self hosted cloud), I see the following message in the openHAB logs and the status in the cloud switches to online.
Cloud Connected Log Message
14:21:46.167 [INFO ] [.io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = <UUID>, base URL = http://localhost:8080)
Seems good so far. But when I try to go to the dashboard in the openHAB Cloud, I get a plain HTML page with the following message:
openHAB connection error: No route to host
The openHAB log shows the following three warnings:
No Route Warnings
14:21:58.650 [WARN ] [.io.openhabcloud.internal.CloudClient] - Jetty request 10 failed: No route to host 14:21:58.652 [WARN ] [.io.openhabcloud.internal.CloudClient] - Request Failure: No route to host 14:21:58.652 [WARN ] [.io.openhabcloud.internal.CloudClient] - Response Failure: No route to host
Does anyone have an idea what could cause this behaviour?
Thanks in advance for your help.