Just upgraded to OpenHAB 2 and have read about the cloud service which I’d like to use.
I have the openHAB Cloud Connector installed within the PaperUI > Addons > Misc
Within PaperUI > Configuration > Services I have configured openHAB Cloud with:
Mode: Notifications & Remote Access
Items to expose to apps such as IFTTT: None
Base URL for the OpenHAB Cloud Server: https://myopenhab.org
myopenhab.org account is registered, with both the UUID and secret keys populated.
I’ve got the same kind of issue with myopenhab.org as Aaron has. I’m running OH2 and after installing the openhab cloud connector myopenhab.org states “offline” and at the bottom it says I’m running OH 1.x
So I came across this thread and after checking my Java version it says the following: java version "1.8.0_65" Java ™ SE Runtime Enviroment (build 1.8.0_65-b17) Java Hotspot™ Client VM (build 25.65-b01, mixed mode)
Now I suspect this is not a high enough version right? The “65” should be “101” instead?
I’m running Raspbian Jessie on an RPi3.
When I do
sudo apt-get update
sudo apt-get install oracle-java8-jdk
I get a message saying that I already have the lastest version.
After getting rid of nginx it still showed offline.
I visited myopenhab, deleted my account, created my account again. Still
I rebooted, logged out of my account, logged back in and it said online.
Its been online for a few hours now, and I briefly saw my full dashboard.
I’ve just been back online and find that after clicking the link to view
the dashboard it times out. 504 Gateway Timeout.
I also notice that without some decent network security (eg https) or
virtual webserver presentation on the local side, using myopenhab/openhab
cloud presents a security risk to your openhab device/network. If you are
going to use these online services, make sure not to leave yourself
exposed. I’m sure that’s common sense to most.
I am facing the same issue, difference being that I am using Apache2 (SSL enabled) for reverse proxy purposes. I tried Nginx for testing (using the configuration suggested in the Getting Started guide) with the same result.
In both instances, the cloud connector drops the connection, according to the log.
When I bypass the reverse proxy (using http://my-openhab-cloud:3000), openHab establishes the connection and openHab cloud shows openHab as “online”.
It also works ok with myopenhab.org, so obviously, the issue must be with the reverse proxy configuration. I certainly do not want to use an unsecured connection on port 3000 for anything else than testing, so any suggestions on how to fix it or work around the issue is highly appreciated