Azure IoT Operations OPC-UA Connection issue: BadEncodingLimitExceeded

Florian Stein 0 Reputation points
2024-11-30T18:58:19.1433333+00:00

Hello,

I have some issues when trying to connect to the OPC-UA Server. I get an BadEncodingLimitExceeded Error:

[opcuabroker@311 exception="Opc. Ua. ServiceResultException: BadEncodingLimitsExceeded\Oa at OpcUa.Common.Client.Op

cUaClientFactory.CreateConnectedClientAsync(String sessionkey, OpcUaConnectionOptions opcUaConnectionOptions, ClientApplicationConfiguration opcUaClientConfiguration, Configured

§Endpoint endpoint, Func'4 persistSyncParameters, CancellationToken cancellationToken) \Oa at OpcUa.Connector.BusinessLogic.OpcUaConnectorLogic.GetOrCreateOpcUaClientAsync(Strin

tg sessionkey, String endpointProfileName, Nullable'1 significance, CancellationToken ct)"] - Error while establishing connection to the OPC UA server

My Endpoint Configuration looks like this:

apiVersion: deviceregistry.microsoft.com/v1

kind: AssetEndpointProfile

metadata:

name: demotisch-aep

namespace: azure-iot-operations

resourceVersion: "51852949"

uid: 509c5400-105f-42cd-ala0-7a6874b8fe46

spec:|

additionalConfiguration: |-

"applicationName": "opc-ua-connector-demotisch",

"defaults": {

"publishingIntervalMilliseconds": 1000,

"samplingIntervalMilliseconds": 500,

"queueSize": 1

},

"session": {

"timeout": 60000

},

"subscription":{

"maxItems": 1000

},

"security":{

"autoAcceptUntrustedServerCertificates": true

},

"securityMode": "None",

"securityPolicy": "http://opcfoundation.org/UA/SecurityPolicy#None"

}

authentication:

method: UsernamePassword

usernamePasswordCredentials:

passwordSecretName: demo/password

usernameSecretName: demo/username

endpointProfile

Type: Microsoft.OpcUa

targetAddress: opc.tco://XXXX

uuid: opc-ua-connector-demo

I am using the newest version of Azure IoT Operations. Does someone know the issue, or has a hint on how to solve it?

Best Regards,

Florian

Azure IoT Operations
Azure IoT Operations
Azure IoT Operations is a set of modular services enabled by Azure Arc.
34 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.