MyOpenhab always OFFLINE

I am not able to solve the problem … the UUID & SECRET are correct and the JVM is the Oracle’s one …
Here my DEDUG LOG …

2018-03-24 09:59:14.338 [DEBUG] [ngineio.client.transports.PollingXHR] - xhr open GET:
2018-03-24 09:59:14.340 [DEBUG] [ngineio.client.transports.PollingXHR] - sending xhr with url | data null
2018-03-24 09:59:14.526 [DEBUG] [io.socket.engineio.client.Socket ] - socket error io.socket.engineio.client.EngineIOException: xhr poll error
2018-03-24 09:59:14.529 [DEBUG] [io.socket.client.Manager ] - connect_error
2018-03-24 09:59:14.531 [DEBUG] [io.socket.client.Manager ] - cleanup
2018-03-24 09:59:14.535 [DEBUG] [io.socket.client.Manager ] - reconnect attempt error
2018-03-24 09:59:14.538 [DEBUG] [io.socket.client.Manager ] - will wait 5000ms before reconnect attempt
2018-03-24 09:59:14.540 [DEBUG] [io.socket.engineio.client.Socket ] - socket close with reason: transport error
2018-03-24 09:59:14.543 [DEBUG] [t.engineio.client.transports.Polling] - transport not open - deferring close

Which java version do you have installed?
It should be at least: java version “1.8.0_101”

It is …
java version “1.8.0_65”
Java™ SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot™ Client VM (build 25.65-b01, mixed mode)

In this case you have found the reason! You need to update your java version!

:wink: I’ll try …

If I use apt-get update the java version is the same …

have a look in here.

java version “1.8.0_161”
Java™ SE Runtime Environment (build 1.8.0_161-b12)
Java HotSpot™ Client VM (build 25.161-b12, mixed mode)

And it works!

I used the following instructions:



I think it’s better to write here instead of opening a new thread:
I have the same problem: Openhab Cloud always says offline.
I’ve installed the Cloud Plugin using the PaperUI and registered my account using the UUID and secret.

I now also updated my java version to: 1.8.0_152, but still not working.

Hope you have ideas!

Did you respond to the email to verify your registration?
Did you restart OH?
Did you logout from the myopenhab site and login again?

Yes, I’ve done that.

Maybe it’s caused by this:
When i type in java -version this is the output:

openjdk version "1.8.0_152"
OpenJDK Runtime Environment (Zulu Embedded (build 1.8.0_152-b76)
OpenJDK Client VM (Zulu Embedded (build 25.152-b76, mixed mode, Evaluation)

I have exactly the same and I’m online.
How did you configure the myopenhab cloud in PaperUI?
Did recheck- triplecheck that your secret and uuid is correct?

I’ve checked the UUID and the secret several times.

I’ve installed the Myopenhab cloud in PaperUI using the Addon Manager and use the settings, which you can see on the screenshot.

Hope anyone can help me.

What does the log say when starting OH concerning the connection to the cloud?

same problem here (and same configuration). Have you solved?

I have the same problem. But my java version looks different.

    java -version
    openjdk version "10.0.2" 2018-07-17
    OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4)
    OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)

I have the same problem, have you solved?

have a look at this

It turned out that in my case it wasn’t a java problem but something else. Give it a try

1 Like

GREAT! I’m online