FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
02-07-2022 05:30 PM
Solved! Go to Solution.
02-08-2022 10:52 AM
Hi,
I had similar error and then i have discovered that my hour wasn't set correctly.
Give that a look!
02-24-2022 12:56 AM
Hello,
I have same issue, when using VPN or home network got the same error message:
-----------------------------------------------------------
2022-02-23T23:30:34.547Z Install : node-red-contrib-opcua 0.2.258
2022-02-23T23:30:33.951Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-opcua@0.2.258
2022-02-23T23:30:36.397Z [err] (node:3064) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
2022-02-23T23:30:36.397Z [err] (Use `node --trace-warnings ...` to show where the warning was created)
2022-02-23T23:31:46.510Z [err] npm ERR! code ECONNREFUSED
2022-02-23T23:31:46.510Z [err] npm ERR! errno ECONNREFUSED
2022-02-23T23:31:46.527Z [err] npm ERR! FetchError: request to https://registry.npmjs.org/node-red-contrib-opcua failed, reason: connect ECONNREFUSED 127.0.0.1:808
2022-02-23T23:31:46.527Z [err] npm ERR! at ClientRequest.<anonymous> (/snap/ctrlx-node-red/110/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14)
2022-02-23T23:31:46.527Z [err] npm
2022-02-23T23:31:46.527Z [err] ERR! at ClientRequest.emit (events.js:375:28)
2022-02-23T23:31:46.527Z [err] npm ERR! at onerror (/snap/ctrlx-node-red/110/lib/node_modules/npm/node_modules/agent-base/index.js:101:9)
2022-02-23T23:31:46.527Z [err] npm ERR! at callbackError (/snap/ctrlx-node-red/110/lib/node_modules/npm/node_modules/agent-base/index.js:123:5)
2022-02-23T23:31:46.527Z [err] npm ERR! at processTicksAndRejections (internal/process/task_queues.js:95:5)
2022-02-23T23:31:46.527Z [err] npm
2022-02-23T23:31:46.527Z [err] ERR! FetchError: request to https://registry.npmjs.org/node-red-contrib-opcua failed, reason: connect ECONNREFUSED 127.0.0.1:808
2022-02-23T23:31:46.527Z [err] npm ERR! at ClientRequest.<anonymous> (/snap/ctrlx-node-red/110/lib/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14)
2022-02-23T23:31:46.527Z [err] npm ERR! at ClientRequest.emit (events.js:375:28)
2022-02-23T23:31:46.527Z [err] npm ERR! at onerror (/snap/ctrlx-node-red/110/lib/node_modules/npm/node_modules/agent-base/index.js:101:9)
2022-02-23T23:31:46.527Z [err] npm ERR! at callbackError (/snap/ctrlx-node-red/110/lib/node_modules/npm/node_modules/agent-base/index.js:123:5)
2022-02-23T23:31:46.527Z [err] npm ERR! at processTicksAndRejections (internal/process/task_queues.js:95:5) {
2022-02-23T23:31:46.527Z [err] npm ERR! type: 'system',
2022-02-23T23:31:46.527Z [err] npm
2022-02-23T23:31:46.528Z [err] ERR! errno: 'ECONNREFUSED',
2022-02-23T23:31:46.528Z [err] npm ERR! code: 'ECONNREFUSED'
2022-02-23T23:31:46.528Z [err] npm ERR! }
2022-02-23T23:31:46.528Z [err] npm
2022-02-23T23:31:46.528Z [err] ERR!
2022-02-23T23:31:46.528Z [err] npm ERR! If you are behind a proxy, please make sure that the
2022-02-23T23:31:46.528Z [err] npm ERR! 'proxy' config is set properly. See: 'npm help config'
2022-02-23T23:31:46.541Z [err]
2022-02-23T23:31:46.541Z [err] npm ERR! A complete log of this run can be found in:
2022-02-23T23:31:46.541Z [err] npm ERR! /root/snap/ctrlx-node-red/110/.npm/_logs/2022-02-23T23_31_46_530Z-debug.log
2022-02-23T23:31:46.553Z rc=1
02-24-2022 10:03 AM
There was already some discussion about this topic in this thread.
To sum it up, your control has to have access to the internet. Please have a look in this blog post with further how to information.
02-25-2022 04:14 AM
Hello CodeShepherd,
You are right, my internet access have problem.
Thanks.