Can someone tell me what happens with my OH 3.2.0. Sometimes it disconnects from Google Home. In the log, I see this message.
2022-01-24 23:27:33.708 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance. Reconnecting.
2022-01-24 23:27:48.769 [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);
2022-01-24 23:28:53.368 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx, base URL = http://localhost:8080)
2022-01-24 23:29:03.379 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2022-01-24 23:29:03.381 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx, base URL = http://localhost:8080)
2022-01-24 23:33:26.219 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance. Reconnecting.
2022-01-24 23:33:52.399 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance. Reconnecting.
I notice this one month ago. When I reboot Rasberry Pi4 all start working, but after 2-3 days happen againe.
Earlier today, my connection to myopenhab stopped working (despite my server thinking it was still connected). But I didnât have the error message youâre seeing. Also, if youâve had this issue before, itâs probably not related to the recent outage.
Sorry, thatâs not super helpful. One thing I can say though, is that you usually donât need to do a full restart on your server. If you go into the openHAB Cloud settings in Main UI and click âSaveâ (without changing anything), the cloud connector will restart.
Probably, but I donât know it. Thing is, thatâs not really a solution to your actual problem, itâs just a temporary fix. If it still happens regularly, you may want to turn on debugging in your log to get a better idea of the issue.
Just wanted to add a âme tooâ here. My server had many disconnect/reconnects to the openHAB Cloud Service on Jan 24, and also a one each on Jan 25 and Jan 27, but myopenhab.org and the openhab log file claimed my service was online. Yesterday (Jan 28) Google Home started giving error messages saying there was no connection to openhab. Still myopenhab.org and the log file said the service was online. Clicking âSaveâ in the cloud service config page solved it today (Jan 29).
My Ubuntu server has openhab 3.2.0-1 installed (according to dpkg -l).
Normally it should âhealâ itself as it nevertheless tries to reconnect.
In general, I also think this is not the right place to discuss this, since the problems are not related to the Google Assistant integration or Google Home, but only to openHAB Cloud (myopenHAB).
Please do not mix up Google Home and openHAB Cloud (myopenHAB)!
I uploaded the log the last time it happened, and it doesnât try to reconnect because it seems to believe it is connected. When this fault occurs, the last entry in the log about the connection status says it is connected.
I donât know anything about the internal workings of openhab, but I agree it seems to be related to the openhab cloud connector. I have posted a new message in that section now.