Skip to content
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

I can't install on Siemens IOT2040 ([email protected]) #11

Open
elyancorrea opened this issue Apr 7, 2020 · 14 comments
Open

I can't install on Siemens IOT2040 ([email protected]) #11

elyancorrea opened this issue Apr 7, 2020 · 14 comments

Comments

@elyancorrea
Copy link

elyancorrea commented Apr 7, 2020

When I tried to install via Pallete Manager got this error:


2020-04-07T14:22:37.004Z Install : node-red-contrib-opc-da 1.0.3

2020-04-07T14:22:38.103Z npm install --no-audit --no-update-notifier --save --save-prefix="~" --production [email protected]
2020-04-07T14:26:32.116Z [err] npm
2020-04-07T14:26:32.134Z [err] ERR! code ETARGET
2020-04-07T14:26:32.204Z [err] npm
2020-04-07T14:26:32.209Z [err]
2020-04-07T14:26:32.219Z [err] ERR! notarget No matching version found for [email protected]
2020-04-07T14:26:32.219Z [err] npm ERR!
2020-04-07T14:26:32.223Z [err]
2020-04-07T14:26:32.226Z [err] notarget
2020-04-07T14:26:32.239Z [err] In most cases you or one of your dependencies are requesting
2020-04-07T14:26:32.239Z [err] npm ERR! notarget a package version that doesn't exist.
2020-04-07T14:26:32.428Z [err]
2020-04-07T14:26:32.439Z [err] npm ERR! A complete log of this run can be found in:
2020-04-07T14:26:32.439Z [err] npm
2020-04-07T14:26:32.442Z [err] ERR!
2020-04-07T14:26:32.445Z [err] /home/root/.npm/_logs/2020-04-07T14_26_32_321Z-debug.log
2020-04-07T14:26:32.576Z rc=1

System:
Node-red Version: @1.0.4
Device: Simatic IOT2040
SO Image: 2.6.0

There's any way to install/run this package on my device?

@gfcittolin
Copy link
Member

Hi, this error is not related to this node, but instead to [email protected] that is not available. Please try a clean install, and let us know if the problem persists

@elyancorrea
Copy link
Author

Thankou @gfcittolin,

I followed this step on: https://support.industry.siemens.com/tf/ww/en/posts/problem-adding-nodes-to-node-red-with-v2-6-0-image/229076/?page=0&pageSize=10
After this, I can install OPC-DA module normally.

However, when I try to "Test and get items" still getting a message:
"No response from Node-RED runtime"
You know if is a problem from my install? There is a way to test opc-da module?

@steuck13
Copy link
Contributor

steuck13 commented Apr 7, 2020

Greetings
Could you post your Node-RED log?
Thx

@elyancorrea
Copy link
Author

elyancorrea commented Apr 7, 2020

@gfcittolin and @steuck13
I did a fresh install of my image on Siemens IOT2040 and installed node-red-contrib-opc-da, no problems until now.

When I attempt to connect do OPC server, got this error:

4/7/2020, 6:07:38 PM
msg : string[45]
"Disconnected from the server - Unknown error!"

@elyancorrea
Copy link
Author

elyancorrea commented Apr 7, 2020

@gfcittolin @gfcittolin
I did a fresh install of node-red + node-red-contrib-opc-da on raspberry pi running raspian and got same error. I realized that my computer runninc OPC Server is not in a domain, just in the "workgroup", does it affect behavior of node module? What is the requirements from OPC Server computer to work with this node module? OPC Server PC need to belongs a domain? Thanks for the reply.

@gfcittolin
Copy link
Member

gfcittolin commented Apr 8, 2020

No, you should be able to connect to it even if it's not part of a domain. What is the server type / OS you're trying to connect to? Speaking of Windows, you'll probably have to setup your system so that it allows external OPC access to it

@gfcittolin gfcittolin reopened this Apr 8, 2020
@elyancorrea
Copy link
Author

elyancorrea commented Apr 8, 2020

@gfcittolin
OPC Server is running on my laptop: Windows 10 Pro (no domain) Version 1909 Build 18363.752 - Static IP - MatrikonOPC Server for Simulation;
If I don't have domain, workgroup is compatible? I can't leave blank.
Where I can find a log for connection issues?
You recommend any setup to allow external access?

@steuck13
Copy link
Contributor

steuck13 commented Apr 8, 2020

Greetings
Currently we have a few issues on W7 and W10 environments. Fixing those is in our roadmap but for now we really don't have an alternative since we are still trying to figure out what is happening.
Thank your for your feedback.

@elyancorrea
Copy link
Author

Greetings
Currently we have a few issues on W7 and W10 environments. Fixing those is in our roadmap but for now we really don't have an alternative since we are still trying to figure out what is happening.
Thank your for your feedback.

Thank you for your reply.
Which setup are you running your server on now? so I will set up a similar server here. After this I can help you to improve documentation.
Congratulations for your work.

@steuck13
Copy link
Contributor

steuck13 commented Apr 8, 2020

Sure, currently we got testing machines running NT4.0 and XP SP3.

Your help is more than welcome
Ty

@elyancorrea
Copy link
Author

Sure, currently we got testing machines running NT4.0 and XP SP3.

Your help is more than welcome
Ty

I'll test on this OS versions.
Ty

@elyancorrea
Copy link
Author

elyancorrea commented Apr 9, 2020

Greetings @steuck13 and @gfcittolin
I've done a WINXP laptop run Iconic Simulator as a OPC Server, now I got this message when I try to connect:

image

I've double checked my ip, user and password, I don't have domain, so I typed "WORKGROUP". There's any idea? I should change any administrative settings on laptop to give access? User is admin.

Ty for your help.
*P.S: Timeout is 1000ms cause i was testing, however behave is same with greater values.

@steuck13
Copy link
Contributor

Greetings
Did you configured your system's DCOM to work with authenticated users? Here you can see how to do a setup for 'everyone' but the procedure is the same for authenticated users.

[]'s

@elyancorrea
Copy link
Author

Hello @steuck13
I was unaware of this setup, I will do it later and inform the result.

Ty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants