Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
YanLIU0822 opened this issue Jan 19, 2019 · 3 comments · Fixed by #520
Labels
question Further information is requested

Comments

@YanLIU0822
Copy link

YanLIU0822 commented Jan 19, 2019

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

I also run npm install

ubuntu 16

@houqinghui
Copy link
Contributor

houqinghui commented Jan 22, 2019

@YanLIU0822 does "I run my own code to test TPS" mean that you modify the configuratioin file to run the caliper or you want to test your custom network?

@feihujiang
Copy link
Contributor

@YanLIU0822 Have you resolved this issue? if not, you can uncomment this line, and post the information. We can look into the problem later.

@panyu4
Copy link
Contributor

panyu4 commented Feb 12, 2019

@YanLIU0822 Issue #165 gives one solution. You might take a try.

@aklenik aklenik added the question Further information is requested label Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants