Explainer
Why Databus 3.1 MQTT over WebSockets is limited to IIH apps
Short answer
Databus 3.1 enables MQTT over WebSockets only for Industrial Information Hub applications, with the Common Configurator on Industrial Edge Management as the stated consumer. No port or client contract is published for general use; the deciding check is the consuming application's identity, not the network. IIH applications take their endpoint from the integration, and every other client uses the documented MQTT interface.

On this page
MQTT over WebSockets arrived with Databus 3.1, but it is enabled only for Industrial Information Hub (IIH) applications. The stated purpose is the Common Configurator release on Industrial Edge Management (IEM), which uses the transport to configure connectors running on edge devices. That scope is why the release note carries no port list and no client contract: there is no supported external client to document. Your first check is therefore the identity of the consuming application, not the firewall. An IIH application takes its endpoint from that integration. Anything else, such as a dashboard, a script or a generic MQTT library, connects over the documented MQTT interface instead.
What the release note says and what it leaves out #
The Databus v3.1.0 release note announces that MQTT over WebSockets is available, and it names the consumer: the functionality is enabled for the IIH suite, introduced for the Common Configurator release that runs on IEM, from where it configures connectors on edge devices. That sentence is the whole feature statement.
What the note does not define is everything a client needs in order to connect: destination, port, request path, authentication, subprotocol negotiation, any listener setting. None of that is an omission to be worked around. The endpoint belongs to the IIH integration and is defined by that integration. A feature statement announces a capability; an endpoint contract is a separate document that fixes ports, paths, security and client identity. For this transport, Databus 3.1 publishes the first and, for external clients, not the second.
The practical consequence: searching the 3.1 documentation for a WebSocket port returns nothing because nothing is published to find. Probing ports or guessing request paths to reverse-engineer the endpoint is not engineering the integration; it is working outside the supported scope, and the result would be an unsupported connection even if a handshake completed.
The transport, in engineering terms #
MQTT is a publish/subscribe protocol that normally runs over TCP, on assigned ports 1883 for cleartext and 8883 for TLS. WebSocket, defined in RFC 6455, is a bidirectional stream that begins as an HTTP/1.1 exchange: the client sends an upgrade request with Upgrade: websocket and a Sec-WebSocket-Key, the server answers with status 101, and framed messages follow on the same TCP connection. The MQTT specification defines the subprotocol identifier mqtt for this binding, carried in the Sec-WebSocket-Protocol header. WebSocket has no port of its own; it uses whatever port the HTTP endpoint listens on, conventionally 443 under TLS.
None of those defaults describe Databus 3.1. The release publishes no listener, port or path for the feature, so what a client library assumes proves nothing about the IIH endpoint.
The framing cost is small and easy to state. Take one MQTT PUBLISH packet of 512 bytes sent by a client in a single unfragmented WebSocket frame. RFC 6455 requires 2 bytes of base header; because 512 exceeds the 125-byte inline length limit, a 2-byte extended length field; and because client-to-server frames must be masked, a 4-byte masking key. On the wire: 2 + 2 + 4 + 512 = 520 bytes, before the TLS record layer adds its own header and tag. Above 65535 bytes the length field grows to 8 bytes, and fragmentation and TLS record layout move the total further. Once the connection is up, the transport is cheap; the differences that matter sit at connection setup and in what networks the stream can traverse.
The deciding check is the consumer, not the network #
Before any port hunt, name the application that will open the connection. The answer decides everything else:
| Consuming application | In the 3.1 scope | Action |
|---|---|---|
| An IIH application such as the Common Configurator on IEM | Yes | Take the endpoint from the integration's documentation and run the acceptance path below |
| A custom program, dashboard or generic MQTT library | No | Use the documented MQTT interface in the next section |
| A browser client that cannot leave WebSockets | No | Put a broker you control in front, or move to a release whose manual documents the setting |
Run every acceptance test with the IIH application the integration names, never with an unrelated client.
The documented interface for other clients #
For every consumer outside IIH, the supported path is the ordinary MQTT interface configured in the Databus Configurator. The documented connection procedure requires the secure SSL/TLS connection enabled and the certificate uploaded as required, so plan certificate distribution to the client before the first connection attempt.
One session limit applies while you configure it: the Databus Configurator manual V1.7.8 documents that for a session one user only is allowed for each IE MQTT Connector, so two engineers must not configure the same connector session concurrently.
If the client is a PLC-side publisher that never reaches the broker over this plain path, follow the trace order in fix a PLC MQTT client that never reaches your broker.
Acceptance path for an IIH application #
- Read the installed versions. The Databus application version in IEM must match the release documentation you work from, and the feature statement here is v3.1.0. If the installed version differs, switch to that version's documentation before diagnosing anything. If the Configurator does not appear in the IEM catalog at this step, apply fix for a Databus Configurator missing from the IEM catalog.
- Confirm the placement. The Common Configurator is the central user interface for IIH and all Industrial Edge connectors, and the described deployment runs it on IEM against connectors on the edge devices. If your configurator runs elsewhere, correct the deployment before touching connectivity.
- Take the endpoint from the integration. Destination, port, path, security and identity come from the installed IIH application's documentation or its configuration workflow, not from convention.
- Trace the layers in order and fix only the first failure:
- Name resolution and routing: the application reaches the documented destination.
- Transport security: peer identity and certificate trust succeed.
- WebSocket upgrade: the server answers 101 and the connection stays open.
- MQTT session: the intended client establishes an authorized session.
- Connector operation: the configuration reaches the selected connector on the edge device.
Keep the whole path inside the approved management network: the feature does not justify opening firewall rules from office networks to the IEM or the broker.
Version scope: the later manual changes the picture #
The IIH-only scope is a property of the 3.1 release, not of the protocol. The Databus manual for v3.2.1, edition 04/2025, contains a Websocket Protocol page under Working with Databus Configurator, Configuring the Settings, where enabling MQTT over WebSockets is a documented configuration step. A project that needs the transport outside the IIH integration therefore works from the documentation of the release it actually runs. Read the listener, security and access settings for the installed version from that version's page; values do not carry over from another release's notes.
The decision #
For a consumer that is an IIH application on Databus 3.1: in scope. Take the endpoint from the integration's documentation and run the acceptance path above, inside the management network.
For any other client on 3.1: out of scope, deliberately. Stop probing, and configure the documented SSL/TLS MQTT interface for that client instead.
For a browser or dashboard that must use WebSockets on 3.1: put a broker you control in front of Databus, since one edge PC can host the MQTT broker for the rest of the plant, and let that broker own the WebSocket listener, its port and its certificate, forwarding to Databus over plain MQTT.
For a project that needs the transport on Databus itself with documentation behind it: move to the release line whose manual documents the setting, the v3.2.1 documentation, and configure it there.
Questions asked
Is the legacy MQTT 3.1 option in the Databus Configurator the same 3.1 as Databus release 3.1?
No. The optional Use legacy MQTT 3.1 support checkbox selects the MQTT protocol version used on the wire, for compatibility with older brokers or clients. Databus v3.1.0 is the application release that announced MQTT over WebSockets. Enabling the checkbox changes protocol behavior on a normal connection and does not add a WebSocket listener or expand the feature's scope.
Why does the Common Configurator need WebSockets at all?
Because it is a web interface. A browser cannot open a raw TCP connection to an MQTT broker; its only bidirectional stream is a WebSocket, which begins as an HTTP upgrade and then carries MQTT frames. That is precisely the gap MQTT over WebSockets fills, which is why the Databus 3.1 feature was built around the Industrial Information Hub suite instead of being published as a general listener.
Can a generic WebSocket test client prove the endpoint works?
Not in a way that matters. A handshake completed by an unrelated client shows only that some transport answered; it does not make your use case supported. Equally, a rejected generic test does not prove the IIH integration is defective. Run acceptance with the IIH application that the integration names, and read its connection diagnostics layer by layer.
Is MQTT over WebSockets slower than plain MQTT?
Not in steady state. RFC 6455 adds at most 14 bytes per frame before TLS record overhead, so the 512-byte publish in the example becomes 520 bytes on the wire. The real differences sit at setup, where an HTTP upgrade precedes the MQTT CONNECT, and in traversal: the stream can pass web infrastructure and TLS on port 443 that raw MQTT ports cannot.


