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
- 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).
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.