Failed to create IO client

Ladies and Gentlemen,

We are currently trying to put your tool into operation on a test basis. For this purpose, we have set up a simple Ubuntu test system with Docker.

Our Docker compose file is as follows:

version: ‘3.7’

services:
proxy:
image: openremote/proxy:latest
restart: always
environment:
TZ: Europe/Amsterdam
DOMAINNAME: 84.148.60.171
LE_EMAIL: admin@example.com
ports:
- “80:80”
- “443:443”
- “1883:1883”
- “8404:8404” # Localhost metrics access
- “9002:9002” # Port for the TCP agent
volumes:
- proxy-data:/deployment

manager:
image: openremote/manager:1.6.0
restart: always
environment:
TZ: Europe/Amsterdam
OR_ADMIN_PASSWORD: secret
OR_HOSTNAME: 84.148.60.171
OR_TCP_AGENT_HOST: 0.0.0.0
OR_TCP_AGENT_PORT: 9002
volumes:
- manager-data:/storage

keycloak:
image: openremote/keycloak:latest
restart: always
environment:
TZ: Europe/Amsterdam
KC_DB_URL_HOST: postgresql
KC_DB_URL_PORT: 5432
KC_DB_URL_DATABASE: openremote
KC_DB_USERNAME: postgres
KC_DB_PASSWORD: postgres
KC_HOSTNAME: 84.148.60.171
ports:
- “8080:8080”

postgresql:
image: openremote/postgresql:latest
restart: always
environment:
TZ: Europe/Amsterdam
POSTGRES_DB: openremote

The Openremote UI can also be started wonderfully with https://84.148.60.171
Now we try external sesosr data via tcp to port 9002 and MQTT to port 1883 (no SSL)
to the Openremote, but we do not receive a connection on the TCP port or MQTT port.

When trying to add a TCP or MQTT agent in the UI, we also get the warning:

Failed to create IO client for protocol: TCP Client bei openremote

Please help us to find out whether we need to install further parts of the Openremote in the Docker compose and which settings still need to be made.
Since we currently only want to send data to Openremote and display it there.

Regards

Hi Lukas,
perhaps if you describe the steps you took to configure the MQTT agent and the attribute it might help to see if any steps are missing. Additionally, can you receive data with another type of MQTT client? (i.e. MQTT explorer).

Could you send me an exaple configuration for docker.
Thanks in advice.