Closed Beetix closed 2 years ago
Hi,
There is a bug when using TLS. node and options variables are not defined in the addMsg function: https://github.com/IgnitionModuleDevelopmentCommunity/IgnitionNode-RED/blob/3a52c20d69b78f1b5f6e4847873258666cd74bb7/node-red-contrib-ignition/node-handlers.js#L194-L199 It's seems to be a copy/paste from startconn: https://github.com/IgnitionModuleDevelopmentCommunity/IgnitionNode-RED/blob/3a52c20d69b78f1b5f6e4847873258666cd74bb7/node-red-contrib-ignition/node-handlers.js#L395-L405 Removing lines 194-199 in node-handlers.js fixes the problem. If I understand correctly this code is useful when using a proxy, right?
node
options
addMsg
startconn
Thanks
That was a copy paste issue. I have released a new version with the fix.
Great! Thank you for fixing that so quickly!
Hi,
There is a bug when using TLS.
node
andoptions
variables are not defined in theaddMsg
function: https://github.com/IgnitionModuleDevelopmentCommunity/IgnitionNode-RED/blob/3a52c20d69b78f1b5f6e4847873258666cd74bb7/node-red-contrib-ignition/node-handlers.js#L194-L199 It's seems to be a copy/paste fromstartconn
: https://github.com/IgnitionModuleDevelopmentCommunity/IgnitionNode-RED/blob/3a52c20d69b78f1b5f6e4847873258666cd74bb7/node-red-contrib-ignition/node-handlers.js#L395-L405 Removing lines 194-199 in node-handlers.js fixes the problem. If I understand correctly this code is useful when using a proxy, right?Thanks