when connecting to the machine, I get this error: [NODE-OPCUA-E07] message size 108 exceeds the negotiated message size 0 nb chunks 1

I setup the connection this way

const connectionStrategy = {
     initialDelay: 1000,
     maxRetry: 1
}

const client = OPCUAClient.create({
     connectionStrategy: connectionStrategy,
     endpointMustExist: false,
});

Are there any parameters to configure?

Thanks for help

1

There are 1 best solutions below

0
On

Try to alter the transport settings like this:

const client = OPCUAClient.create({
     connectionStrategy: connectionStrategy,
     endpointMustExist: false,
     transportSettings: {
            maxChunkCount: 20,
            maxMessageSize: 8 * 8192, 
            receiveBufferSize: 8 * 1024,
            sendBufferSize: 8 * 1024
        });