Welcome to the Linux Foundation Forum!

Lab 7: Can't join the channel for the new org

On the pdf page 8, the instructions are

peer channel fetch config Org2AddedConfig.pb -o orderer.example.com:7050 -c allarewelcome
peer channel join -b Org2AddedConfig.block

which seems weird and broken as the pd file is not used and the block name is no where to come.

I tried to join the channel
peer channel join -b allarewelcom.block

then, install and instantiate the chaincode, error happened,
Error: error endorsing chaincode: rpc error: code = Unknown desc = access denied: channel...

Comments

  • NiklaskkkkNiklaskkkk Posts: 113

    @terany said:
    On the pdf page 8, the instructions are

    peer channel fetch config Org2AddedConfig.pb -o orderer.example.com:7050 -c allarewelcome
    peer channel join -b Org2AddedConfig.block

    which seems weird and broken as the pd file is not used and the block name is no where to come.

    I tried to join the channel
    peer channel join -b allarewelcom.block

    then, install and instantiate the chaincode, error happened,
    Error: error endorsing chaincode: rpc error: code = Unknown desc = access denied: channel...

    Hi @terany ,

    Seem that the blockfile name is wrong between the pdf file and the command file. I cant remember on the fly which it is, but it is either the filename in the PDF or the command file which is correct. You will naturally see the right one based on previous commands.
    It is basically the "peer channel join -b wrong_name_in_documentation" - hope this helps

Sign In or Register to comment.