FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
09-26-2024 03:21 PM
Hello,
since updating our "OPC UA Server" App from version 2.4.0 to 2.6.3 something went wrong with connecting to the OPC Server, e.g. from UA Expert.
Error-Message: Register for ModelChangeEvents failed: createMonitoredItems returned BadAttributeIdInvalid for item 0
Unfortunately it seems that this error has an impact to our MES.
So we try to analyze what has been changed or what has to be configured in addition? Is there a way to fix or configure it?
In the example below the OPC UA Server has been completely re-installed on the core. Even the configuration has been resetted.
Version 2.4.0
Version 2.6.x (tested with 2.6.1 as well as 2.6.2)
Thanks for your support,
Markus
09-27-2024 09:40 AM
Hello!
informed the developer colleagues, they will return to you.
Please confirm, that UA_Expert is able to browse with ctrl-OPCUA_Server 2.4 but not with 2.6 .
The message you added with "addressSpaceModel ... is listed in the UA_EXpert? Could you please tell the version you operate with for completeness.
Bye
09-27-2024 04:24 PM - edited 09-27-2024 04:25 PM
Hello @CodeWasi ,
we are able to browse the nodes with 2.4 as well as 2.6.x.
The only difference is the error message and the possibility that the UA Expert is not able to register to the ModelChangeEvents.
This message is listed in the UA Expert.
Normally this is not a big issue but in that case we got some troubles with the connection to our MES (toolkit).
That's why we want to understand where the different behaviour between 2.4 and 2.6.x comes from?
UA Expert is used in version 1.5.0.319
Regards Markus
a month ago
Hello @leonberger-m,
we can reproduce the issue. The problems comes with the new event feature supported by our OPC UA Server. Unfortunately, the error occurs if a OPC UA Client wants to subscribe to ModelChangeEvents on our Server. Currently we are working on bugfixing the issue.
The only know workaround currently is to ignoring the error or to not subscribe to ModelChangeEvents.
Best regards
smueller
a month ago
Hello @smueller ,
thank you for the information. Since we are not able to influence the way the MES is subscibing to the CtrlX OPC UA server we have downgraded the OPC UA server to version 2.4 until there is a bugfix provided. This workaround seems to work quite well, too.
best regards
Markus
2 weeks ago - last edited 2 weeks ago
Hello @smueller ,
any news on this issue? Is there already a planned fix for the problem?
Best regards
Markus
2 weeks ago
Hello,
the bugfix for the error, that occurs inside the UA-Expert, is included inside the next release 3.4.
It can be included into the next patch of the version 2.6 (scheduled for november) as well, if you are sure, that it will also solve the problem with you MES system.
Maybe you could send us a WireShark trace that contains the MES problem (with version 2.6) so we can be sure that we also have solve this problem.