WebSocket Error Openhabcloud

Hi to all.
Since Saturday i have this problem without doing something at the system:
2020-03-23 06:31:34.091 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance: {}

io.socket.engineio.client.EngineIOException: websocket error

at io.socket.engineio.client.Transport.onError(Transport.java:63) [bundleFile:?]

at io.socket.engineio.client.transports.WebSocket.access$400(WebSocket.java:24) [bundleFile:?]

at io.socket.engineio.client.transports.WebSocket$1$5.run(WebSocket.java:107) [bundleFile:?]

at io.socket.thread.EventThread$2.run(EventThread.java:80) [bundleFile:?]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_232]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_232]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]

Caused by: java.net.SocketException: Connection reset

at java.net.SocketInputStream.read(SocketInputStream.java:210) ~[?:1.8.0_232]

at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_232]

at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) ~[?:1.8.0_232]

at sun.security.ssl.InputRecord.read(InputRecord.java:503) ~[?:1.8.0_232]

at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975) ~[?:1.8.0_232]

at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:933) ~[?:1.8.0_232]

at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) ~[?:1.8.0_232]

at okio.Okio$2.read(Okio.java:139) ~[?:?]

at okio.AsyncTimeout$2.read(AsyncTimeout.java:237) ~[?:?]

at okio.RealBufferedSource.request(RealBufferedSource.java:67) ~[?:?]

at okio.RealBufferedSource.require(RealBufferedSource.java:60) ~[?:?]

at okio.RealBufferedSource.readByte(RealBufferedSource.java:73) ~[?:?]

at okhttp3.internal.ws.WebSocketReader.readHeader(WebSocketReader.java:113) ~[?:?]

at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.java:97) ~[?:?]

at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.java:262) ~[?:?]

at okhttp3.internal.ws.RealWebSocket$2.onResponse(RealWebSocket.java:201) ~[?:?]

at okhttp3.RealCall$AsyncCall.execute(RealCall.java:141) ~[?:?]

at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) ~[?:?]

... 3 more

2020-03-23 06:32:54.754 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance: {}

io.socket.engineio.client.EngineIOException: xhr post error

at io.socket.engineio.client.Transport.onError(Transport.java:63) [bundleFile:?]

at io.socket.engineio.client.transports.PollingXHR.access$000(PollingXHR.java:26) [bundleFile:?]

at io.socket.engineio.client.transports.PollingXHR$4$1.run(PollingXHR.java:104) [bundleFile:?]

at io.socket.thread.EventThread$2.run(EventThread.java:80) [bundleFile:?]

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_232]

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_232]

at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]

Caused by: java.io.IOException: 502

at io.socket.engineio.client.transports.PollingXHR$Request$1.onResponse(PollingXHR.java:234) ~[?:?]

at okhttp3.RealCall$AsyncCall.execute(RealCall.java:141) ~[?:?]

at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) ~[?:?]

... 3 more

Has someone the same problem?
Thanks and greetings,
Markus

I see this in my logs sometimes. If only a few times I ignore it b/c everything works else I stop OH clean the cache and restart 2 times to clear it.

The error arrives every 10-30 seconds.
I have cleaned the cache with two restars, nothing changed.
Then i used a backup of january, which runs before perfect. Same problem.
So i think, the myopenhab service himself or another binding (http request) has a problem.
Some bindings goes offline from time to time. All with http request.
Tado, nanoleaf, openweathermap, tankerkönig, home connect goes offline from time to time.
Greetings,
Markus

How can i use this?
2020-03-25 16:40:48.475 [WARN ] [okhttp3.OkHttpClient ] - A connection to https://myopenhab.org/ was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
Thanks and greetings,
Markus

When i open https://status.openhab.org/
it shows me that the web server is down?
Host Error.
But the app and alexa works fine.

This warning has been mentioned several times in the forum and it’s nothing to worry about unless it’s repeating over and over.

EDIT: I just read where you mentioned it occurs ever 10-30 seconds.

You can uninstall Opencloud via PaperUI, stop OH and delete the UUID found in /var/lib/openhab2/UUID. Restart OH, reinstall Opencloud and a new UUID will be created. Get the new ID and log into the opencloud site to enter the new UUID.

