myopenHAB does not get Online even with high java version

I have installed openHAB on my raspberry pi and installed the openHAB app on my iPhone and it is working fine, I can access all my sitemaps as long as I am on the same networkof the raspberry pi.

For remote access (not same network), I have installed openHAB cloud connector, got the UUID and the secret codes and used them to create an account on myopenhab.org, but myopenhab was always offline, so I have upgraded the installed java and this is my current version:

pi@raspberrypi:~ $ java -version
java version “1.8.0_111”
Java™ SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpot™ Client VM (build 25.111-b14, mixed mode)
pi@raspberrypi:~ $ sudo update-alternatives --config javac
There is only one alternative in link group javac (providing /usr/bin/javac): /opt/jdk1.8.0/bin/javac
Nothing to configure.
pi@raspberrypi:~ $ sudo update-alternatives --config java
There is only one alternative in link group java (providing /usr/bin/java): /opt/jdk1.8.0/bin/java
Nothing to configure.

rebooted …

Still myopenhab is offline no matter what

P.S. I can see my phone under devices and I can send to it messages remotely, but it is still offline on myopenhab.org, and on my phone I get this error:

Error
Request failed: internal server error (500)

Any idea what is wrong?

@karim.mansour,
can you post your remote URL? This is often a problem. Does it point to https://myopenhab.org ?

Yes
Remote URL: https://myopenhab.org
Username: myopenhab_username
Password: myopenhab_mypassword

I’m missing the statement that you installed the openhab cloud connector (under addons misc)

Yes, I installed it from Paper UI -> addons -> misc section

Have you used the old my.openhab before? If so, have you deleted everything related? (binding, cfg, persistance)

No, I started using myopenhab after their migration from my.openhab to myopenhab.org

Last chance: Which OH2 version are you using? The Cloud connector needs (afaik) a quite recent version.

I followed these instructions, I installed the latest snapshot version:
http://docs.openhab.org/installation/linux.html

A last (desperate & wild) guess: Snapshot is good, but when exactly did you do the installation? Only some days ago or several weeks/months? And if longer ago, did you do updates in the meantime?

Thanks for your help,

10 days ago, it is a new version relatively

Then I’m running out of ideas. Sorry…

How did you configure the OpenHabCloud in PaperUI under Cobfig-Services-IO?

I have selected “Notifications&Remote Access” and have selected several Items to be exposed and “https://myopenhab.org/” as base URL.
I’m out of ideas as well, just checking for differences.

Thanks :slight_smile:

It worked!!

Thanks Jürgen, it was the configurations of the OpenHabCloud, the Items to expose to apps such as IFTTT had 0 selected items, once I chose some it went online immediately.

Glad to hear! But indeed this should not be necessary. I also do not have any items exposed and for me it’s working nevertheless.

Yeah! apparently it works with everyone the same as yours. I have no idea why, I thought maybe to make the remote access more secure, but apparently I am the only one, have no idea!