( ) bug report => please search GitHub for a similar issue or PR before submitting
( x ) unexpected behaviour => please visit the Wiki before
Information
Current behaviour
I am using the new Flex Connector with the following payload to dynamically use the IP address of a specific OPCUA gateway:
But after triggering the connection the Node-red application always crashes with the following error message:
TypeError: Cannot read property 'toString' of undefined
at /Users/de164582/.node-red/node_modules/node-opcua-client/src/client_base.js:246:51
at /Users/de164582/.node-red/node_modules/node-opcua-client/node_modules/async/dist/async.js:3888:9
at /Users/de164582/.node-red/node_modules/node-opcua-client/node_modules/async/dist/async.js:473:16
at replenish (/Users/de164582/.node-red/node_modules/node-opcua-client/node_modules/async/dist/async.js:1006:25)
at iterateeCallback (/Users/de164582/.node-red/node_modules/node-opcua-client/node_modules/async/dist/async.js:995:17)
at /Users/de164582/.node-red/node_modules/node-opcua-client/node_modules/async/dist/async.js:969:16
at Immediate._onImmediate (/Users/de164582/.node-red/node_modules/node-opcua-client/node_modules/async/dist/async.js:3885:13)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
I also tried to put the parameters into the msg object (not payload) because it is not precisely documented in the node-red node description. But it didn't work neither.
Expected behaviour
I expect the gateway to be connected after the Flex Connector node received the payload shown above.
Minimal reproduction of the problem with instructions
Flex Connector
Fill the payload with a function and the following content:
Problem
Information
Current behaviour
I am using the new Flex Connector with the following payload to dynamically use the IP address of a specific OPCUA gateway:
But after triggering the connection the Node-red application always crashes with the following error message:
I also tried to put the parameters into the msg object (not payload) because it is not precisely documented in the node-red node description. But it didn't work neither.
Expected behaviour I expect the gateway to be connected after the Flex Connector node received the payload shown above.
Minimal reproduction of the problem with instructions
Your Environment
Please tell us about your environment:
Device :
Node-RED version: v0.19.4
node-red-contrib-iiot-opcua version: `` v13.10.2
Node: (min. 8.x)
node --version
= v8.15.0