openHAB Cloud Service connection cycles, leaks, and stops

I am running openHAB 3.2.0M5 on a Pi4B running openHABian.

I am having trouble with my openHAB Cloud Service connection. I notice it when Amazon Alexa Devices connect through the openHAB Alexa Skill stop working. If I restart openHAB, it works for a while (day or so), then stops.

I checked the status at https://status.openhab.org/ and it shows that the cloud service has been running for a least the last week.

I see the following in the log:

2021-12-12 02:15:23.629 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-12 02:15:25.601 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-12 02:16:45.740 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-12 02:16:47.918 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-12 14:27:52.918 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-12 14:29:41.968 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-12 18:49:21.601 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-12 18:49:21.604 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-12 18:49:23.616 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-12 18:58:21.688 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-12 18:58:21.689 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-12 18:58:23.165 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-12 19:00:23.994 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-12 19:00:23.996 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-12 19:00:26.307 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-12 20:38:35.667 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-12 20:38:35.669 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-12 20:38:37.330 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-12 20:55:11.765 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-12 20:55:11.769 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-12 20:55:13.551 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-12 21:19:44.576 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-12 21:19:44.581 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-12 21:19:46.370 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 04:50:25.314 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance. Reconnecting.
2021-12-13 04:50:59.012 [ERROR] [io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance. Reconnecting.
2021-12-13 04:51:01.675 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 04:56:02.390 [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);
2021-12-13 05:10:30.923 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-13 05:10:30.925 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:10:32.604 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:10:55.787 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-13 05:10:55.790 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:10:56.745 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:14:16.975 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-13 05:14:16.977 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:14:18.582 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:21:52.758 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-13 05:21:52.761 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:21:54.247 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:33:00.598 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-13 05:33:00.602 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:33:02.309 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:34:08.677 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-13 05:34:08.679 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:34:10.209 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:41:57.083 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-13 05:41:57.087 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:41:58.680 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:46:15.891 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-13 05:46:15.896 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:46:17.797 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:47:24.320 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-13 05:47:24.322 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:47:26.354 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:55:05.077 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-13 05:55:05.081 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:55:06.955 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:55:16.955 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-13 05:55:16.958 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:55:18.200 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:56:13.764 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-13 05:56:13.767 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:56:15.215 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2021-12-13 05:56:15.347 [ERROR] [io.openhabcloud.internal.CloudClient] - Error during communication
2021-12-13 05:56:15.353 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)

Then is stops trying to reconnect.

This may or may not be related to the fact that I updated to openHAB 3.2.0M5 a week or so ago.

I will try stopping openHAB (systemctl stop openhab), clearing the cache (sudo openhab-cli clean-cache) and restarting openHAB (systemctl start openhab) and see how long it goes.

were you ever able to figure out the solution for this? I have the same problem on a new openhab setup. It disconnects/reconnects all the time.

1 Like

I still see Disconnecting and Reconnecting the log. But the good news is that it has not disconnected and not reconnected for a while.

Here is the most recent sampling:

2022-01-15 07:48:48.607 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2022-01-15 12:53:24.471 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2022-01-15 12:53:26.213 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2022-01-16 11:33:11.690 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2022-01-16 11:33:13.516 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2022-01-16 11:33:43.387 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)
2022-01-16 11:33:45.131 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b8eb51e4-d882-475d-9411-56faa5482c9c, base URL = http://localhost:8080)

Not very often, and it snaps right back. And unlike before, it never stops trying. So I guess it is better. Other than having migrated to 3.2 Release Version, I can’t think of anything that has changed.

2 Likes

Thanks. I added a counter that gets incremented on every disconnect and it is currently averaging around 50 per day.

It was much worse before, but I debugged that and found that it was due to the wifi chip on my pi going into low power. After disabling power management, the disconnects are down to 50 per day and it reconnects very quickly.

I will try moving the setup closer to the router in case it is dropping the wifi connection. Or changing the power supply in case it is related to voltage dropout during peak usage

I have the same problem, and it started with OH version 3.2.
I am running OH in a Docker instance with a wired internet connection. The Linux Ubunto OS is the same for OH version 3.2 and my previous version 3.1. I simply created a new updated Docker container - everything else the same.

Hi Everyone,

