-
Notifications
You must be signed in to change notification settings - Fork 188
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
issue is still unresolved. #197
Comments
Strange as I have tested it has been working. Which server you are using? |
I uninstalled the old version and then installed the newer one. I can tell you that I can graduate up the versions up from 0.2.51 to a point where they break. I have tried 0.2.6?? but if I install a newer version say 0.2.7?? and then go back to 0.2.6?? it still is broke. I am at the working version of 0.2.51 which is using a different version of node-opcua. Kepware KepServer.V6 installed locally and the sample nodes installed on the server. I have node-red-contrib-opcua-iiot-opcua installed and it works no matter which version of node-red-contrib-opcua i install or uninstall. The problem with node-red-contrib-opcua-iiot-opcua is that is is deprecated. |
Both are using older node-opcua that is based on JavaScript (node-red-contrib-opcua and node-red-contrib-opcua-iiot). You have added new client to trusted clients? I didn´t have time during weekend, I will try to look next week with local KepServer. Takes some more time, I need admin rights to install KepServer. Sorry for the delay... |
@mikakaraila, |
Hello mikakaraila, I can confirm this issue. I have a similar constellation with a Windows server 2016, on which several instances of Node-Red (V1.0.3) and a Kepserver are running. I'm using node-red-contrib-iiot-opcua (V3.12.0) on one instance. Since this is unfortunately deprecated, I want to switch to node-red-contrib-opcua(V0.2.84). I didn't manage to connect to the Kepserver (Invalid Endpoint issue). Then i installed node-red-contrib-iiot-opcua in another instance on which node-red-contrib-iiot-opcua was not installed and the connection works straight away. So it looks to me as if the two packages are not compatible. |
You have same comments, but no debug log available? I have had problems to install KepServer. Now I have separated vmware to test it. |
Sorry, i have no debug log because on the productive system debugging is off and i cant't restart it so easy to turn it on ... |
You must have something wrong in your environment and I cannot help without any further information. |
Ist the package node-red-contrib-iiot-opcua (V3.12.0) installed and in use also at your Node-Red enviroment ? "Then i installed node-red-contrib-iiot-opcua in another instance on which node-red-contrib-iiot-opcua was not installed and the connection works straight away. So it looks to me as if the two packages are not compatible" |
If node-red-contrib-iiot-opcua is installed after node-red-contrib-opcua it can update some packages. Can you check this one? Instructions below: Verbose log actually does not help at all. set MAXARRAYLENGTH=1000 set NODEOPCUADEBUG=TRACE-REQUEST-RESPONSE-PERF-STATS node-red yourflow.json Then I can see what is really happening on client protocol level. |
@Tesla76 and @mikakaraila, Kindest Regards, |
Dear Mikakaraila, I would like to ask you, wheather there is any progres in thin issue - present still in version 0.2.87. I assume that the issue is associated with anonymous access. Unfortunately my server doesnt allow me to specify credentials, thus I have to use annonymous login, but the "invalid endpoint" error is received. Thanks in advance. |
I am not able to reproduce this "invalid endpoint" and as long as nobody gives me good debug log I cannot solve this. |
Can you check server endpoints? |
I made what you mentioned above to prepare the debug log. I made a mistake in myflow.json file name. All flows disapeared, thus I checked the functionality of OPC client and everything works. Maybe it deleted some configuration nodes. I retrieved the name of correct flow.json file and again it works as well. set MAXARRAYLENGTH=1000 Now I'am not able to reprouce the error again. Sory for my bad english. |
Look my comment on #202 Node-opcua checks server endpoint will match exactly. |
Problem Resolved! removed obsoleted above node(s). Upgraded all on my test system Node-RED, Node.js, and its working OK. Sorry it took so long. Holiday and work schedule... |
@mikakaraila,
I'm very sorry to inform you that the issue around connecting to a local OPC Server with NO SECURITY still does not work.
The error exists where it does not find the valid endpoint.
I am still having to use version 0.2.51 in order to connect to OPC servers using that version of node-opcua referenced by 0.2.51.
Kind Regards,
The text was updated successfully, but these errors were encountered: