error: [instantiate-chaincode.js]: Failed to instantiate chaincodes: Error: Failed to send instantiate Proposal or receive valid response. Response null or status is not 200. #288
Labels
question
Further information is requested
node benchmark/smallbank/main.js works in my system.
and the I run my own code to test TPS
it met errors
Failed to instantiate chaincodes
info: [create-channel.js]: Creating supplychainchannel...
info: [create-channel.js]: Created supplychainchannel successfully
info: [create-channel.js]: Sleeping 5s...
info: [join-channel.js]: Joining channels...
info: [join-channel.js]: Joining supplychainchannel...
info: [join-channel.js]: Successfully joined crop's peers to supplychainchannel
info: [join-channel.js]: Successfully joined supplychainchannel
info: [install-chaincode.js]: Installing chaincodes...
info: [packager/Node.js]: packaging Node from /home/liuyan/supplychain/chaincode/crop/
info: [install-chaincode.js]: Installed chaincode cc_crop successfully in all peers
info: [instantiate-chaincode.js]: Instantiating chaincodes...
error: [instantiate-chaincode.js]: Failed to instantiate chaincodes: Error: Failed to send instantiate Proposal or receive valid response. Response null or status is not 200.
at Object.instantiateChaincode (/home/liuyan/caliper/src/adapters/fabric/e2eUtils.js:353:19)
at
error: [fabric.js]: Fabric chaincode install failed: Error: Failed to send instantiate Proposal or receive valid response. Response null or status is not 200.
at Object.instantiateChaincode (/home/liuyan/caliper/src/adapters/fabric/e2eUtils.js:353:19)
at
error: [bench-flow.js]: Error: Error: Failed to send instantiate Proposal or receive valid response. Response null or status is not 200.
at Object.instantiateChaincode (/home/liuyan/caliper/src/adapters/fabric/e2eUtils.js:353:19)
at
info: [demo.js]: [Transaction Info] - Submitted: 0 Succ: 0 Fail:0 Unfinished:0
Environment
liuyan@liuyan-hp:~/caliper$ npm ls grpc
[email protected] /home/liuyan/caliper
├─┬ [email protected]
│ └── [email protected] deduped
└── [email protected]
liuyan@liuyan-hp:~/caliper$ npm ls fabric-client
[email protected] /home/liuyan/caliper
└── [email protected]
liuyan@liuyan-hp:~/caliper$ npm ls fabric-ca-client
[email protected] /home/liuyan/caliper
└── [email protected]
liuyan@liuyan-hp:/caliper$ node -v
v8.15.0
liuyan@liuyan-hp:/caliper$ npm -v
6.5.0
liuyan@liuyan-hp:~/caliper$ node-gyp -v
v3.8.0
I also run npm install
ubuntu 16
The text was updated successfully, but these errors were encountered: