BiancoRoyal / node-red-contrib-iiot-opcua

deprecated - very new developed by PLUS for Node-RED - https://plus4nodered.com
https://www.npmjs.com/package/node-red-contrib-iiot-opcua
BSD 3-Clause "New" or "Revised" License
34 stars 8 forks source link

After upgrade to 2.5.2 when adding a new connector error `TypeError: Connector invalid` occurs #48

Closed w4tsn closed 6 years ago

w4tsn commented 6 years ago

I'm submitting a ... (check one with "x")

Problem

  1. Setup node-red
  2. Install node-red-contrib-iiot-opcua@2.5.2
  3. Create a server node (e.g. on port 55380)
  4. Create a read-node
  5. Create a new connector (eg. on port 55380)

It should fail to connect with the above error.

I replicated this behaviour on my live-system as well as a fresh docker node image.

Notes

After playing around with the error I got a work-around by removing the pre-set parameters within the strategy tab. This work-around works on both normal and docker setup.

Your Environment

Please tell us about your environment:

biancode commented 6 years ago

grafik

that default should work - right?

biancode commented 6 years ago

grafik

that is default from the lib

biancode commented 6 years ago

How does it work for you? What are the parameters to get it work again?

w4tsn commented 6 years ago

Oddly it works when removing the defaults in the strategy tab. I noticed that the old working connectors have no values set in the tab, the new ones have. Removing these pre-set values makes the new ones work.

Maybe the max delay of 10000 is to low?

biancode commented 6 years ago

fixed with v2.6.0 - reopen if problem is not solved, please