Guys,
the situation is as follows: finally i have a time to play with NodeREd. I hooked my setup which is:
- RB Pi4 4GB running on SSD
- Pi is running IoTstack and all is in dockers
- Pi is connected to Tenda router with ethernet cable
- Tenda router receives internet with ethernet cable from my laptop (Ugreen usb3.0-ethernet adapter)
- my laptop taks internet over Wi-Fi is sharing it with Tenda router via Ugreen adapter
- when i connect to Tenda router adming page i can see the router has access to the internet so all the devices connected to Tenda router have access to the internet as well. Including RB Pi4
I'm accessing my RB Pi remotely over the network via ethernet cable (laptops ethernet socket connected with calbe to one of the Tenda router sockets). So opening Node Red, it's working, i can see data incoming via MQTT from my esp8266 device, Grafana trends are ok, updating. Looks nice. Then i wanted to install the following node:
node-red-contrib-telegrambot
using Pallette Manager. Ane here i'm stuck. This is the log:
-----------------------------------------------------------
2022-09-10T12:13:00.632Z Install : node-red-contrib-telegrambot 14.1.0
2022-09-10T12:13:26.877Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-telegrambot@14.1.0
-----------------------------------------------------------
2022-09-10T12:15:04.872Z Install : node-red-contrib-battery 1.0.1
2022-09-10T12:21:12.061Z [err] npm ERR! code ETIMEDOUT
2022-09-10T12:21:12.061Z [err] npm ERR! errno ETIMEDOUT
2022-09-10T12:21:12.061Z [err] npm ERR! network request to https://registry.npmjs.org/node-red-contrib-telegrambot failed, reason: connect ETIMEDOUT 104.16.22.35:443
2022-09-10T12:21:12.061Z [err] npm ERR!
2022-09-10T12:21:12.062Z [err] network This is a problem related to network connectivity.
2022-09-10T12:21:12.062Z [err] npm ERR! network In most cases you are behind a proxy or have bad network settings.
2022-09-10T12:21:12.062Z [err] npm ERR!
2022-09-10T12:21:12.062Z [err] network
2022-09-10T12:21:12.062Z [err] npm
2022-09-10T12:21:12.062Z [err] ERR! network
2022-09-10T12:21:12.062Z [err] If you are behind a proxy, please make sure that the
2022-09-10T12:21:12.062Z [err] npm
2022-09-10T12:21:12.062Z [err] ERR! network
2022-09-10T12:21:12.062Z [err] 'proxy' config is set properly. See: 'npm help config'
2022-09-10T12:21:12.076Z [err]
2022-09-10T12:21:12.077Z [err] npm ERR!
2022-09-10T12:21:12.077Z [err] A complete log of this run can be found in:
2022-09-10T12:21:12.077Z [err] npm
2022-09-10T12:21:12.077Z [err] ERR! /data/.npm/_logs/2022-09-10T12_21_12_065Z-debug.log
2022-09-10T12:21:12.112Z rc=1
-----------------------------------------------------------
Tried to install another node, the same result. How can i check if my RB has internet connection and if my NodeRed has it as well?
Thank you!