jackybek
jackybek
I found the error is caused by an non-matching ConnectionId that is passed into sendNetworkMessageBuffer(). This is the call train: UA_WriterGroup_publishCallback() calls sendNetworkMessage() sendNetworkMessage() calls sendNetworkMessageJson() sendNetworkMessageJson() calls sendNetworkMessageBuffer() sendNetworkMessageBuffer()...
So to summarize, there are 2 issues: 1. MetaData is not set properly for the 2nd and subsequent fields 2. pubsubconnectionId is not transferred from my program to ua_pubsub_writergroup.c
i forgot to add that despite the above error encountered i.e. Sending NetworkMessage failed, the system still goes into operational state: ~~~ [2025-11-25 17:12:45.728 (UTC+0800)] error/pubsub WriterGroup ns=1;i=55251 | Sending...
i did a test as follows: 1. generate a new cert 2. load into matrikon opcua explorer 3. configure for reverse connect 4. initiate a reverse connect. i can now...