Trusted node list does not work

Hey!

I restarted my node and can’t connect to the network anymore. All trusted nodes seem to not accept connections even if are marked as ‘healthy’ in adapools.org

Feb 21 20:50:27.602 WARN failed to retrieve the list of bootstrap peers from trusted peer, reason: peers not available broken, peer_addr: 18.177.78.96:3000, task: bootstrap
Feb 21 20:50:27.603 INFO connecting to bootstrap peer 18.177.78.96:3000, peer_addr: 18.177.78.96:3000, task: bootstrap
Feb 21 20:50:27.603 WARN failed to retrieve the list of bootstrap peers from trusted peer, reason: peers not available broken, peer_addr: 18.177.78.96:3000, task: bootstrap
Feb 21 20:50:27.603 INFO connecting to bootstrap peer 18.177.78.96:3000, peer_addr: 18.177.78.96:3000, task: bootstrap
Feb 21 20:50:27.873 WARN initial bootstrap failed, error: PullRequestFailed { source: Error { code: Unknown, source: Status { code: Unknown, message: "connection error: broken pipe" } } }, peer_addr: 18.177.78.96:3000, task: bootstrap
Feb 21 20:50:27.873 INFO getting peers from bootstrap peer 13.112.181.42:3000, peer_addr: 13.112.181.42:3000, task: bootstrap
Feb 21 20:50:27.873 WARN initial bootstrap failed, error: PullRequestFailed { source: Error { code: Unknown, source: Status { code: Unknown, message: "connection error: broken pipe" } } }, peer_addr: 18.177.78.96:3000, task: bootstrap
Feb 21 20:50:27.873 INFO getting peers from bootstrap peer 13.112.181.42:3000, peer_addr: 13.112.181.42:3000, task: bootstrap
Feb 21 20:50:28.150 WARN failed to retrieve the list of bootstrap peers from trusted peer, reason: peers not available broken, peer_addr: 13.112.181.42:3000, task: bootstrap
Feb 21 20:50:28.150 INFO connecting to bootstrap peer 13.112.181.42:3000, peer_addr: 13.112.181.42:3000, task: bootstrap
Feb 21 20:50:28.150 WARN failed to retrieve the list of bootstrap peers from trusted peer, reason: peers not available broken, peer_addr: 13.112.181.42:3000, task: bootstrap
Feb 21 20:50:28.150 INFO connecting to bootstrap peer 13.112.181.42:3000, peer_addr: 13.112.181.42:3000, task: bootstrap
Feb 21 20:50:28.415 WARN initial bootstrap failed, error: PullRequestFailed { source: Error { code: Unknown, source: Status { code: Unknown, message: "connection error: broken pipe" } } }, peer_addr: 13.112.181.42:3000, task: bootstrap
Feb 21 20:50:28.415 INFO getting peers from bootstrap peer 18.182.115.51:3000, peer_addr: 18.182.115.51:3000, task: bootstrap
Feb 21 20:50:28.416 WARN initial bootstrap failed, error: PullRequestFailed { source: Error { code: Unknown, source: Status { code: Unknown, message: "connection error: broken pipe" } } }, peer_addr: 13.112.181.42:3000, task: bootstrap
Feb 21 20:50:28.416 INFO getting peers from bootstrap peer 18.182.115.51:3000, peer_addr: 18.182.115.51:3000, task: bootstrap
Feb 21 20:50:28.679 WARN failed to retrieve the list of bootstrap peers from trusted peer, reason: peers not available broken, peer_addr: 18.182.115.51:3000, task: bootstrap
Feb 21 20:50:28.679 INFO connecting to bootstrap peer 18.182.115.51:3000, peer_addr: 18.182.115.51:3000, task: bootstrap
Feb 21 20:50:28.679 WARN failed to retrieve the list of bootstrap peers from trusted peer, reason: peers not available broken, peer_addr: 18.182.115.51:3000, task: bootstrap
Feb 21 20:50:28.679 INFO connecting to bootstrap peer 18.182.115.51:3000, peer_addr: 18.182.115.51:3000, task: bootstrap
Feb 21 20:50:28.936 WARN initial bootstrap failed, error: PullRequestFailed { source: Error { code: Unknown, source: Status { code: Unknown, message: "connection error: broken pipe" } } }, peer_addr: 18.182.115.51:3000, task: bootstrap
Feb 21 20:50:28.936 INFO getting peers from bootstrap peer 13.114.196.228:3000, peer_addr: 13.114.196.228:3000, task: bootstrap
Feb 21 20:50:28.937 WARN initial bootstrap failed, error: PullRequestFailed { source: Error { code: Unknown, source: Status { code: Unknown, message: "connection error: broken pipe" } } }, peer_addr: 18.182.115.51:3000, task: bootstrap
Feb 21 20:50:28.937 INFO getting peers from bootstrap peer 13.114.196.228:3000, peer_addr: 13.114.196.228:3000, task: bootstrap
Feb 21 20:50:29.197 WARN failed to retrieve the list of bootstrap peers from trusted peer, reason: peers not available broken, peer_addr: 13.114.196.228:3000, task: bootstrap
Feb 21 20:50:29.197 INFO connecting to bootstrap peer 13.114.196.228:3000, peer_addr: 13.114.196.228:3000, task: bootstrap
Feb 21 20:50:29.197 WARN failed to retrieve the list of bootstrap peers from trusted peer, reason: peers not available broken, peer_addr: 13.114.196.228:3000, task: bootstrap
Feb 21 20:50:29.197 INFO connecting to bootstrap peer 13.114.196.228:3000, peer_addr: 13.114.196.228:3000, task: bootstrap
Feb 21 20:50:29.472 WARN initial bootstrap failed, error: PullRequestFailed { source: Error { code: Unknown, source: Status { code: Unknown, message: "connection error: broken pipe" } } }, peer_addr: 13.114.196.228:3000, task: bootstrap
Feb 21 20:50:29.472 INFO getting peers from bootstrap peer 3.125.75.156:3000, peer_addr: 3.125.75.156:3000, task: bootstrap
Feb 21 20:50:29.472 WARN initial bootstrap failed, error: PullRequestFailed { source: Error { code: Unknown, source: Status { code: Unknown, message: "connection error: broken pipe" } } }, peer_addr: 13.114.196.228:3000, task: bootstrap

