Connection and certificate issues
If the extractor is unable to connect to the OPC UA server or maintain a secure session, try these solutions.Unable to connect to discovery server
Unable to connect to discovery server
Unable to connect to discovery server, make sure that you have specified the correct endpoint-url in the configuration file and that it’s possible to connect to the server from where the extractor is running.Solution:- Confirm endpoint-url in the configuration file.
- From the extractor host, connect with UAExpert to verify network reachability.
Identity token rejected
Identity token rejected
Certificate untrusted on startup
Certificate untrusted on startup
- Move the extractor’s client certificate into the OPC UA server’s trusted certificate store.
- For a short connectivity test during initial setup, you can temporarily set
source.auto-accept: truein the configuration file, then set it back tofalse. See the warning in Connection and certificate issues.
The extractor hangs during startup, then loses connection
The extractor hangs during startup, then loses connection
source/browse-nodes-chunk, source/browse-chunk, source/attributes-chunk, or source/subscription-chunk in the configuration file.Solution:- Reduce chunk sizes in
config.yml: reducesource/browse-nodes-chunk,source/browse-chunk,source/attributes-chunk, orsource/subscription-chunk. - Increase
source/keep-alive-interval.
SHA1 signed certificates are not trusted
SHA1 signed certificates are not trusted
- Update the server certificate to use SHA-256.
- As a temporary diagnostic workaround only, set
<RejectSHA1SignedCertificates>false</RejectSHA1SignedCertificates>underSecurityConfigurationinopc.ua.extractor.Config.xml, or setsource.ignore-certificate-issues: trueinconfig.yml. See the warning in Connection and certificate issues.
Certificate does not meet the minimum key length requirement
Certificate does not meet the minimum key length requirement
- Increase the key length of the server certificate.
- Alternatively, adjust
MinimumCertificateKeySizeunderSecurityConfigurationinopc.ua.extractor.Config.xml, or setsource.ignore-certificate-issues: trueas a temporary diagnostic workaround only. See the warning in Connection and certificate issues.
Usage of certificate is not allowed
Usage of certificate is not allowed
source.ignore-certificate-issues: true as a temporary diagnostic workaround only. See the warning in Connection and certificate issues.BadSecureChannelClosed during operations
BadSecureChannelClosed during operations
- Check the OPC UA server logs for session disconnect reasons.
- Increase
session-timeoutandkeep-alive-intervalin the extractor configuration file.
Browse and hierarchy issues
If the extractor encounters errors when traversing the server hierarchy or discovering nodes, try these solutions.BadUnexpectedError or BadInternalError during browse operations
BadUnexpectedError or BadInternalError during browse operations
- Set
browse-chunk: 100andbrowse-nodes-chunk: 100in the configuration. - Set
max-parallelism: 1andmax-node-parallelism: 1to serialize queries.
BadEncodingLimitsExceeded during browse
BadEncodingLimitsExceeded during browse
- Reduce
browse-chunkandbrowse-nodes-chunkinconfig.yml(for example, down to5or10). - If using the .NET extractor, increase message buffer limits in
opc.ua.extractor.Config.xml:MaxStringLengthMaxMessageSizeMaxByteStringLengthMaxArrayLength
BadContinuationPointInvalid during BrowseNext
BadContinuationPointInvalid during BrowseNext
- Reduce
browse-nodes-chunkandbrowse-chunkto complete browse operations faster within single sessions. - Set
max-parallelism: 1. - Set
ignore-continuation-points: truein the configuration to re-initiate browse queries when continuation points become invalid.
Bad or missing data
If the extractor is unable to retrieve data, skips variables, or receives data in the wrong format from the OPC UA server, try these solutions.No time series appear in CDF
No time series appear in CDF
- In UAExpert, confirm that variables appear as green labels.
- Try setting
extraction.data-types.allow-string-variablestotrue. - If time series are still missing, check their dimensions. By default, the extractor requires variables to be scalar or fixed-size 1D arrays. Try setting
extraction.data-types.unknown-as-scalartotrueif variables haveValueRankequal toAnyorOneOrMoreDimensions. - Verify that the variables are not excluded by filters or omitted root node configurations.
Time series are string-valued but should be numeric
Time series are string-valued but should be numeric
extraction.data-types.states.enabled to ingest both the numeric code and string label into a state time series. See Extracting state time series with the OPC UA extractor.Solution:- Set
extraction.data-types.auto-identify-typestotrue. - Set
extraction.data-types.null-as-numerictotrueto treat variables with nullDataTypeas numeric (only do this if you are certain none of these should be strings). If this is the case, either verify that the variables are not excluded by filters or omitted root node configurations, or contact the server administrator. Unknown data types aren’t supported by the extractor, except with this workaround.
Some metadata appears as time series
Some metadata appears as time series
extraction.transformations in the configuration file to explicitly select and remap specific variable nodes to metadata.Variables skipped due to ValueRank -2 and null ArrayDimensions
Variables skipped due to ValueRank -2 and null ArrayDimensions
extraction.data-types.unknown-as-scalar: true to treat dynamic or unspecified arrays as scalar values. You can also disable estimate-array-sizes to reduce startup evaluation overhead.BadUserAccessDenied or BadInvalidArgument during HistoryRead
BadUserAccessDenied or BadInvalidArgument during HistoryRead
- Disable
raw-node-bufferin the configuration file to force fresh node discovery. - Clean up stale historical state in the CDF staging area if needed.
State time series
If the extractor does not create state time series, fails to push state sets, omits string labels, or does not pick up state definition changes, try these solutions.State time series are not created
State time series are not created
- Verify that
extraction.data-types.states.enabledis set totruein the configuration file. - Confirm that the extractor writes to a data modeling project.
- Confirm that the service principal has
datamodelinstances:writefor the target space. - Confirm that the OPC UA variable matches a supported variable type. The extractor chooses multi-state, enumeration, or two-state discrete handling automatically during browse; there is no separate configuration for that choice.
- Confirm that the extractor is set up through Integrations (public preview).
- For enumeration variables, set
extraction.data-types.auto-identify-typestotrue. - Restart the extractor as described in Start the extractor so it rebrowses the node tree.
- If multi-state variables are still missing after restart, set
extraction.data-types.states.allow-non-standard-typestotrue. See thestatesconfiguration reference.
State sets fail to push to CDF
State sets fail to push to CDF
CogniteStateSet instances to CDF.Solution:
Search extractor logs for Failed to push state sets in CDF. See OPC UA extractor metrics for log configuration.A state time series is not created for an existing variable
A state time series is not created for an existing variable
enums-as-strings. Enabling extraction.data-types.states.enabled does not convert or delete that series. The extractor does not delete time series or data points.Solution:- Search extractor logs for
skipping creation of state timeseries. The existing time series is unchanged. - If you previously ingested the variable as a string time series and want state time series instead, delete the existing time series and reingest after you enable state time series ingestion. This avoids duplicate series for the same variable. Whether you migrate is optional.
More than 100 states on a variable at browse
More than 100 states on a variable at browse
CogniteStateSet or state time series. Search extractor logs for more than the 100 a CDF state set allows. See OPC UA extractor metrics for log configuration.A state time series stops updating after the state set grows past 100 states
A state time series stops updating after the state set grows past 100 states
has accumulated and more than the 100 a CDF state set allows. Reconcile the state definitions on the OPC UA server or plan ingestion without a state time series for that variable. See OPC UA extractor metrics for log configuration.Invalid state value warnings in logs
Invalid state value warnings in logs
BadOutOfRange and no value.Solution:- Search extractor logs for
Writing a bad state data point with no value,is not one of the, andstates its state set defines. See OPC UA extractor metrics for log configuration. - Verify that OPC UA state definitions on the server match the state set in CDF.
- If the definitions changed recently, restart the extractor or set
auto-rebrowse-periodto refresh state sets.
State sets are not updating
State sets are not updating
BadOutOfRange and have no value.Solution:
Restart the extractor as described in Start the extractor to trigger a rebrowse. Alternatively, set auto-rebrowse-period in the configuration file.FiniteStateMachineType nodes are not ingested
FiniteStateMachineType nodes are not ingested
FiniteStateMachineType is not a supported OPC UA state variable type.Solution:
Ingest multi-state variables (one state list per tag) or enumeration variables (one shared state list per type) instead. See Supported OPC UA state variables.