openHAB Cloud not working

Is there more information if you enable trace logging? Disconnected from the openHAB Cloud service - #38 by ssalonen

2022-10-27 14:54:45.300 [DEBUG] [io.openhabcloud.internal.CloudClient] - Socket.IO disconnected: ping timeout
2022-10-27 14:54:45.303 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = XXX, base URL = http://localhost:8080)
2022-10-27 14:54:46.791 [DEBUG] [io.openhabcloud.internal.CloudClient] - Socket.IO re-connecting (attempt 1)
2022-10-27 14:54:46.796 [TRACE] [io.openhabcloud.internal.CloudClient] - Manager.EVENT_TRANSPORT
2022-10-27 14:54:46.801 [TRACE] [io.openhabcloud.internal.CloudClient] - Transport.EVENT_REQUEST_HEADERS
2022-10-27 14:54:52.422 [DEBUG] [io.openhabcloud.internal.CloudClient] - Socket.IO re-connected successfully (attempt 1)
2022-10-27 14:54:52.425 [TRACE] [io.openhabcloud.internal.CloudClient] - Manager.EVENT_TRANSPORT
2022-10-27 14:54:52.428 [TRACE] [io.openhabcloud.internal.CloudClient] - Transport.EVENT_REQUEST_HEADERS
2022-10-27 14:54:52.432 [TRACE] [io.openhabcloud.internal.CloudClient] - Transport.EVENT_REQUEST_HEADERS
2022-10-27 14:54:54.470 [DEBUG] [io.openhabcloud.internal.CloudClient] - Socket.IO connected
2022-10-27 14:54:54.474 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = XXX, base URL = http://localhost:8080)
2022-10-27 14:54:54.478 [TRACE] [io.openhabcloud.internal.CloudClient] - Transport.EVENT_REQUEST_HEADERS

At morning time I got every minute an error with connect and disconnect. Now time intervals are longer. Hope this will help.

1 Like

There is the reason! @digitaldan

I believe server sets the default ping timeout, and that is used both by client and server to detect faulty connection.

In this case, client seems to behave correctly although the root cause for missing ping/pong remains unclear

@Wikibear , are all errors the same (ping timeout)?

Let’s see if we get further user reports with same issue in Disconnected from the openHAB Cloud service - #43 by Brando

1 Like

I’ve just added my logs from this morning to the other post: Disconnected from the openHAB Cloud service - #51 by deswong

1 Like

Yep, that’s right… After the big issue last days it look more stable.