本文介绍了Hyperledger Composer v0.16.0网络启动错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试Hyperledger Composer v0.16.0.根据此过程,我想部署BNA到云上的Fabric网络.但发生以下错误.请让我知道我该如何解决.
I'm trying Hyperledger Composer v0.16.0. According to this procedure, I want to Deploy BNA to Fabric network on cloud. but following error occurs.Kindly let me know how I can solve it.
命令:
composer network start --card PeerAdmin@myfabric --networkAdmin admin --networkAdminEnrollSecret adminpw --archiveFile trade-network.bna --file networkadmin.card
结果:
tarting business network from archive: trade-network.bna
Business network definition:
Identifier: [email protected]
Description: Commodities Trading Business Network
Processing these Network Admins:
userName: admin
✖ Starting business network definition. This may take a minute...
Error: Error trying to instantiate composer runtime. Error: No valid responses from any peers.
Response from attempted peer comms was an error: Error: chaincode error (status: 500, message: chaincode instantiation policy violated(Failed to authenticate policy))
推荐答案
Error: No valid responses from any peers
可能是b/c,您不是./startFabric
(在fabric-tools
文件夹中),也可能是.acl
文件(权限. ACL)有错误(尝试将其更改为初始版本).
Error: No valid responses from any peers
may be b/c you don't ./startFabric
(in fabric-tools
folder) or may be the .acl
file (permissions.acl) have error (try change it to the beginning version).
这篇关于Hyperledger Composer v0.16.0网络启动错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!