以太坊swarm bee节点0.53版本新建节点用自定义节点握手启动

由于官方的升级0.60版本bug,导致0.53全新搭建的节点无法与启动节点握手连接,频繁提示启动节点问题。

DEBU[2021-05-30T06:55:20Z] connect fail /ip4/54.210.29.30/tcp/31308/p2p/16Uiu2HAmRHY7h1cdpmB6S48MGfwecG3kfhLT9cXpE8SokS9o1Cck: connect new stream: incompatible stream: protocol not supported
WARN[2021-05-30T06:55:20Z] connect to bootnode /ip4/54.210.29.30/tcp/31308/p2p/16Uiu2HAmRHY7h1cdpmB6S48MGfwecG3kfhLT9cXpE8SokS9o1Cck
DEBU[2021-05-30T06:55:20Z] discover fail /dnsaddr/bootnode.ethswarm.org: discover /dnsaddr/swarm-3.bootnode.ethswarm.org: discover /dnsaddr/bee-8.bootnode.ethswarm.org: discover /ip4/54.210.29.30/tcp/31308/p2p/16Uiu2HAmRHY7h1cdpmB6S48MGfwecG3kfhLT9cXpE8SokS9o1Cck: connect new stream: incompatible stream: protocol not supported
WARN[2021-05-30T06:55:20Z] discover to bootnode /dnsaddr/bootnode.ethswarm.org

以太坊swarm bee节点0.53版本新建节点用自定义节点握手启动

那么,这个时候,可以指定一个已经正常在跑的节点,找到他的ip4节点地址,在启动的时候指定节点启动。

linux:

  • curl localhost:1635/addresses | jq

查出正在正常跑的节点地址

以太坊swarm bee节点0.53版本新建节点用自定义节点握手启动

复制这段地址,把里面的内网IP,更换为该节点的公网ip,在启动参数中指定:

bee start –verbosity 5 –swap-endpoint https://你申请的swap地址 –debug-api-enable –clef-signer-enable –clef-signer-endpoint /var/lib/bee-clef/clef.ipc –bootnode /ip4/172.96.203.143/tcp/1640/p2p/16Uiu2HAmQXEfeDoBm4eTFSYJcQ8BBCJzccxSvjAyY3XaiHtYrHEp

以太坊swarm bee节点0.53版本新建节点用自定义节点握手启动

windows:

直接新开一个cmd窗口,执行curl命令,连接节点:

curl -X POST localhost:1635/connect/ip4/172.16.16.4/tcp/1634/p2p/16Uiu2HAmFADD3y5CuCkGaYhPAqCLr4s5wxWvMJgDq81iidde3pcq
curl -X POST localhost:1635/connect/ip4/172.105.208.202/tcp/1634/p2p/16Uiu2HAmVQdBWSS11s3m3PtGVi92Ts2m7UvxnJmVLJQVdfaxu63z
curl -X POST localhost:1635/connect/ip4/66.181.45.134/tcp/50254/p2p/16Uiu2HAkzyGEtXiqx77A4JJ1hA5ojsCfRD5XPM2jWNsTiiX6wvAi
curl -X POST localhost:1635/connect/ip4/172.105.238.165/tcp/1634/p2p/16Uiu2HAmSU1qU83tJZAh1z6ZhGshQ9gfeU558iNGZZrpkDdi47rB
curl -X POST localhost:1635/connect/ip4/154.215.142.136/tcp/1634/p2p/16Uiu2HAmUFKWHjk9bY7HRx2eeUoMPUPCoADp21UBhgpsF8dWQ6YE
curl -X POST localhost:1635/connect/ip4/51.79.68.121/tcp/1634/p2p/16Uiu2HAm5KXkSSg1uk3KdvJYWNGuVwMA1ASurcunELrhFV9sadtV
curl -X POST localhost:1635/connect/ip4/172.105.208.202/tcp/1634/p2p/16Uiu2HAmVQdBWSS11s3m3PtGVi92Ts2m7UvxnJmVLJQVdfaxu63z
curl -X POST localhost:1635/connect/ip4/172.104.83.228/tcp/1634/p2p/16Uiu2HAmGTv2AqBCEmZy8PGpNXj6a2TjTzjvmht1hha1Sg88ALqk
curl -X POST localhost:1635/connect/ip4/107.182.177.94/tcp/1640/p2p/16Uiu2HAkvu5g73Q5MpFooLPNHvbyaocHH4bZdLCnVHuZkK4wFc5Z
curl -X POST localhost:1635/connect/ip4/51.79.68.121/tcp/1634/p2p/16Uiu2HAm5KXkSSg1uk3KdvJYWNGuVwMA1ASurcunELrhFV9sadtV
curl -X POST localhost:1635/connect/ip4/23.224.227.34/tcp/50144/p2p/16Uiu2HAmLEjmegMaV8D8JLVJWGZXFq4MfPrc37TVfhDMQPxaUvRY
curl -X POST localhost:1635/connect/ip4/172.96.203.143/tcp/1640/p2p/16Uiu2HAmQXEfeDoBm4eTFSYJcQ8BBCJzccxSvjAyY3XaiHtYrHEp

以太坊swarm bee节点0.53版本新建节点用自定义节点握手启动

一个不行,多换几个,直到节点连接提示上线。

以太坊swarm bee节点0.53版本新建节点用自定义节点握手启动

以太坊swarm bee节点0.53版本新建节点用自定义节点握手启动

扫一扫手机访问

以太坊swarm bee节点0.53版本新建节点用自定义节点握手启动

发表评论