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 4 in Blockchain by Bhuwan
• 130 points
166 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 4 by Roshni
• 5,990 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 by Gitika
• 48,360 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
1,489 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,300 points
1,679 views
0 votes
1 answer