# Connection to MyOpenHAB broken

**URL:** <https://community.openhab.org/t/connection-to-myopenhab-broken/73808>\
**Category:** myopenHAB\
**Tags:** openhabcloud1\
**Created:** [May 5, 2019, 8:44am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808 "2019-05-05T08:44:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![xdanik](https://community.openhab.org/user_avatar/community.openhab.org/xdanik/32/73119_2.png) [@xdanik](https://community.openhab.org/u/xdanik)\
**Post date:** [May 5, 2019, 8:44am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/1 "2019-05-05T08:44:23Z")

</div>

Hello everybody.  
Since yesterday I am unable to get openhab to stay connected to MyOpenHAB cloud.

```auto
2019-05-05 10:39:03.123 [INFO] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = 3f19d4fe-bebf-49c0- **** -7d8a81c9545b, base URL = http://localhost:8888)
2019-05-05 10:39:19.329 [ERROR] [io.openhabcloud.internal.CloudClient] - Socket.IO error: {}
io.socket.engineio.client.EngineIOException: xhr poll error
        at io.socket.engineio.client.Transport.onError(Transport.java:71) [234:org.openhab.io.openhabcloud:2.5.0.M1]
        at io.socket.engineio.client.transports.PollingXHR.access$100(PollingXHR.java:19) [234:org.openhab.io.openhabcloud:2.5.0.M1]
        at io.socket.engineio.client.transports.PollingXHR$6$1.run(PollingXHR.java:124) [234:org.openhab.io.openhabcloud:2.5.0.M1]
        at io.socket.thread.EventThread$2.run(EventThread.java:80) [234:org.openhab.io.openhabcloud:2.5.0.M1]
        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) [?:?]
Caused by: java.io.IOException: 502
        at io.socket.engineio.client.transports.PollingXHR$Request$1.run(PollingXHR.java:218) ~[?:?]
        ... 1 more
2019-05-05 10:39:19.345 [INFO] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = 3f19d4fe-bebf-49c0- **** -7d8a81c9545b, base URL = http://localhost:8888)
2019-05-05 10:40:04.296 [ERROR] [io.openhabcloud.internal.CloudClient] - Socket.IO error: {}
io.socket.engineio.client.EngineIOException: xhr poll error
        at io.socket.engineio.client.Transport.onError(Transport.java:71) [234:org.openhab.io.openhabcloud:2.5.0.M1]
        at io.socket.engineio.client.transports.PollingXHR.access$100(PollingXHR.java:19) [234:org.openhab.io.openhabcloud:2.5.0.M1]
        at io.socket.engineio.client.transports.PollingXHR$6$1.run(PollingXHR.java:124) [234:org.openhab.io.openhabcloud:2.5.0.M1]
        at io.socket.thread.EventThread$2.run(EventThread.java:80) [234:org.openhab.io.openhabcloud:2.5.0.M1]
        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) [?:?]
Caused by: java.io.IOException: 502
        at io.socket.engineio.client.transports.PollingXHR$Request$1.run(PollingXHR.java:218) ~[?:?]
        ... 1 more
2019-05-05 10:40:04.327 [INFO] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = 3f19d4fe-bebf-49c0- **** -7d8a81c9545b, base URL = http://localhost:8888)

```

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/1/4/14cad573110db1670258582d97bf0a387da0e591.png)

Anybody having similar issues?

---

<div class="post-metadata">

