Why am I getting a grp timeout while setting up a Hyperledger development?

0 votes

Going by the hyperledger documentation,  I have setup a network with two validating peers and not CA. But when I try to run the "peer node status" and "peer network list" command and keep getting the following error:

Error: Error trying to connect to local peer: grpc: timed out trying to connect

Can anyone help me?

Jun 7, 2018 in Blockchain by nsv999
• 5,110 points
58 views

1 answer to this question.

0 votes

This error usually means that Validation Peer is not started. In default configuration peer process should listen port 30303 and you can easily check that using the following:

netstat -a | grep 30303

In case if Validation Peer is started in Docker container or on remote VM the IP address should be provided:

CORE_PEER_ADDRESS=172.17.0.2:30303 ./peer node status
answered Jun 7, 2018 by Christine
• 15,810 points

Related Questions In Blockchain

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

How do I create a new block in Hyperledger Fabric?

This link might help you: https://github.com/hyperledger/fabric-sample ...READ MORE

answered Oct 11, 2018 in Blockchain by Sahu
547 views
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,600 points
91 views
+1 vote
1 answer
+1 vote
2 answers
0 votes
1 answer

Why am I not getting 100 ethers in my metamask account?

Sorry that you're having this problem. To ...READ MORE

answered Jun 14, 2018 in Blockchain by Christine
• 15,810 points
198 views