Connection to openHAB cloud fails for openHAB > 3.4.1

Hi,

I’m running an own instance of openHAB cloud for multiple openHAB installations. When I try to update them to a version greater than 3.4.1, no connection to openHAB clooud can be made anymore.

I already created an issue at [openhabcloud] No connection due to SocketIoException since 3.4.2 · Issue #15094 · openhab/openhab-addons · GitHub and I’d like to know if anyone else experiences similar problems.

For me it seems it doesn’t work anymore since reconnection fixes have been implemented in https://github.com/openhab/openhab-addons/pull/14251

On openHAB cloud side, I don’t see any attempts to connect to this instance, when it’s coming from openHAB >3.4.1

according to the discussion in that thread there also have been changes to openhab-cloud server sources. Have you updated them as well ?

yes, I’m using the latest version of that.

I use the docker-compose setup with a little difference: traefik doesn’t terminate https, because it’s running behind a reverse proxy.

I found a solution. The trick was that I use another apache in front of my docker compose setup. I was not aware that I need to support websockets from version 3.4.1.

So in apache I had to configure to handle websocket connections, too. My solution is written down in [openhabcloud] No connection due to SocketIoException since 3.4.2 · Issue #15094 · openhab/openhab-addons · GitHub