Same problem in few of my clients. Satus shows that they are online but in log I see milions of connect and disconnect form cloud service. Im on Ubuntu 20.04 and 3.2 Openhab stabel version :slight_smile:
@Kai help us! :((

Error during communication or Error connecting to the openHAB Cloud instance. Reconnecting

I got the same errors in my log. Openhab 3.2 stable. Did not change the config.
When I ping myopenhab.org I get ~ 70ms response time.
The web interface itself is very slow.
In the event view I got x20 openhab online events for today but no offline events

Please see my post above.

The issue reported by the original poster of this thread is not related to the current myopenhab outage. They are (were?) seeing regular disconnects that are more likely on the client side.

Figured the server (myopenhab) was struggling after looking things over. Not full down, but really slow response times getting in the way (ping is fine). v3.2 stable.

Is there an appropriate way to report potential outages… that can help users and admins alike? And/or a thread anyone knows about discussing improving health status feedback?

Did you read the post I linked to?

Ah, new to this forum layout… didn’t realize I could expand that link (thought that was all of it). Just noticed it is pretty new too… explains why I couldn’t find it earlier.

No worries. Outages don’t happen that frequently, so no one has ever written a procedure and I’m attempting to do so now.

Whatever the case, I’m trying to stop the hijacking of this particular thread’s original intent, so I’m not going to respond here anymore. :wink:

I think someone is doing something about it already

Here

Same problem here. My Openhab remote interface (via cloud connector) was just offline for about 1/2 hour. I addition of “Connected, Disconnected” logs I also regularly see these logs:

2022-03-30 10:32:44.388 [ERROR] [internal.JSONResponseExceptionMapper] - Unexpected exception occurred while processing REST request.
org.eclipse.jetty.io.EofException: null
	at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:279) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:422) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:277) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:381) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:829) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:241) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:223) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:550) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:915) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:987) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.HttpOutput.channelWrite(HttpOutput.java:285) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.HttpOutput.close(HttpOutput.java:638) ~[bundleFile:9.4.43.v20210629]
	at org.apache.cxf.transport.http.AbstractHTTPDestination$WrappedOutputStream.close(AbstractHTTPDestination.java:791) ~[bundleFile:3.4.5]
	at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) ~[bundleFile:3.4.5]
	at org.apache.cxf.transport.http.AbstractHTTPDestination$BackChannelConduit.close(AbstractHTTPDestination.java:722) ~[bundleFile:3.4.5]
	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63) ~[bundleFile:3.4.5]
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) ~[bundleFile:3.4.5]
	at org.apache.cxf.interceptor.OutgoingChainInterceptor.handleMessage(OutgoingChainInterceptor.java:90) ~[bundleFile:3.4.5]
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308) ~[bundleFile:3.4.5]
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121) ~[bundleFile:3.4.5]
	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:265) ~[bundleFile:3.4.5]
	at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:234) ~[bundleFile:3.4.5]
	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:208) ~[bundleFile:3.4.5]
	at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:160) ~[bundleFile:3.4.5]
	at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:225) ~[bundleFile:3.4.5]
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:298) ~[bundleFile:3.4.5]
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doGet(AbstractHTTPServlet.java:222) ~[bundleFile:3.4.5]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:687) ~[bundleFile:3.1.0]
	at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:273) ~[bundleFile:3.4.5]
	at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550) ~[bundleFile:9.4.43.v20210629]
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:71) ~[bundleFile:?]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) ~[bundleFile:9.4.43.v20210629]
	at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:294) ~[bundleFile:?]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) ~[bundleFile:9.4.43.v20210629]
	at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:82) ~[bundleFile:?]
	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.Server.handle(Server.java:516) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388) ~[bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633) [bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380) [bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) [bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) [bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) [bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) [bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) [bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) [bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) [bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) [bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:386) [bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) [bundleFile:9.4.43.v20210629]
	at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) [bundleFile:9.4.43.v20210629]
	at java.lang.Thread.run(Thread.java:829) [?:?]
Caused by: java.io.IOException: Broken pipe
	at sun.nio.ch.FileDispatcherImpl.writev0(Native Method) ~[?:?]
	at sun.nio.ch.SocketDispatcher.writev(SocketDispatcher.java:51) ~[?:?]
	at sun.nio.ch.IOUtil.write(IOUtil.java:182) ~[?:?]
	at sun.nio.ch.IOUtil.write(IOUtil.java:130) ~[?:?]
	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:493) ~[?:?]
	at java.nio.channels.SocketChannel.write(SocketChannel.java:507) ~[?:?]
	at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:273) ~[bundleFile:9.4.43.v20210629]
	... 63 more

@hal_sk 30 minutes offline time sounds like a lot. However, it still reconnected automatically, correct? Which openhab version?

You can help to troubleshooting activities by enabling verbose logging and utilizing the version provided here Openhab cloud connection stops working, does not try to reconnect - #20 by ssalonen

Yes. It reconnected itself after 30 to 45 minutes. However I have noticed it went down just in the moment I was going to check my dashboard (remotely via myopenhab.org) which I do once or twice a day. I use monitoring tool which is checking the state of one of my OH item every 10 minutes so I was able to see that cloud connector (or remote service) was not down before I have checked the dashboard.
How to enable verbose logging? Only via installing mentioned cloud connector troubleshooting version add-on?
Currently I check logs at /var/log/openhab/openhab.log
openHAB version 3.2.0-1

Please see the marketplace for the installation instructions for the “special” version. Use the version corresponding to your openHAB.

The special version has more things logged down for troubleshooting purposes. It also should not log the secrets, unlike the release version. Main purpose has been actually to try to troubleshoot the situation when the system does not reconnect/recover itself.

You can enable debug logs using the “karaf” console

log:set TRACE org.openhab.io.openhabcloud