Welcome to the Linux Foundation Forum!

Lab 4 installing Chaincode-Error Bad Response 500

When trying to install chaincode i receive this error.

Thank you in advance for your help

root@0a02c76d6c93:/opt/gopath/src/github.com/hyperledger/fabric/peer# peer chaincode install -n ccForAll -p github.com/sacc -v 1.0

2019-12-19 16:37:35.631 UTC [main] InitCmd -> WARN 001 CORE_LOGGING_LEVEL is no longer supported, please use the FABRIC_LOGGING_SPEC environment variable
2019-12-19 16:37:35.655 UTC [main] SetOrdererEnv -> WARN 002 CORE_LOGGING_LEVEL is no longer supported, please use the FABRIC_LOGGING_SPEC environment variable
2019-12-19 16:37:35.668 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 003 Using default escc
2019-12-19 16:37:35.668 UTC [chaincodeCmd] checkChaincodeCmdParams -> INFO 004 Using default vscc

Error: Bad response: 500 - error installing chaincode code ccForAll:1.0(chaincode /var/hyperledger/production/chaincodes/ccForAll.1.0 exists)
root@0a02c76d6c93:/opt/gopath/src/github.com/hyperledger/fabric/peer#

Comments

  • Posts: 29

    this error isn't an error as the chaincode exists. however...i get this error when i instantiate the chaincode.

    Error: error endorsing chaincode: rpc error: code = Unknown desc = access denied: channel [allarewelcome] creator org [Org1MSP]

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training