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 25, 2020 in Blockchain by SudipDurgapur
• 140 points
4,113 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, 2020 by Gitika
• 65,770 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

Hyperledger - Can I have some instances on one network while on a Virtual Box?

Yes, you can connect multiple instances to ...READ MORE

answered Aug 1, 2018 in Blockchain by Omkar
• 69,220 points
904 views
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 17, 2018 in Blockchain by Johnathon
• 9,090 points
1,086 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,461 views
0 votes
2 answers

Chaincode Installation failed, Hyperledger Fabric

Hi, @Bhuwan, There must be an error in ...READ MORE

answered Oct 5, 2020 in Blockchain by Gitika
• 65,770 points
5,291 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