由于官方的升级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
那么,这个时候,可以指定一个已经正常在跑的节点,找到他的ip4节点地址,在启动的时候指定节点启动。
linux:
curl localhost:1635/addresses | jq
查出正在正常跑的节点地址
复制这段地址,把里面的内网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
windows:
在节点运行到等待bootnode的阶段,直接新开一个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
一个不行,多换几个,直到节点连接提示上线。
windows版本,也可以用git bash窗口批量执行多条引导命令。
更多启动节点,请加入QQ群文件获取:
点击链接加入群聊【以太坊swarm技术交流】:
https://jq.qq.com/?_wv=1027&k=3faHJtbh
根据央行等部门发布“关于进一步防范和处置虚拟货币交易炒作风险的通知”,本文内容来自网络,所有内容只做信息分享学习使用,不对任何经营与投资行为进行推广与背书,请读者严格遵守所在地区法律法规,不参与任何非法金融活动。内容不代表牛谈观点,发布者:比特老爹,转载请注明出处:https://niutan.com/24444.html