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
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