**Author:** ![djpsycho82](https://community.openhab.org/user_avatar/community.openhab.org/djpsycho82/32/69677_2.png) [@djpsycho82](https://community.openhab.org/u/djpsycho82)\
**Post date:** [May 5, 2019, 8:47am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/2 "2019-05-05T08:47:05Z")

</div>

Yup, same issue here. Just out of nowhere it started. I thought it had something to do with installing grafana for charts in sitemaps (that didn’t work out of the box with openhabian). But can’t find any problem with my configuration.

Hope this is server side because i’m out of options on my side 🙂

---

<div class="post-metadata">

**Author:** ![xdanik](https://community.openhab.org/user_avatar/community.openhab.org/xdanik/32/73119_2.png) [@xdanik](https://community.openhab.org/u/xdanik)\
**Post date:** [May 5, 2019, 8:53am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/3 "2019-05-05T08:53:35Z")

</div>

My original idea was that something went wrong after upgrading from openjdk 8u181 to openjdk 8u212 which I did yesterday.  
So I have installed Zulu 8u202 and issue still persist (as Zulu seems to be the recommended setup for PI + OpenHab).

---

<div class="post-metadata">

**Author:** ![Andy\_Bryant](https://community.openhab.org/user_avatar/community.openhab.org/andy_bryant/32/37081_2.png) [@Andy\_Bryant](https://community.openhab.org/u/Andy_Bryant)\
**Post date:** [May 5, 2019, 9:24am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/4 "2019-05-05T09:24:30Z")

</div>

Something going wrong on mine as well. Google Home can’t connect to OpenHAB, and I can’t get to my [OpenHAB Dashboard](https://home.myopenhab.org/start/index) either.

# 504 Gateway Time-out

nginx/1.10.0 (Ubuntu)

---

<div class="post-metadata">

**Author:** ![sihui](https://community.openhab.org/user_avatar/community.openhab.org/sihui/32/55674_2.png) [@sihui](https://community.openhab.org/u/sihui)\
**Post date:** [May 5, 2019, 9:29am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/5 "2019-05-05T09:29:21Z")

</div>

![grafik](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/9/9/99e777a92907bcaadac88dbc77f0b8ddfd34bf33.png)

It’s down, maybe @digitaldan can have a look.

---

<div class="post-metadata">

**Author:** ![crumpy10](https://community.openhab.org/letter_avatar_proxy/v4/letter/c/cab0a1/32.png) [@crumpy10](https://community.openhab.org/u/crumpy10)\
**Post date:** [May 5, 2019, 9:32am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/6 "2019-05-05T09:32:55Z")

</div>

Phew, thought it was just me! Typical I have been trying to get notifications working as well!

---

<div class="post-metadata">

**Author:** ![xdanik](https://community.openhab.org/user_avatar/community.openhab.org/xdanik/32/73119_2.png) [@xdanik](https://community.openhab.org/u/xdanik)\
**Post date:** [May 5, 2019, 9:33am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/7 "2019-05-05T09:33:57Z")

</div>

Where is this status from?

On [openHAB Infrastructure Status](https://status.openhab.org/) is everything green.

 ![image](https://community-openhab-org.s3.dualstack.eu-central-1.amazonaws.com/original/3X/a/2/a2f21a996c3fada6dffa2d3d131e9bf345b79fab.png)

---

<div class="post-metadata">

**Author:** ![sihui](https://community.openhab.org/user_avatar/community.openhab.org/sihui/32/55674_2.png) [@sihui](https://community.openhab.org/u/sihui)\
**Post date:** [May 5, 2019, 9:37am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/8 "2019-05-05T09:37:10Z")

</div>

> [@xdanik](#):
>
> is everything green

4 minutes before your post the cloud status was red 😀

---

<div class="post-metadata">

**Author:** ![sihui](https://community.openhab.org/user_avatar/community.openhab.org/sihui/32/55674_2.png) [@sihui](https://community.openhab.org/u/sihui)\
**Post date:** [May 5, 2019, 9:39am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/9 "2019-05-05T09:39:08Z")

</div>

> [@xdanik](#):
>
> is everything green

If you constantly refresh the status page you will see that it toggles from green to red and vica versa.

---

<div class="post-metadata">

**Author:** ![xdanik](https://community.openhab.org/user_avatar/community.openhab.org/xdanik/32/73119_2.png) [@xdanik](https://community.openhab.org/u/xdanik)\
**Post date:** [May 5, 2019, 9:41am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/10 "2019-05-05T09:41:31Z")

</div>

Ahh… I see… That’s great 🤦‍♂️

---

<div class="post-metadata">

**Author:** ![crumpy10](https://community.openhab.org/letter_avatar_proxy/v4/letter/c/cab0a1/32.png) [@crumpy10](https://community.openhab.org/u/crumpy10)\
**Post date:** [May 5, 2019, 9:44am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/11 "2019-05-05T09:44:43Z")

</div>

Even if I refresh the status page it always shows ‘Operational’ hence why I have spent the last couple of hours doubting my code changes or hardware etc.. Oh well best sleep on it.

---

<div class="post-metadata">

**Author:** ![sihui](https://community.openhab.org/user_avatar/community.openhab.org/sihui/32/55674_2.png) [@sihui](https://community.openhab.org/u/sihui)\
**Post date:** [May 5, 2019, 9:46am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/12 "2019-05-05T09:46:07Z")

</div>

> [@crumpy10](#):
>
> Oh well best sleep on it.

👍

---

<div class="post-metadata">

**Author:** ![Chura](https://community.openhab.org/user_avatar/community.openhab.org/chura/32/37400_2.png) [@Chura](https://community.openhab.org/u/Chura)\
**Post date:** [May 5, 2019, 10:10am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/13 "2019-05-05T10:10:58Z")

</div>

I kept checking and changing and registering. I should have come here first 🙂

---

<div class="post-metadata">

**Author:** ![Confectrician](https://community.openhab.org/user_avatar/community.openhab.org/confectrician/32/105046_2.png) [@Confectrician](https://community.openhab.org/u/Confectrician)\
**Post date:** [May 5, 2019, 10:14am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/14 "2019-05-05T10:14:46Z")

</div>

It seems stable now.  
My reoccuring errors have gone for some minutes now.

---

<div class="post-metadata">

**Author:** ![djpsycho82](https://community.openhab.org/user_avatar/community.openhab.org/djpsycho82/32/69677_2.png) [@djpsycho82](https://community.openhab.org/u/djpsycho82)\
**Post date:** [May 5, 2019, 10:16am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/15 "2019-05-05T10:16:57Z")

</div>

Still the same here, also got this message:

2019-05-05 12:15:44.262 [WARN] [okhttp3.OkHttpClient] - A connection to [https://myopenhab.org/](https://myopenhab.org/) was leaked. Did you forget to close a response body?

and after that the following like everyone else:

2019-05-05 12:15:46.349 [ERROR] [io.openhabcloud.internal.CloudClient] - [Socket.IO](http://Socket.IO) error: {}

---

<div class="post-metadata">

**Author:** ![Christopher\_Hemmings](https://community.openhab.org/user_avatar/community.openhab.org/christopher_hemmings/32/37138_2.png) [@Christopher\_Hemmings](https://community.openhab.org/u/Christopher_Hemmings)\
**Post date:** [May 5, 2019, 10:21am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/16 "2019-05-05T10:21:13Z")

</div>

my cloud is down for the last couple of hours. Idont get notifacations, google and IFTTTcant connect. Is this still an issue?  
Ive restarted openhab and the RPI and still get the same error in the logs.

```auto
2019-05-05 20:20:12.965 [ERROR] [io.openhabcloud.internal.CloudClient] - Socket.IO error: {}

	at io.socket.engineio.client.Transport.onError(Transport.java:71) [236:org.openhab.io.openhabcloud:2.5.0.201812202124]

	at io.socket.engineio.client.transports.PollingXHR.access$000(PollingXHR.java:19) [236:org.openhab.io.openhabcloud:2.5.0.201812202124]

	at io.socket.engineio.client.transports.PollingXHR$4$1.run(PollingXHR.java:88) [236:org.openhab.io.openhabcloud:2.5.0.201812202124]

	at io.socket.thread.EventThread$2.run(EventThread.java:80) [236:org.openhab.io.openhabcloud:2.5.0.201812202124]

2019-05-05 20:20:12.993 [INFO] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = xxx, base URL = http://localhost:8080)

```

---

<div class="post-metadata">

**Author:** ![xdanik](https://community.openhab.org/user_avatar/community.openhab.org/xdanik/32/73119_2.png) [@xdanik](https://community.openhab.org/u/xdanik)\
**Post date:** [May 5, 2019, 10:25am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/17 "2019-05-05T10:25:49Z")

</div>

Seems it’s working right now - no disconnect since 11:45 CET.

---

<div class="post-metadata">

**Author:** ![djpsycho82](https://community.openhab.org/user_avatar/community.openhab.org/djpsycho82/32/69677_2.png) [@djpsycho82](https://community.openhab.org/u/djpsycho82)\
**Post date:** [May 5, 2019, 10:33am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/18 "2019-05-05T10:33:04Z")

</div>

Also at this side, the myopenhab service is coming back. It feels a bit slow but i’m restarting my openhab service a couple of times for some testing. Hope it will stay online! 🙂

---

<div class="post-metadata">

**Author:** ![RalphSester](https://community.openhab.org/user_avatar/community.openhab.org/ralphsester/32/28533_2.png) [@RalphSester](https://community.openhab.org/u/RalphSester)\
**Post date:** [May 5, 2019, 10:33am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/19 "2019-05-05T10:33:58Z")

</div>

my instance is still offline…no reaction to Amazon Echo or remote Login with ios-app.

---

<div class="post-metadata">

**Author:** ![opus](https://community.openhab.org/user_avatar/community.openhab.org/opus/32/55801_2.png) [@opus](https://community.openhab.org/u/opus)\
**Post date:** [May 5, 2019, 10:42am UTC](https://community.openhab.org/t/connection-to-myopenhab-broken/73808/20 "2019-05-05T10:42:44Z")

</div>

I needed to restart the bundle via karaf in order to get it connected again.

[Next page](https://community.openhab.org/t/connection-to-myopenhab-broken/73808.md?page=2)
