在使用 Hyperledger Fabric 2.5 创建网络通道时,经常会遇到Error: got unexpected status: BAD_REQUEST -- Attempted to include member Org1MSP which is not in the consortium 错误,提示成员未在联盟中。即使configtx.yaml 文件已正确定义了组织成员(例如 Org1 和 Org2),此错误仍然可能出现。 原因在于生成创世块或创建通道时使用的配置文件没有正确引用这些组织成员。
解决方法:
另一个常见错误是:error validating channel creation transaction for new channel 'mychannel', could not successfully apply update to template configuration: error authorizing update: error validating DeltaSet: policy for [Group] /Channel/Application not satisfied: implicit policy evaluation failed - 0 sub-policies were satisfied, but this policy requires 1 of the 'Admins' sub-policies to be satisfied。 此错误表示/Channel/Application 组的管理员策略未满足,通常是因为缺少有效的管理员签名或管理员策略定义错误。
解决方法:
遇到 Hyperledger Fabric 问题时,建议加入相关的技术社区或论坛寻求帮助,获取更多信息和社区支持。 希望以上信息能够帮助您顺利创建 Hyperledger Fabric 2.5 网络通道。
以上就是在 HyperLedger Fabric 2.5 中创建网络通道时,如何解决成员未在联盟中和管理员策略不满足的问题?的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号