chaincode

In Hyperledger Fabric when I try to invoke, I'm getting the following error: chaincode definition for 'fabcar' exists, but chaincode is not installed

无人久伴 提交于 2021-02-07 12:46:20
问题 I've followed 2 different tutorials https://github.com/swetharepakula/Fabric101Workshop and https://hyperledger-fabric.readthedocs.io/en/release-2.0/deploy_chaincode.html. Both times when I query installed it shows fabcar is installed and it commits successfully, but in both when I try to invoke I receive the following: Error: endorsement failure during invoke. response: status:500 message:"make sure the chaincode fabcar has been successfully defined on channel mychannel and try again:

Error: Failed to connect before the deadline URL:grpc://localhost:7051

南笙酒味 提交于 2020-05-16 01:19:08
问题 :~/Documents/test/education/LFS171x/fabric-material/tuna-app/$ node query.js Store path:/home/*******/Documents/test/education/LFS171x/fabric-material/tuna-app/hfc-key-store Successfully loaded user1 from persistence 2020-02-11T05:56:10.423Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpc://localhost:7051 Query has completed, checking results error from query = Error: Failed to connect before the deadline URL:grpc://localhost:7051 at checkState (/home/******

Error: Failed to connect before the deadline URL:grpc://localhost:7051

↘锁芯ラ 提交于 2020-05-16 01:16:08
问题 :~/Documents/test/education/LFS171x/fabric-material/tuna-app/$ node query.js Store path:/home/*******/Documents/test/education/LFS171x/fabric-material/tuna-app/hfc-key-store Successfully loaded user1 from persistence 2020-02-11T05:56:10.423Z - error: [Remote.js]: Error: Failed to connect before the deadline URL:grpc://localhost:7051 Query has completed, checking results error from query = Error: Failed to connect before the deadline URL:grpc://localhost:7051 at checkState (/home/******