Node-Red Issue Installing patette

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
Best reply by CodeShepherd

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.

View original
4 replies