在超级分类帐作曲家中启动业务网络时,我遇到以下错误

时间:2018-10-10 07:45:13

标签: blockchain hyperledger-composer

Starting business network definition. This may take a minute...
Error: Error trying to start business network. Error: No valid responses from any peers.
Response from attempted peer comms was an error: Error: 2 UNKNOWN: chaincode error (status: 500, message:  is not a valid endorsement system chaincode)
Response from attempted peer comms was an error: Error: 2 UNKNOWN: chaincode error (status: 500, message:  is not a valid endorsement system chaincode)
Response from attempted peer comms was an error: Error: 2 UNKNOWN: chaincode error (status: 500, message:  is not a valid endorsement system chaincode)
Response from attempted peer comms was an error: Error: 2 UNKNOWN: chaincode error (status: 500, message:  is not a valid endorsement system chaincode)
Command failed

请帮助我解决Composer中的此错误。

1 个答案:

答案 0 :(得分:1)

当您拥有Composer v0.20并尝试使用Fabric 1.1时,通常会看到此错误。对于Composer v0.20,您需要使用Fabric 1.2或Fabric 1.2.1。 This document shows Composer和兼容结构版本的发布。

如果您需要有关删除Fabric 1.1和安装Fabric 1.2.1的详细说明,那么comments in this issue之一将介绍这些步骤。