[telegram] <Sara> Hi there! Are you using Iroha 1 or Iroha 2? Generally, what versions are you using, so I could get you the best help (re @exru: HI all! What is an error?
Error: please check IP address OR your internet connection.
at Timeout._onTimeout (/var/www/nhterminal/node_modules/iroha-helpers/lib/queries/index.js:36:20)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7))
[telegram] <exru> ! (re @exru: HI all! What is an error?
Error: please check IP address OR your internet connection.
at Timeout._onTimeout (/var/www/nhterminal/node_modules/iroha-helpers/lib/queries/index.js:36:20)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7))
[telegram] <Bogdan> Please elaborate on your scenario, what are doing specifically? (re @exru: HI all! What is an error?
Error: please check IP address OR your internet connection.
at Timeout._onTimeout (/var/www/nhterminal/node_modules/iroha-helpers/lib/queries/index.js:36:20)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7))
[telegram] <Sara> Hi! So, they checked the error - it is definitely a connection error, it's set up here in the code of the library (re @exru: According to error logs the problem lays in /lib/queries/index.js:36:20
at Timeout._onTimeout (/var/www/nhterminal/node_modules/iroha-helpers/lib/queries/index.js:36:20)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7))
[telegram] <exru> I've used next code:
npm install is-port-reachable
import isPortReachable from 'is-port-reachable';
result is true (re @Alexander: 1. check port redirection if client and iroha on different VM or in container
[telegram] <exru> exru@524889-cu15907:~$ telnet 127.0.0.1 50051
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
connected too (re @Alexander: 1. check port redirection if client and iroha on different VM or in container
[telegram] <exru> According https://iroha.readthedocs.io/en/main/develop/libraries/javascript.html
I start my script from console node script.mjs
=========
But still:
import isPortReachable from 'is-port-reachable';
console.log(await isPortReachable(50051, {host: 'localhost'})); // ok
[telegram] <exru> But still:
import isPortReachable from 'is-port-reachable';
console.log(await isPortReachable(50051, {host: 'localhost'})); // ok (re @exru: According https://iroha.readthedocs.io/en/main/develop/libraries/javascript.html
Maby error is in here? How I would to start the script?)
[telegram] <Sara> Forwarded from Hyperledger Iroha news: 👀 Very late reminder: community meeting in 10 minutes!
Just enough time to grab a cuppa and join us for Iroha updates: https://zoom.us/my/hyperledger.community.3
Password: 475869
[telegram] <Sara> Forwarded from Hyperledger Iroha news: By the way, if you haven't read it yet, Iroha Team wrote a blogpost about Iroha 2 for Hyperledger: https://www.hyperledger.org/blog/2022/05/19/new-long-term-support-version-of-hyperledger-iroha-creates-on-ramp-for-v2-adoption
Take a look to learn more about why and how we are creating Iroha 2!