Openhab Cloud Connector not working anymore after snapshot 1607

Thanks a lot! #1617 solves the problem!

1 Like

It appears to be fixed but after a while I get:

2019-06-20 15:01:28.802 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = 7736390c-52ac-4e90-828e-xxxxxxxx, base URL = http://localhost:8080)

So I can unfortunately not confirm that this issue is closed.

There seems to be an issue with the Cloud now :crying_cat_face:

See:

Correct, doesn’t work with #1607 either.

I think this is a different problem.

Running 2.5.0.M2 I tried to setup Myopenhab. Installed the add-on, registered successfully, and Myopenhab is online. However when trying to open my dashboard I get Error 504 Gateway time-out.
The openhab.log shows an error:

2019-08-30 21:39:36.293 [ERROR] [io.socket.thread.EventThread        ] - Task threw exception
java.lang.ClassCastException: org.json.JSONObject cannot be cast to org.json.JSONObject
        at org.openhab.io.openhabcloud.internal.CloudClient$6.call(CloudClient.java:215) ~[?:?]
        at io.socket.emitter.Emitter.emit(Emitter.java:117) ~[256:io.socket.engine.io-client:1.0.0]
        at io.socket.client.Socket.onevent(Socket.java:338) ~[?:?]
        at io.socket.client.Socket.onpacket(Socket.java:289) ~[?:?]
        at io.socket.client.Socket.access$100(Socket.java:24) ~[?:?]
        at io.socket.client.Socket$2$2.call(Socket.java:120) ~[?:?]
        at io.socket.emitter.Emitter.emit(Emitter.java:117) ~[256:io.socket.engine.io-client:1.0.0]
        at io.socket.client.Manager.ondecoded(Manager.java:427) ~[?:?]
        at io.socket.client.Manager.access$1600(Manager.java:30) ~[?:?]
        at io.socket.client.Manager$7.call(Manager.java:403) ~[?:?]
        at io.socket.parser.IOParser$Decoder.add(IOParser.java:105) ~[?:?]
        at io.socket.client.Manager.ondata(Manager.java:419) ~[?:?]
        at io.socket.client.Manager.access$1000(Manager.java:30) ~[?:?]
        at io.socket.client.Manager$2.call(Manager.java:370) ~[?:?]
        at io.socket.emitter.Emitter.emit(Emitter.java:117) ~[256:io.socket.engine.io-client:1.0.0]
        at io.socket.engineio.client.Socket.onPacket(Socket.java:551) ~[256:io.socket.engine.io-client:1.0.0]
        at io.socket.engineio.client.Socket.access$1000(Socket.java:36) ~[256:io.socket.engine.io-client:1.0.0]
        at io.socket.engineio.client.Socket$5.call(Socket.java:335) ~[256:io.socket.engine.io-client:1.0.0]
        at io.socket.emitter.Emitter.emit(Emitter.java:117) ~[256:io.socket.engine.io-client:1.0.0]
        at io.socket.engineio.client.Transport.onPacket(Transport.java:126) ~[256:io.socket.engine.io-client:1.0.0]
        at io.socket.engineio.client.Transport.onData(Transport.java:118) ~[256:io.socket.engine.io-client:1.0.0]
        at io.socket.engineio.client.transports.WebSocket.access$100(WebSocket.java:24) ~[256:io.socket.engine.io-client:1.0.0]
        at io.socket.engineio.client.transports.WebSocket$1$2.run(WebSocket.java:71) ~[256:io.socket.engine.io-client:1.0.0]
        at io.socket.thread.EventThread$2.run(EventThread.java:80) [256:io.socket.engine.io-client:1.0.0]
        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) [?:?]

Is Myopenhab down or am I doing something wrong?