Connection to MyOpenHAB broken

Thanks, @Confectrician! And thanks @Andrew_Rowe for asking the same question earlier today. I missed seeing that when I scrolled through the latest posts.

1 Like

Yes Russell, I figured if all of us who could afford to, pitch in a few bucks, maybe we can get that new app server on line sooner!!!

1 Like

For sure. I didnā€™t even realize there were server issues over the past 12 hours, but had been wondering how to donate earlier this week. Iā€™m in the Pacific Time Zone, so OH issues are often fixed before Iā€™m even aware of them. :wink:

1 Like

The service looks like its back to normal. If your instance is still not connecting, try restarting the cloud binding either in the openHAB console or going into the paper UI --> Configuration --> Services --> openHAB Cloud and click on the save button. I will add another server into our cluster shortly so we can handle the inevitable server failure better.

5 Likes

worked for me after going into paper ui config and clicking save. thanks for the update

I had to go into paperui>services and save. And then resync Google Home (OK Google sync devices).Everything fine now

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.