ipfs添加peer dial attempt failed: incoming message was too large
【摘要】
[giser@iz2zeivrkckulq2dtidztmz ~]$ docker exec ipfs_host ipfs swarm connect /ip4/xx/tcp/4001/ipfs/Qmeo...
[giser@iz2zeivrkckulq2dtidztmz ~]$ docker exec ipfs_host ipfs swarm connect /ip4/xx/tcp/4001/ipfs/QmeoxpCtQ4ZKrbdmWDtnkRXb3CHLuPwTMzX1Vn896aw8T1
Error: connect QmeoxpCtQ4ZKrbdmWDtnkRXb3CHLuPwTMzX1Vn896aw8T1 failure: dial attempt failed: <peer.ID Qm*cgKjbo> --> <peer.ID Qm*6aw8T1> dial attempt failed: incoming message was too large
[giser@iz2zeivrkckulq2dtidztmz ~]$ docker exec ipfs_host ipfs ping QmeoxpCtQ4ZKrbdmWDtnkRXb3CHLuPwTMzX1Vn896aw8T1
PING QmeoxpCtQ4ZKrbdmWDtnkRXb3CHLuPwTMzX1Vn896aw8T1.
Ping error: dial attempt failed: <peer.ID Qm*cgKjbo> --> <peer.ID Qm*6aw8T1> dial attempt failed: write tcp 172.18.0.2:4001->xxx:4001: write: connection reset by peer
[giser@izbp182lz6444d7n8bnvx4z ~]$ docker exec ipfs_host ipfs dht provide QmeoxpCtQ4ZKrbdmWDtnkRXb3CHLuPwTMzX1Vn896aw8T1
Error: block QmeoxpCtQ4ZKrbdmWDtnkRXb3CHLuPwTMzX1Vn896aw8T1 not found locally, cannot provide
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
修改点:
1、保证两台物理机之间的swarm.key保持一致
在服务器A上上传文件
服务器B 对外可以访问到
文章来源: blog.csdn.net,作者:隔壁老瓦,版权归原作者所有,如需转载,请联系作者。
原文链接:blog.csdn.net/wxb880114/article/details/88874506
【版权声明】本文为华为云社区用户转载文章,如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)