Connection to MyOpenHAB broken

Lucky. I synced for one day. Today everything broke again. But my own microSD Is during too. So double trouble.

Hi

Is there anything pro-active we can do to check that our instances of openHAB are tunnelling out correctly?

I don’t feel comfortable simply saying “It ain’t working” if I can’t be certain that everything is OK at “my end”.

For example, is there a particular bit of network traffic I could sniff out that comes from my own openHAB instance?

Is there a particular Bundle that I should check is active?

I think what I’m asking for is a check list of things I should do before assuming the “fault” is not of my making.

Thanks in advance for any help and guidance.

There is a log entry, if the openhab cloud fails to connect.
But I guess what you really need is the cause of this, right? I have no idea… I dont think it´s possible.

1 Like

Thanks.

I’m trying to work out “Why some machines are OK and some are not”

If I can eliminate any issues “my end”, I’ll be more comfortable suggesting that there is a problem elsewhere…

For example…

“I can’t open this bottle, it’s your fault”

“No sir, it’s a screw cap”

I understand where you´re getting at… But I fear there is no easy solution for this, as there might be tons of possible reasons when things arent working.
There is a status page for the openhab cloud server, but I wouldnt rely on it, as it has showen wrong a few times, where the cloud was down but the page showed good to go.

When I, (very seldom) experience problems with the cloud (GA integration). I turn to the logfile to see if the cloud connection is still online.
If its offline and everything else work, I simply assume the problem is not at my end.
If it shows online, I simply assume, the problem is not at my end as well, unless I have made changes, which I´ll then check once again. If I know I havnt done any changes, the problem is not at my end :smiley:

1 Like

Hi

May be useful information, might just be rubbish.

openHAB2 crashed for some reason, I think something to do prosody?

(MaryTTS ?? Which I removed)

The openhab.log file said the connection to myopenhab was unauthorised.

I re-entered the uuid and secret

Now it’s happily connected.


This isn’t as far as I had to go, but it’s on the same lines

hey guys, is MyOpenHAB down again? I am getting these messages in my logs:

2021-01-21 09:55:59.562 [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_252]

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

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

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

2021-01-21 09:55:59.565 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = xxxxxxxxxxxxxxxx, base URL = http://localhost:8080)

and this:

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)

and I can’t load my sitemap from MyOpenHAB

EDIT: adding more logs. also, rebooting OpenHAB didnt solve the problem

2021-01-21 09:58:45.298 [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_252]

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

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

Caused by: java.net.SocketTimeoutException: timeout

at okio.Okio$4.newTimeoutException(Okio.java:230) ~[?:?]

at okio.AsyncTimeout.exit(AsyncTimeout.java:285) ~[?:?]

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

at okio.RealBufferedSource.indexOf(RealBufferedSource.java:345) ~[?:?]

at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:217) ~[?:?]

at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:211) ~[?:?]

at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189) ~[?:?]

at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:75) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) ~[?:?]

at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) ~[?:?]

at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) ~[?:?]

at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:185) ~[?:?]

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

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

… 3 more

Caused by: java.net.SocketTimeoutException: Read timed out

at java.net.SocketInputStream.socketRead0(Native Method) ~[?:1.8.0_252]

at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[?:1.8.0_252]

at java.net.SocketInputStream.read(SocketInputStream.java:171) ~[?:1.8.0_252]

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

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

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

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

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

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

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

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

at okio.RealBufferedSource.indexOf(RealBufferedSource.java:345) ~[?:?]

at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:217) ~[?:?]

at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:211) ~[?:?]

at okhttp3.internal.http1.Http1Codec.readResponseHeaders(Http1Codec.java:189) ~[?:?]

at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.java:75) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:45) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) ~[?:?]

at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) ~[?:?]

at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) ~[?:?]

at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) ~[?:?]

at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:185) ~[?:?]

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

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

… 3 more

2021-01-21 09:58:45.302 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = xxxxxxxxxxxxxxx, base URL = http://localhost:8080)

Me too…!

@digitaldan …do you know something about the problem?

According http://status.openhab.org/ 9 minutes in the last 7 days.

You can see the current status here:

http://status.openhab.org/check/359410

ya I looked at that and I know it says its up but looks like @RalphSester and I have the same issue.

Yes, our hosting provider is doing maintenance work, sounds like its not going as planned :frowning:

Update - The maintenance is still in progress however we have experienced some packet loss and are working to resolve this as quickly as possible.
Jan 21, 15:01 UTC

1 Like

Thanks for the update! I’m just glad I didnt screw something up on my OpenHAB instance.

can you let me know when you are back up and running? I’ll do the same.

Linode is showing all green now and it’s back up for me.

EDIT: Came online now. check!

I’m still getting errors

2021-01-21 17:27:45.010 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance: pool destroyed
2021-01-21 17:27:45.099 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance: {}
io.socket.engineio.client.EngineIOException: xhr poll error
Caused by: java.io.IOException: 502

It will take some time for everyone to connect back to our clusters, I will be monitoring it for the next few hours.

3 Likes

Will it come back online by itself, or do I have to do something? Or should I just leave it alone (mine is not online)

I have 3 OpenHAB Servers, 2 offline 1 online.

2021-01-21 18:20:13.872 [INFO ] [io.openhabcloud.internal.CloudClient] - Shutting down openHAB Cloud service connection

2021-01-21 18:20:14.194 [ERROR] [io.openhabcloud.internal.CloudClient] - Socket.IO error: pool destroyed