node-red-contrib-opcua
node-red-contrib-opcua copied to clipboard
OPC UA via VPN ReadMultiple Error
Hello Mika,
I am using your nodes (actions READMULTIPLE and WRITE ) to connect to an OPC UA server (Siemens Open Controller), which is in a different country via VPN. When the Open Controller was still in our factory we had no problems with the connection. Since it arrived at the customer the READMULTIPLE node is not working properly anymore (Ping of the connection is about 90ms).
After NR restart the nodes show almost every time the error "invalid endpoint", later they both connect. But while the WRITE node is working, the READMULTIPLE node shows the error
error: ["SessionX error at active reading: Transaction has timed out ( timeout = 15000 ms , request = ReadRequest)"]
At first data request READMULTIPLE node returns normally a msg with an empty payload property, and shows after the second data request the error above. Transport settings are also used (MaxChunk = 8, MaxMsgSize = 8192, Send/ReceiveBufferSize = 1024). The amount of data read is between 30 to 240 BYTE.
Do you have an idea what wents wrong, or what else I can test?
Attached see also the NodeRed Server Logs.
Greetings Tobias Serverlogs.log