Welcome to the Linux Foundation Forum!

LAB8 During peer fetch command for joining new Orgs peer to channel getting error?

bash-5.0# peer channel fetch 0 newchannel.block -o orderer.example.com:7050 --tls --cafile $ORDERER_TLS_CA -c newchannel
2022-06-13 05:20:09.443 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized
2022-06-13 05:20:09.445 UTC [cli.common] readBlock -> INFO 002 Expect block, but got status: &{FORBIDDEN}
Error: can't read the block: &{FORBIDDEN}


  • Bobbijn
    Bobbijn Posts: 138

    @samyakjain675, Hello, Let's see if we can get to the bottom of this. Joining a peer to a channel has many steps that all need to be completed properly before you can successfully add a peer to an existing application channel. A suggestion would be to check that the updates to the environment variables on the Fabric CLI container have been completed properly. Let me know if this helps. Bobbi

  • @Bobbijn thanks for the reply, i have already set all EV related to peer and Orgz.

    The error is solved now, The issue is in policy configuration, it is resolved now.


Upcoming Training