Connection to MyOpenHAB broken

back online, Thx

Works over here, ty! Anyhow, it would be great to have a relieable status shown on the openhab status page.

Hi Dan thanks for all!

is there any way to setup a server that will run on users PCs…
some kind of shared server… just asking :slight_smile:

i will be happy to host if it will only take a small amount of resources from each server/user that want to help…

Is device discovery via e.g. Alexa also working again for you? While the connection from my local setup seems to be fine again Alexa is still unable to discover devices.

@digitaldan, is there a way for people to donate funds for the operation of myopenhab? Or is becoming a foundation member the only way to contribute?

Thanks for your efforts!

1 Like

You can also donate on other ways than a foundation membership.

See:

3 Likes

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?