Can you share your node ip:port/id I can connect to?

Anyway, I think that trusted peers list should be longer and more dynamic so nodes can connect/bootstrap quickly. Our network should be stable as a rock for running and bootstrapping nodes.

Thanks!

This works for me (with version: jormungandr 0.8.11-241e01e):

"trusted_peers": [
  {
    "address": "/ip4/3.124.116.145/tcp/3000",
    "id": "99cb10f53185fbef110472d45a36082905ee12df8a049b74"
  },
  {
    "address": "/ip4/52.9.132.248/tcp/3000",
    "id": "671a9e7a5c739532668511bea823f0f5c5557c99b813456c"
  },
  {
    "address": "/ip4/13.112.181.42/tcp/3000",
    "id": "52762c49a84699d43c96fdfe6de18079fb2512077d6aa5bc"
  },
  {
    "address": "/ip4/18.184.35.137/tcp/3000",
    "id": "06aa98b0ab6589f464d08911717115ef354161f0dc727858"
  },
  {
    "address": "/ip4/18.182.115.51/tcp/3000",
    "id": "8529e334a39a5b6033b698be2040b1089d8f67e0102e2575"
  },
  {
    "address": "/ip4/3.115.154.161/tcp/3000",
    "id": "35bead7d45b3b8bda5e74aa12126d871069e7617b7f4fe62"
  },
  {
    "address": "/ip4/18.177.78.96/tcp/3000",
    "id": "fc89bff08ec4e054b4f03106f5312834abdf2fcb444610e9"
  },
  {
    "address": "/ip4/52.28.91.178/tcp/3000",
    "id": "23b3ca09c644fe8098f64c24d75d9f79c8e058642e63a28c"
  },
  {
    "address": "/ip4/54.183.149.167/tcp/3000",
    "id": "df02383863ae5e14fea5d51a092585da34e689a73f704613"
  }
]
1 Like

@Tuan_Lam Thank you. It took 12 hours to bootstrap from the official ones finally.

I’m using the peers list above with this setup:
Starting jormungandr 0.8.12 (master-ce6d218d, release, linux [x86_64]) - [rustc 1.41.0 (5e1a79984 2020-01-27)]

I built the latest code from source.

I just keep getting this the following error:

Feb 25 20:37:12.014 INFO pulling blocks starting from checkpoints: Checkpoints([Hash(Blake2b256(0x43ec5058c7e3108defb9288a7e971ec802323c44f4bec0115ed9bb58e3e5666e)), Hash(Blake2b256(0x0000000000000000000000000000000000000000000000000000000000000000))]), peer_addr: 146.0.32.222:3100, task: bootstrap
Feb 25 20:37:30.036 WARN initial bootstrap failed, error: BlockMissingParent(Hash(Blake2b256(0x8e4d2a343f3dcf9330ad9035b3e8d168e6728904262f2c434a4f8f934ec7b676))), peer_addr: 146.0.32.222:3100, task: bootstrap

Any ideas? I just can’t seem to start a node. :frowning:

Same here, but keep it on, hopefully it will catch up after several hours :frowning:

It bootstraped here, 25 minutes-ish :slight_smile:

CLI version: jcli 0.8.12
NODE version: jormungandr 0.8.12
block-0 hash: e2b1dc6e8d22a09fcec30da2bc4b88dacd759e37c69dce5f847eda8cad9760ae

Well this is the first time I’ve ever tried, so not entirely sure what’s normal.:slight_smile:

Sometimes it is hard but they are doing very good work and node/network is getting better and better with new releases :slight_smile:

Well fingers crossed :slight_smile:

Change config.yaml, add this at the end of file:

“http_fetch_block0_service”:
[
https://github.com/input-output-hk/jormungandr-block0/raw/master/data/”],
“skip_bootstrap”: false,
“bootstrap_from_trusted_peers”: false

1 Like