Datasource down or faulted
Symptom
Section titled “Symptom”One of two things:
- Enable fails. Toggling Enable on an input datasource row bounces back to Disabled and shows an error code such as
model_not_pairedoradapter_connect_failed. - A running source faults mid-stream. A previously-streaming datasource stops producing predictions; the row shows a fault indicator and a red banner appears. Under the hood the runtime dropped to a faulted, then idle, state.
Confirm
Section titled “Confirm”Identify which stage failed.
-
Read the error code on the row. The code names the failed step directly:
model_not_paired→ the datasource has no model assigned.adapter_connect_failed→ the protocol connection (OPC-UA handshake / MQTT broker connect / Modbus probe) failed — almost always a network or endpoint problem.
-
Check the backend log for the connect attempt and fault reason:
Terminal window docker compose -f docker-compose.release.yml logs backend | grep -iE "datasource|adapter|fault|enable" -
A mid-stream fault comes from a read error on the live source (a tag stopped responding). When that happens the runtime tears down to a clean idle state: the model is unloaded and the adapter is unbound. Recovery is not automatic — the source must be re-enabled from scratch.
-
model_not_paired— assign a model to the datasource first, then Enable again. A datasource must be paired with a model before it can run. -
adapter_connect_failed— the runtime could not reach the source. The Enable already rolled the row back to Disabled cleanly, so fix the connection and retry:- Verify the endpoint address, port, and credentials in the datasource config.
- Confirm the box has network reachability to the OPC-UA server / MQTT broker / device.
- For a CSV source, confirm the file path and that the file is present and readable.
- Use the form’s Test Connection against the current values, then Enable again.
-
A source that faulted mid-stream has been torn down to idle — the model was unloaded and the adapter unbound. Re-establish it fully:
- Fix the underlying source problem (reconnect the sensor / restore the tag / fix the network).
- Enable the datasource again (this reloads the model and reconnects the adapter).
- Press Start to resume streaming.
Prevent
Section titled “Prevent”- Pair the model and map all channels before going live. Most Enable failures are pre-flight validation: a missing model pairing or an incomplete tag-to-channel mapping (gaps or over-fills). Complete these once and Enable succeeds first try.
- Stabilise the source before Start. A flaky OPC-UA endpoint or intermittent broker will fault the stream and force a full re-enable. Confirm a stable connection with Test Connection before pressing Start.
- Expect the two-step flow. Enable prepares; Start streams. Building this into the operating procedure avoids “it’s enabled but nothing’s happening” tickets.
Related
Section titled “Related”- Connecting Datasources — adapter types, connection config, tag mapping.
- Your First Inference — model load and run flow.