Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[milo-dev] Possible cause of Bad_TcpMessageTooLarge

Hi!

  I'm using the ManagedSubscription API to set up about 50000 monitored items. The creation of monitored items are chunked up in smaller sublists of NodeID before looping through creation. The subscription is done against a NodeOpcUa.


...in the loop of sublists my code looks like:

subscription.createDataItems(sublist, (item)->{
    if (item.getStatusCode().isGood()) {
        item.addDataValueListener((value)->{
            //Do something with item and value
        });
    }
});


So even if I don't do anything with the monitored item in the callback,

after a while (upto 1h) I get a UaException: status=Bad_TcpMessageTooLarge, message=message size exceeds configured limit: 3789570 > 2097152?


What is the most probable cause of this error?


,regards

Thomas



Back to the top