docker - 从 BYFN 上的 org1 删除 peer1 时出错:从 BYFN 更改的文件是否比第一个网络文件夹多?
问题描述
尝试从 BYFN 中删除 org1 peer1 时出现以下错误。一些帮助?
也许错过了更改 configtx.yaml?我应该在哪里改变?从 BYFN 更改的文件是否比第一个网络文件夹多?
(1) 在 Crypto-config.yaml 中,将 Template Count 值更改为 1。
(2) 在 docker-compose-cli.yaml 中,我删除了对 peer1.org1.example.com 的引用,与第一个网络文件夹中的“.sh”脚本中的相同。
Error: error getting endorser client for channel: endorser client failed to connect to peer1.org1.example.com:8051: failed to create new connection: connection error: desc = "transport: error while dialing: dial tcp: lookup peer1.org1.example.com on 127.0.0.11:53: no such host"
peer1.org1 failed to join the channel, Retry after 3 seconds
+ peer channel join -b mychannel.block
+ res=1
+ set +x
Error: error getting endorser client for channel: endorser client failed to connect to peer1.org1.example.com:8051: failed to create new connection: connection error: desc = "transport: error while dialing: dial tcp: lookup peer1.org1.example.com on 127.0.0.11:53: no such host"
!!!!!!!!!!!!!!! After 10 attempts, peer1.org1 has failed to join channel 'mychannel' !!!!!!!!!!!!!!!!
========= ERROR !!! FAILED to execute End-2-End Scenario ===========
ERROR !!!! Test failed
解决方案
该脚本正在尝试从不存在的 peer1.org1 加入频道,您需要在脚本文件夹中编辑 script.sh。寻找功能加入频道。
推荐阅读
- android - 按钮上的 Kotlin onClickListener 不起作用
- javascript - CSRF 验证失败。请求中止。失败的原因:CSRF 令牌丢失或不正确
- django - 如何在 django 的表单上应用 css
- python-3.x - BERT层的拉取输出和序列输出有什么区别?
- javascript - 在对象的特定属性中添加数据
- uwp-xaml - 创建没有背景、边框和正常、reolver、按下状态的图像的按钮
- jpa - WFLYEJB0406:找不到用于绑定 controller.LoginBean/accountServ 的接口类型为“ejb_accountcrud.IAccountCrud”的 EJB
- powershell - Powershell 脚本自定义对象
- angularjs - 第三方 jquery 插件期间 AnjularJs 中的变量未定义错误
- amazon-dynamodb - DeletePolicy 保留导致问题