WebSocket Connection
Access the steps to develop a data connection based on the WebSocket Connection.
Use a WebSocket Connection to stream live data into the Designer and bind it to charting components.
Create a new WebSocket connection
Click the Data Connectors icon.
Click the Create New Connection icon next to the WebSocket connector. Result: A new connection gets created under the WebSocket connector type.
Click the new connection to view the configuration panel on the right.
Configure the connection
Fill in the following fields exactly as shown:
Name: Provide a name for the connection.
URL: Enter a URL link (e.g.,
wss://<host>/path
orws://<host>/path
).guid: Provide the guid.
Ingestion ID: Provide the ingestion ID.
Ingestion Secret: Provide the ingestion secret key.
Load at Start: Enable this option to get up-to-date data / pull the updated data from the data source before loading it into charts.
Associate the connection to a charting component
Open the Designer canvas for your dashboard.
From the Component Library, drag a charting component onto the canvas.
Right-click the component and select Dataset (or Dataset property).
Choose your WebSocket connection from the list.
Map the incoming fields to the component’s bindings (dimensions/measures).
Click Preview to validate; Save when satisfied.
Best practices
Prefer secure endpoints: Use
wss://
whenever possible.Key hygiene: Keep Ingestion Secret private; rotate it per your organization’s policy.
Reconnect logic (if supported): Ensure the source can resume or resend missed messages after temporary network drops.
Lightweight payloads: Send only the fields your visuals need to reduce latency.
Initialize state: With Load at Start enabled, ensure the server can provide the current state (snapshot) before streaming deltas.
Troubleshooting
No data arriving: Verify the URL, guid, Ingestion ID, and Ingestion Secret are correct, and the server accepts your client.
Handshake/SSL errors: Use
wss://
with a valid certificate; check firewall/proxy rules.Schema mismatch: Confirm the message keys match the field names bound in the component.
Intermittent drops: Check server keep-alive/heartbeat settings and network stability; consider retry/backoff on the source.