Connection to MyOpenHAB broken

Hello everybody.
Since yesterday I am unable to get openhab to stay connected to MyOpenHAB cloud.

2019-05-05 10:39:03.123 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = 3f19d4fe-bebf-49c0-****-7d8a81c9545b, base URL = http://localhost:8888)
2019-05-05 10:39:19.329 [ERROR] [io.openhabcloud.internal.CloudClient] - Socket.IO error: {}
io.socket.engineio.client.EngineIOException: xhr poll error
        at io.socket.engineio.client.Transport.onError(Transport.java:71) [234:org.openhab.io.openhabcloud:2.5.0.M1]
        at io.socket.engineio.client.transports.PollingXHR.access$100(PollingXHR.java:19) [234:org.openhab.io.openhabcloud:2.5.0.M1]
        at io.socket.engineio.client.transports.PollingXHR$6$1.run(PollingXHR.java:124) [234:org.openhab.io.openhabcloud:2.5.0.M1]
        at io.socket.thread.EventThread$2.run(EventThread.java:80) [234:org.openhab.io.openhabcloud:2.5.0.M1]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
        at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.io.IOException: 502
        at io.socket.engineio.client.transports.PollingXHR$Request$1.run(PollingXHR.java:218) ~[?:?]
        ... 1 more
2019-05-05 10:39:19.345 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = 3f19d4fe-bebf-49c0-****-7d8a81c9545b, base URL = http://localhost:8888)
2019-05-05 10:40:04.296 [ERROR] [io.openhabcloud.internal.CloudClient] - Socket.IO error: {}
io.socket.engineio.client.EngineIOException: xhr poll error
        at io.socket.engineio.client.Transport.onError(Transport.java:71) [234:org.openhab.io.openhabcloud:2.5.0.M1]
        at io.socket.engineio.client.transports.PollingXHR.access$100(PollingXHR.java:19) [234:org.openhab.io.openhabcloud:2.5.0.M1]
        at io.socket.engineio.client.transports.PollingXHR$6$1.run(PollingXHR.java:124) [234:org.openhab.io.openhabcloud:2.5.0.M1]
        at io.socket.thread.EventThread$2.run(EventThread.java:80) [234:org.openhab.io.openhabcloud:2.5.0.M1]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
        at java.lang.Thread.run(Thread.java:748) [?:?]
Caused by: java.io.IOException: 502
        at io.socket.engineio.client.transports.PollingXHR$Request$1.run(PollingXHR.java:218) ~[?:?]
        ... 1 more
2019-05-05 10:40:04.327 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = 3f19d4fe-bebf-49c0-****-7d8a81c9545b, base URL = http://localhost:8888)

Anybody having similar issues?

Yup, same issue here. Just out of nowhere it started. I thought it had something to do with installing grafana for charts in sitemaps (that didn’t work out of the box with openhabian). But can’t find any problem with my configuration.

Hope this is server side because i’m out of options on my side :slight_smile:

My original idea was that something went wrong after upgrading from openjdk 8u181 to openjdk 8u212 which I did yesterday.
So I have installed Zulu 8u202 and issue still persist (as Zulu seems to be the recommended setup for PI + OpenHab).

Something going wrong on mine as well. Google Home can’t connect to OpenHAB, and I can’t get to my OpenHAB Dashboard either.

504 Gateway Time-out

nginx/1.10.0 (Ubuntu)

It’s down, maybe @digitaldan can have a look.

1 Like

Phew, thought it was just me! Typical I have been trying to get notifications working as well!

Where is this status from?

On openHAB Infrastructure Status is everything green.

4 minutes before your post the cloud status was red :grinning:

If you constantly refresh the status page you will see that it toggles from green to red and vica versa.

Ahh
 I see
 That’s great :man_facepalming:

Even if I refresh the status page it always shows ‘Operational’ hence why I have spent the last couple of hours doubting my code changes or hardware etc
 Oh well best sleep on it.

1 Like

:+1:

I kept checking and changing and registering. I should have come here first :slight_smile:

It seems stable now.
My reoccuring errors have gone for some minutes now.

Still the same here, also got this message:

2019-05-05 12:15:44.262 [WARN ] [okhttp3.OkHttpClient ] - A connection to https://myopenhab.org/ was leaked. Did you forget to close a response body?

and after that the following like everyone else:

2019-05-05 12:15:46.349 [ERROR] [io.openhabcloud.internal.CloudClient] - Socket.IO error: {}

my cloud is down for the last couple of hours. Idont get notifacations, google and IFTTTcant connect. Is this still an issue?
Ive restarted openhab and the RPI and still get the same error in the logs.

2019-05-05 20:20:12.965 [ERROR] [io.openhabcloud.internal.CloudClient] - Socket.IO error: {}

	at io.socket.engineio.client.Transport.onError(Transport.java:71) [236:org.openhab.io.openhabcloud:2.5.0.201812202124]

	at io.socket.engineio.client.transports.PollingXHR.access$000(PollingXHR.java:19) [236:org.openhab.io.openhabcloud:2.5.0.201812202124]

	at io.socket.engineio.client.transports.PollingXHR$4$1.run(PollingXHR.java:88) [236:org.openhab.io.openhabcloud:2.5.0.201812202124]

	at io.socket.thread.EventThread$2.run(EventThread.java:80) [236:org.openhab.io.openhabcloud:2.5.0.201812202124]

2019-05-05 20:20:12.993 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = xxx, base URL = http://localhost:8080)

Seems it’s working right now - no disconnect since 11:45 CET.

Also at this side, the myopenhab service is coming back. It feels a bit slow but i’m restarting my openhab service a couple of times for some testing. Hope it will stay online! :slight_smile:

my instance is still offline
no reaction to Amazon Echo or remote Login with ios-app.

I needed to restart the bundle via karaf in order to get it connected again.