Concurrent connections to HiveMQ not possible

Hi everyone,

my job is to improve an already existing IoT-stack consisting of InfluxDB, HiveMQ, Telegraf and Traefik. The MQTT broker subscribes to a data source, Telegraf processes the data and saves it in the database. This works well. However, only one user is allowed to connect to HiveMQ at any time. That means if user1 is connected to HiveMQ via a tool like MQTTfx for example, and user2 wants to connect to HiveMQ via MQTTfx using different certificates, user1 gets kicked out of his session, while user2 can work fine until another user wants to connect.

We have created multiple valid certificates and I think there is no problem with HiveMQ but rather with Traefik. I will post the traefik.toml file below. It might be outdated, but if you can find the error, I would be very grateful.

# Traefik Static Configuration Reference
# Link:

    checkNewVersion = false
    sendAnonymousUsage = true

    insecure = true
    dashboard = true
    debug = true

        address = "http://influxdb:8086"
        token = "secret-auth-token"
        org = "myorg"
        bucket = "test"
        addEntryPointsLabels = true
        addServicesLabels = true
        pushInterval = "30s"

    level = "DEBUG"

    filePath = "/log/access.log"
    bufferingSize = 100
        statusCodes = ["200", "300-302", "400-499"]
        retryAttempts = true
        minDuration = 10

        address = ":80"
        address = ":8883"
        address = ":8884"

        endpoint = "unix:///var/run/docker.sock"
        exposedByDefault = false
        network = "windio_stack_hivemq_cert_default"
        directory = "/etc/traefik/configurations/"
        watch = true

Share your Traefik static and dynamic config, and docker-compose.yml if used.

Use 3 backticks in front and after the code to format it, or select the code and press the </> button.

Enable Traefik debug log and check the Traefik dashboard.