问题描述
我有两个组织的光纤网络设置; Orchestratororg和participantorg.
I've fabric network setup with two orgs; orchestratororg and participantorg.
使用orchestratororg的用户,我可以调用或查询链码,但是当尝试与partnerorg的用户进行查询时,出现如下错误:
With user of orchestratororg I can invoke or query chaincode but when trying to query with user of participantorg I get an error as follows:
您可以在网络配置
推荐答案
尝试使用以下命令,
内部fabric-tools文件夹
Inside fabric-tools folder
./teardownFabric.sh
./startFabric.sh
./createPeerAdminCard.sh
然后转到名片并继续运行.
Then go to business card and run following.
确保您已经为名片创建了存档文件(教程网络):
Make sure you already created archive file for your business card (tutorial-network):
composer network install --card PeerAdmin@hlfv1 --archiveFile [email protected]
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-教程
Refer this link for morehttps://hyperledger.github.io/composer/latest/tutorials/developer-tutorial
这篇关于错误:2未知:访问被拒绝:频道[contentbackchainchannel]创建者组织的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!