我正在本地环境中尝试金枪鱼网络示例。其工作正常,在本地GUI平台(http://localhost:8080/login)和云环境中也没有任何问题。
不幸的是,当我在命令行中尝试时,出现错误
没有任何同行的有效回应
我使用的命令如下。
blrk@hyperledger:~/tuna-network$ composer network install --card PeerAdmin@hlfv1 --archiveFile tuna-network@0.0.1.bna
✔ Installing business network. This may take a minute...
Successfully installed business network tuna-network, version 0.0.1
blrk@hyperledger:~/tuna-network$ composer network start --card PeerAdmin@hlfv1 --networkAdmin admin --networkAdminEnrollSecret adminpw --networkName tuna-network --networkVersion 0.0.1
Starting business network tuna-network at version 0.0.1
Processing these Network Admins:
userName: admin
✖ Starting business network definition. This may take a minute...
Error: Error trying to start business network. Error: No valid responses from any peers.
Unexpected response of 500. Payload was:
Command failed
composer network start --card PeerAdmin@hlfv1 --networkAdmin admin
--networkAdminEnrollSecret adminpw --networkName tuna-network --networkVersion
0.0.1
那应该初始化链码