Hi H102.
Thanks for your help.
Have all done you said. When i reinstall the cloud service, the connection error arrives directly.
Can i do something else.
Greetings, Markus

Since changing the UUID I would stop OH and clean the cache again. After OH has fully restarted (watch the logs) then restart OH with sudo systemctl restart openhab2 and wait for it to fully start then run a second restart.

Okay, i will try it.
Thanks a lot.

No, same problem. :frowning:

2020-03-25 19:27:06.125 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance: {}

io.socket.engineio.client.EngineIOException: xhr poll error

	at io.socket.engineio.client.Transport.onError(Transport.java:63) [bundleFile:?]

	at io.socket.engineio.client.transports.PollingXHR.access$100(PollingXHR.java:26) [bundleFile:?]

	at io.socket.engineio.client.transports.PollingXHR$6$1.run(PollingXHR.java:140) [bundleFile:?]

	at io.socket.thread.EventThread$2.run(EventThread.java:80) [bundleFile:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_232]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_232]

	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]

Caused by: java.io.IOException: 400

	at io.socket.engineio.client.transports.PollingXHR$Request$1.onResponse(PollingXHR.java:234) ~[?:?]

	at okhttp3.RealCall$AsyncCall.execute(RealCall.java:141) ~[?:?]

	at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) ~[?:?]

	... 3 more

2020-03-25 19:27:32.322 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance: {}

io.socket.engineio.client.EngineIOException: websocket error

	at io.socket.engineio.client.Transport.onError(Transport.java:63) [bundleFile:?]

	at io.socket.engineio.client.transports.WebSocket.access$400(WebSocket.java:24) [bundleFile:?]

	at io.socket.engineio.client.transports.WebSocket$1$5.run(WebSocket.java:107) [bundleFile:?]

	at io.socket.thread.EventThread$2.run(EventThread.java:80) [bundleFile:?]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_232]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_232]

	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_232]

Caused by: java.net.SocketException: Connection reset

	at java.net.SocketInputStream.read(SocketInputStream.java:210) ~[?:1.8.0_232]

	at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[?:1.8.0_232]

	at sun.security.ssl.InputRecord.readFully(InputRecord.java:465) ~[?:1.8.0_232]

	at sun.security.ssl.InputRecord.read(InputRecord.java:503) ~[?:1.8.0_232]

	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975) ~[?:1.8.0_232]

	at sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:933) ~[?:1.8.0_232]

	at sun.security.ssl.AppInputStream.read(AppInputStream.java:105) ~[?:1.8.0_232]

	at okio.Okio$2.read(Okio.java:139) ~[?:?]

	at okio.AsyncTimeout$2.read(AsyncTimeout.java:237) ~[?:?]

	at okio.RealBufferedSource.request(RealBufferedSource.java:67) ~[?:?]

	at okio.RealBufferedSource.require(RealBufferedSource.java:60) ~[?:?]

	at okio.RealBufferedSource.readByte(RealBufferedSource.java:73) ~[?:?]

	at okhttp3.internal.ws.WebSocketReader.readHeader(WebSocketReader.java:113) ~[?:?]

	at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.java:97) ~[?:?]

	at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.java:262) ~[?:?]

	at okhttp3.internal.ws.RealWebSocket$2.onResponse(RealWebSocket.java:201) ~[?:?]

	at okhttp3.RealCall$AsyncCall.execute(RealCall.java:141) ~[?:?]

	at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32) ~[?:?]

	... 3 more

After some testings, i have used a new system, pi3, and installed a new openhabcloud account here too.
And there is the same problem.
So it couldn’t be a binding and my system is okay.
Any ideas?
Greetings,
Markus

Two servers and two accounts with nether working??? Check to make sure the router/firewall is not blocking the connection.

Yes, this ist correct.
Its a fritz Box avm, i doen’t have changed anything there.
I will take a look for it there.
Is there something that changed from the opebhabcloud side?
Greetings,
Markus

Not that I’m aware of, I have not seen any errors on my server regarding opencloud.

If the firewall blocks it, why is the service running perfectly. The openhab app runs and connected items over alexa too?

So, one of the last nights, the cloud service on myopenhab.org goes offline and again online and my problem is solved.