Getting error when i execute ./byfn.sh -m up command.

0 votes

I am trying to bring up the network in my blockchain.. When i execute ./byfn.sh -m up command i get this error:

Starting with channel 'mychannel' and CLI timeout of '10000'
Continue (y/n)?y
proceeding ...
...
 ___     ____      _      ____    ____
/ ___|   |_   _|     / \      |  _ \   |_   _|
\___ \      | |      / _ \     | |_) |     | |  
 ___) |     | |     / __ \    |  _ <     | |  
|____/     |_|   /_/   \_\  |_| \_\    |_|  

Build your first network (BYFN) end-to-end test
...
===================== PEER0 joined on the channel "mychannel" 

===================== 

2017-09-25 06:58:27.580 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity
Error: Error getting endorser client channel: PER:404 - Error trying to connect to local peer
...
/opt/go/src/runtime/proc.go:192 runtime.main
/opt/go/src/runtime/asm_amd64.s:2087 runtime.goexit
Caused by: x509: certificate is valid for peer0.org1.example.com, peer0, not peer1.org1.example.com
Usage:
  peer channel join [flags]

Flags:
  -b, --blockpath string   Path to file containing genesis block
  ...

Jul 12, 2018 in Blockchain by digger
• 27,640 points
165 views

1 answer to this question.

0 votes
The error is caused because you're trying to connect to peer1.org1.example.com but it doesn't exist.. The peer present there is peer0.org1.example.com..

Check your environment variable CORE_PEER_ADDRESS and see if its right..
answered Jul 12, 2018 by slayer
• 29,050 points

Related Questions In Blockchain

0 votes
1 answer

Hyperledger: ./byfn.sh -m up gives error

Open .env file in fabric-samples/first-network/  ...READ MORE

answered Oct 26, 2018 in Blockchain by Omkar
• 67,380 points
164 views
0 votes
4 answers

Hyperledger: byfn.sh up: ERROR !!! FAILED to execute End-2-End Scenario.

Try these commands $ docker rm -f $(docker ...READ MORE

answered Nov 28, 2018 in Blockchain by kartik chauhan
1,468 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
• 27,640 points
67 views
+1 vote
1 answer
0 votes
1 answer

Hyperledger fabric ./byfn.sh -m up command hangs during execution

Run the following command: sudo docker stop $(docker ...READ MORE

answered Jul 29, 2018 in Blockchain by slayer
• 29,050 points
73 views
0 votes
1 answer

How to solve Runtime error when querying Hyperledger?

OCI is open container initiative.. The error ...READ MORE

answered Jul 9, 2018 in Blockchain by slayer
• 29,050 points
231 views