Chaincode Installation failed Hyperledger Fabric

0 votes

I am following latest hyperledger fabric docs for the building a fabric network. I created a 3 organization network in which asset transfer basic chaincode in go language deployed successfully without any error. But when I tried deplying javascript version of it, it gave following error? How to resolve this. Please help me.

Error: chaincode install failed with status: 500 - error in simulation: failed to execute transaction 9688ad6133ec788ab104a07e6ad7b0d3c881ed2b7a7271c8680d0b6af1d96e53: error sending: timeout expired while executing transaction
Oct 5, 2020 in Blockchain by Bhuwan
• 130 points
5,263 views

2 answers to this question.

0 votes
Hello, @Bhuwan,

Regarding your error mentioned above, I have found something very similar query, you can check this out: https://www.edureka.co/community/67508/problem-hyperledger-application-chaincode-installation
answered Oct 5, 2020 by Roshni
• 10,480 points
But that didn't solve the problem.
0 votes

Hi, @Bhuwan,

There must be an error in your chaincode due to which your chaincode is getting crashed. A similar case has happened to me. Usually, your transaction will timeout if your chaincode crashed.

To debug, list all docker containers by:

docker ps

copy the id of your chaincode container and execute this command:

docker attach <container-id> -f

execute the invoke/query command again. If there is a crash, logs will be printed where you executed docker attach

answered Oct 5, 2020 by Gitika
• 65,770 points

Related Questions In Blockchain

0 votes
2 answers
+16 votes
4 answers
+1 vote
2 answers
+1 vote
2 answers

How to return value from a chaincode in Hyperledger Fabric?

Hyperledger Fabric supports only 2 types of ...READ MORE

answered Jun 13, 2018 in Blockchain by Perry
• 17,100 points
2,959 views
+1 vote
2 answers

Where is custom chaincode path Hyperledger Fabric 1.0?

You have to have your chaincode at ...READ MORE

answered Jul 10, 2018 in Blockchain by slayer
• 29,370 points
2,984 views
0 votes
1 answer

Hyperledger Sawtooth vs Quorum in concurrency and speed Ask

Summary: Both should provide similar reliability of ...READ MORE

answered Sep 26, 2018 in IoT (Internet of Things) by Upasana
• 8,620 points
1,455 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP