Connection Error myopenhab

Hi,
I am using openhab3 in a docker container. My yaml file looks like this:

version: '2.2'

services:
  openhab:
#    user: "${UID}:${GID}" # we added this line to get a specific user / group id
    image: "openhab/openhab:3.2.0"
    container_name: openhab3
    restart: always
    network_mode: host
    volumes:
      - "/var/docker/openhab/openhab_addons:/openhab/addons"
      - "/var/docker/openhab/openhab_conf:/openhab/conf"
      - "/var/docker/openhab/openhab_userdata:/openhab/userdata"
    environment:
      OPENHAB_HTTP_PORT: "8080"
      OPENHAB_HTTPS_PORT: "8443"
      EXTRA_JAVA_OPTS: "-Duser.timezone=Europe/Berlin"
      USER_ID:  ${USER_ID}
      GROUP_ID: ${GROUP_ID}

Everything works fine, exept the connection to myopenhab. I created a account, registered UUID + secret, but status keeps shown as offline.
The logs were showing no hint at first. Only when I set the log level to TRACE for the module org.openhab.io.openhabcloud the connection error was displayed.

Does anyone have an idea how to solve the problem and why does a connection error only appear when log level is set to DEBUG?

20:07:11.738 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance: EngineIOException xhr poll error. Should reconnect automatically.
20:07:11.744 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Socket.IO re-connect attempt error: SocketIOException Connection error
20:07:16.742 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Socket.IO re-connecting (attempt 691)
20:07:16.745 [TRACE] [.io.openhabcloud.internal.CloudClient] - Manager.EVENT_TRANSPORT
20:07:16.747 [TRACE] [.io.openhabcloud.internal.CloudClient] - Transport.EVENT_REQUEST_HEADERS
20:07:16.752 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Error connecting to the openHAB Cloud instance: EngineIOException xhr poll error. Should reconnect automatically.
20:07:16.756 [DEBUG] [.io.openhabcloud.internal.CloudClient] - Socket.IO re-connect attempt error: SocketIOException Connection error