IBM-Blockchain-Archive / marbles

WARNING: This repository is no longer maintained ⚠️ This repository will not be updated. The repository will be kept available in read-only mode.
Apache License 2.0
1.03k stars 979 forks source link

Authorization for INSTALL has been denied #207

Closed sensahin closed 6 years ago

sensahin commented 6 years ago

I am getting below error when running sudo node install_chaincode.js. Any idea?

error: [client-utils.js]: sendPeersProposal - Promise is rejected: Error: 2 UNKNOWN: chaincode error (status: 500, message: Authorization for INSTALL has been denied (error-Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [This identity is not an admin]))

dshuffma-ibm commented 6 years ago

i'm assuming this is for a local hyperledger fabric setup? do you have the latest marbles update? there was a recent change yesterday to use the peer's cert. check out this other issue near the end: https://github.com/IBM-Blockchain/marbles/issues/198

sensahin commented 6 years ago

Ok, it is fixed.