I face problem while running hyperledger fabric's sample application "build your first network" byfn.sh giving time out while chaincode installation.

0 votes
Error: chaincode install failed with status: 500 - error in simulation: failed to execute transaction d4966c17d807c88e22744fc312a34eb402fabada542e6cffea398b87ea09011b: error sending: timeout expired while executing transaction

!!!!!!!!!!!!!!! Chaincode installation on peer0.org1 has failed !!!!!!!!!!!!!!!!

========= ERROR !!! FAILED to execute End-2-End Scenario ===========

ERROR !!!! Test failed

i got this message while running build your first network example in my laptop. how to overcome this problem? please any one help.
Apr 24 in Blockchain by SudipDurgapur
• 140 points
69 views

1 answer to this question.

0 votes
Hey, @Sudip,

Please check if the peer container is still up. If the container has crashed, then it cannot be reached for endorsement. Also checking the logs for peer0.org1.example.com will help.

First, you have to run .byfn.sh -m down it will delete all old configuration of docker and container images,
now you can run .byfn.sh -m up, by using this command you can up your network in hyperledger.

You simply have to do ./byfn.sh up and it will work. No need to use -m flag but first try to do ./byfn.sh down so it cleans itself.

I hope this will help. Let me know if you face any further difficulties.
answered Apr 27 by Gitika
• 29,690 points
thanks for your response madam. I run ./byfn.sh -m down followed by ./byfn.sh -m up. but it showing the following message-

ERROR: for orderer3.example.com  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
ERROR: An HTTP request took too long to complete. Retry with --verbose to obtain debug information.
If you encounter this issue regularly because of slow network conditions, consider setting COMPOSE_HTTP_TIMEOUT to a higher value (current value: 60).

I have 2 gb ram. Is this problem arise due to ram is not sufficient or anything else?

Related Questions In Blockchain

+1 vote
2 answers
0 votes
1 answer

How do I use hyperledger fabric blockchain to build my own application?

To use fabric I would recommend you ...READ MORE

answered May 16, 2018 in Blockchain by Johnathon
• 9,090 points
218 views
0 votes
1 answer
0 votes
1 answer

getting error while starting Hyperleger fabric network on Aws server

Hey, @Nithin, It seems like you have stopped containers ...READ MORE

answered Mar 30 in Blockchain by Gitika
• 29,690 points
155 views