Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

Node-Red Issue Installing patette

Node-Red Issue Installing patette

JeffMcMinn
New Poster
I had this error before, verifed my Time was set correctly,  i updated all my apps (Update all apps). The first power cycle i was able to install 3 pelette, after a few hours i tired to install another pelette and got the error again.
 
I haved tired installing this while connected and discounnted from the VPN (openVPN). I think my DHCP is set correctly as i can connect to the VPN and install apps.
 
-----------------------------------------------------------
2022-02-07T15:50:56.623Z Install : node-red-node-mysql 1.0.0

2022-02-07T15:50:50.113npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict node-red-node-mysql@1.0.0
2022-02-07T15:50:55.194Z [err] (node:15031) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
2022-02-07T15:50:55.194Z [err] (Use `node --trace-warnings ...` to show where the warning was created)
2022-02-07T15:51:05.290Z [err] npm
2022-02-07T15:51:05.291Z [err]  ERR! code EAI_AGAIN
2022-02-07T15:51:05.291Z [err] npm
2022-02-07T15:51:05.292Z [err]  ERR!
2022-02-07T15:51:05.292Z [err]  errno EAI_AGAIN
2022-02-07T15:51:05.358Z [err] npm 
2022-02-07T15:51:05.358Z [err] ERR! request to https://registry.npmjs.org/node-red-node-mysql failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org
2022-02-07T15:51:05.371Z [err] 
2022-02-07T15:51:05.371Z [err] npm ERR! A complete log of this run can be found in:
2022-02-07T15:51:05.371Z [err] npm ERR!
2022-02-07T15:51:05.372Z [err]      /root/snap/ctrlx-node-red/327/.npm/_logs/2022-02-07T15_51_05_361Z-debug.log
2022-02-07T15:51:05.403Z rc=1
4 REPLIES 4

MauroRiboniMX
Contributor

Hi, 

I had similar error and then i have discovered that my hour wasn't set correctly. 

Give that a look!

AllenHuang
New Poster

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

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.

Hello  CodeShepherd,

You are right, my internet access have problem.

Thanks.

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist