没有得到任何同行的有效回应。尝试 "network start" 时出错
Getting No valid responses from any peers. error when trying to "network start"
我正在学习以下教程:https://hyperledger.github.io/composer/v0.19/applications/web
为我的链代码实现前端。但是当我尝试输入命令时:
composer network start --networkName perishable-network --networkVersion 0.2.7-deploy.0 --networkAdmin admin --networkAdminEnrollSecret adminpw --card PeerAdmin@hlfv1
它给我错误:
✖ 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) Command failed
当我在我的 bna 上执行 composer install
时,我得到了我在 network start
命令中使用的信息。
✔ Installing business network. This may take a minute... Successfully
installed business network perishable-network, version 0.2.7-deploy.0
Command succeeded
我该如何解决这个错误?
您正在尝试将 Composer 0.20 与 Hyperledger Fabric 1.1 一起使用。不幸的是,它们不兼容。您应该降级到 Composer 0.19 或将结构升级到 1.2
我正在学习以下教程:https://hyperledger.github.io/composer/v0.19/applications/web 为我的链代码实现前端。但是当我尝试输入命令时:
composer network start --networkName perishable-network --networkVersion 0.2.7-deploy.0 --networkAdmin admin --networkAdminEnrollSecret adminpw --card PeerAdmin@hlfv1
它给我错误:
✖ 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) Command failed
当我在我的 bna 上执行 composer install
时,我得到了我在 network start
命令中使用的信息。
✔ Installing business network. This may take a minute... Successfully installed business network perishable-network, version 0.2.7-deploy.0
Command succeeded
我该如何解决这个错误?
您正在尝试将 Composer 0.20 与 Hyperledger Fabric 1.1 一起使用。不幸的是,它们不兼容。您应该降级到 Composer 0.19 或将结构升级到 1.2