Error: 2 UNKNOWN: access denied: channel [contentbackchainchannel] creator org

前端 未结 3 1825
无人及你
无人及你 2021-02-03 16:23

I\'ve fabric network setup with two orgs; orchestratororg and participantorg.

With user of orchestratororg I can invoke or query chaincode but when trying to query with

相关标签:
3条回答
  • 2021-02-03 16:41

    you need to check the value of CORE_PEER_LOCALMSPID if exactly same as the value that you have set in the configtx.yaml. or maybe already channel exists

    0 讨论(0)
  • 2021-02-03 16:51

    Try to use following commands,

    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 tutorial-network@0.0.1.bna
    
    composer network start --networkName tutorial-network --networkVersion 0.0.1 --networkAdmin admin --networkAdminEnrollSecret adminpw --card PeerAdmin@hlfv1 --file networkadmin.card
    

    Refer this link for more https://hyperledger.github.io/composer/latest/tutorials/developer-tutorial

    0 讨论(0)
  • 2021-02-03 17:05

    Check if the participantorg's peers joined to the channel or not.
    The peer who is interacting with channel must joined the channel.
    Channel also have one channel MSP in which it keep the information of joined peers.
    So when you're trying to interact with channel with the peer which is yet not joined the channel will get the error message.

    0 讨论(0)
提交回复
热议问题