OpenHab Cloud notification not working

Running openHab 4.2.2 on Raspi 4B.
Since 2 weeks and after the last updates, no notifications are being sent.
The log says:

2024-11-17 22:17:25.822 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = 24…40, base URL = http://localhost:8080)
2024-11-17 22:17:50.817 [DEBUG] [io.openhabcloud.internal.CloudClient] - Socket.IO ping
2024-11-17 22:17:50.842 [DEBUG] [io.openhabcloud.internal.CloudClient] - Socket.IO pong: 25 ms
2024-11-17 22:17:55.481 [INFO ] [penhab.core.model.script.Testswitch2] - Notification sent
2024-11-17 22:17:55.483 [DEBUG] [b.io.openhabcloud.NotificationAction] - sending notification ‘Test Notification’ to user um-gs@arcor.de
2024-11-17 22:17:55.484 [DEBUG] [o.openhabcloud.internal.CloudService] - Sending message ‘Test Notification’ to user id um-gs@arcor.de
2024-11-17 22:17:55.486 [DEBUG] [io.openhabcloud.internal.CloudClient] - No connection, notification is not sent
2024-11-17 22:17:55.487 [DEBUG] [b.io.openhabcloud.NotificationAction] - sending broadcast notification ‘Test Broadcast Notification’ to all users
2024-11-17 22:17:55.488 [DEBUG] [o.openhabcloud.internal.CloudService] - Sending broadcast message ‘Test Broadcast Notification’ to all users
2024-11-17 22:17:55.489 [DEBUG] [io.openhabcloud.internal.CloudClient] - No connection, notification is not sent
2024-11-17 22:17:55.491 [DEBUG] [b.io.openhabcloud.NotificationAction] - sending log notification ‘Test LogNotification’
2024-11-17 22:17:55.492 [DEBUG] [o.openhabcloud.internal.CloudService] - Sending log message ‘Test LogNotification’
2024-11-17 22:17:55.493 [DEBUG] [io.openhabcloud.internal.CloudClient] - No connection, notification is not sent
2024-11-17 22:18:15.843 [DEBUG] [io.openhabcloud.internal.CloudClient] - Socket.IO ping
2024-11-17 22:18:15.866 [DEBUG] [io.openhabcloud.internal.CloudClient] - Socket.IO pong: 23 ms
2024-11-17 22:18:29.244 [DEBUG] [o.openhabcloud.internal.CloudService] - bundle org.openhab.io.openhabcloud:4.2.2 (330)[org.openhab.io.openhabcloud.internal.CloudService(536)] : ConfigurableComponentHolder configuration updated for pid org.openhab.openhabcloud with change count 13
2024-11-17 22:18:29.246 [DEBUG] [o.openhabcloud.internal.CloudService] - bundle org.openhab.io.openhabcloud:4.2.2 (330)[org.openhab.io.openhabcloud.internal.CloudService(536)] : Querying state active
2024-11-17 22:18:29.248 [DEBUG] [o.openhabcloud.internal.CloudService] - bundle org.openhab.io.openhabcloud:4.2.2 (330)[org.openhab.io.openhabcloud.internal.CloudService(536)] : Querying state active
2024-11-17 22:18:29.250 [DEBUG] [o.openhabcloud.internal.CloudService] - bundle org.openhab.io.openhabcloud:4.2.2 (330)[org.openhab.io.openhabcloud.internal.CloudService(536)] : invoking modified: modified: parameters [org.apache.felix.scr.impl.helper.ReadOnlyDictionary]
2024-11-17 22:18:29.252 [DEBUG] [o.openhabcloud.internal.CloudService] - Using secret at ‘/var/lib/openhab/openhabcloud/secret’ with content ‘Ia…HO’
2024-11-17 22:18:29.253 [DEBUG] [o.openhabcloud.internal.CloudService] - UUID = 24…40, secret = Ia…HO
2024-11-17 22:18:29.313 [INFO ] [io.openhabcloud.internal.CloudClient] - Shutting down openHAB Cloud service connection
2024-11-17 22:18:29.314 [WARN ] [io.openhabcloud.internal.CloudClient] - Socket.IO disconnected: io client disconnect
2024-11-17 22:18:29.316 [INFO ] [io.openhabcloud.internal.CloudClient] - Disconnected from the openHAB Cloud service (UUID = 24…40, base URL = http://localhost:8080)
2024-11-17 22:18:29.469 [INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = 24…40, base URL = http://localhost:8080)

So there is a connection with openhabcloud, I can also remotely connect to my server, but the notification is not sent.

Do the notifications appear in the notification log on myopenhab.org?

Could you please elaborate on your client devices registered in openHAB cloud?

Hi,
the notifications do not appear in the notification log on myopenhab.org (only the older ones until it stopped).
These devices are registered:

Pulling in @digitaldan: Can you check what’s going on?

Have you tried restarting the entire openHAB process? There is a very rare condition where i think a zombie instance hangs around and the active one does not get routed actions. Restarting openHAB is the only way to clear out.

Yes, openhab.service has been stopped an a clean cache performed before rebooting. No improvement though.

Hi, anyone any ideas what to do?

If you were to restart that binding, do you see the message Socket.IO connected ? Can you grab all the logs from when you do a restart? You can PM me those.

thanks Dan, will do. How to restart this binding (Openhab Cloud)?

from the openHAB console (cli) restart org.openhab.io.openhabcloud or if you go into openhab cloud settings in the Main UI, you can click “save” which will also restart it (event if nothing changed)

Solution in my case:

Uninstall openHab Cloud - Addon
sudo systemctl stop openhab.service
sudo openhab-cli clean-cache
restart openHab server
Install openHab Cloud - Addon

@digitaldan , have to reopen this issue.
After ca. 2 weeks of operation (no updates/changes to the system), the cloiud notification stopped working again.
“Solution” as last time was to uninstall/reinstall the openHab Cloud -Addon.

How to proceed to get this problem permanently solved?

I don’t know, afaik you are the only one having this issue out of 30K or so users right now, so i don’t have a good explanation for you.

Hi @digitaldan, unfortunately the problem is still not solved and @openhabgs is not the only one being impacted by.

[INFO ] [io.openhabcloud.internal.CloudClient] - Connected to the openHAB Cloud service (UUID = b3…5f, base URL = http://localhost:8080)

After sending out a notification via rule:

[DEBUG] [io.openhabcloud.internal.CloudClient] - No connection, notification is not sent

The sent notification does not appear in the notification log on myopenhab.org.

The sent notification does not appear in the client device registered in myopenhab.org.

I have restarted the org.openhab.io.openhabcloud bundle for several times - no change.

Send a message to this device on myopenhab.org is working.

The only one workaround for me is to restart the Pi 4, but after a couple of days the problem is back again. I couldn’t even find out any test configuration to simulate the scenario, the problem comes and goes just like a rolling stone…

System environment:

openHAB 4.3.1 - Release Build

Karaf 4.4.6

Release = Debian GNU/Linux 11 (bullseye)

Kernel = Linux 6.1.21-v8+

Platform = Raspberry Pi 4 Model B Rev 1.5

Any idea what the root course could be? At least where should I give a try to pinpoint the trouble?