我已经与两个组织建立了结构网络;协调者组织和参与者组织。
使用orchestratororg的用户,我可以调用或查询链代码,但是当尝试使用participantorg的用户查询时,我收到如下错误:
“错误:2 未知:访问被拒绝:通道 [contentbackchainchannel]
创建者组织 [ParticipantOrgMSP]"
您可以访问我的网络设置网络配置 https://github.com/onenetwork/onechain-back/tree/master/hyp/content-backchain
尝试使用以下命令,
在fabric-tools文件夹里面
./teardownFabric.sh
./startFabric.sh
./createPeerAdminCard.sh
然后转到名片并运行以下操作。
确保您已经为您的名片创建了存档文件(教程网络):
composer network install --card PeerAdmin@hlfv1 --archiveFile [email protected] /cdn-cgi/l/email-protection
composer network start --networkName tutorial-network --networkVersion 0.0.1 --networkAdmin admin --networkAdminEnrollSecret adminpw --card PeerAdmin@hlfv1 --file networkadmin.card
请参阅此链接了解更多信息https://hyperledger.github.io/composer/latest/tutorials/developer-tutorial https://hyperledger.github.io/composer/latest/tutorials/developer-tutorial
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)