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
• 26,740 points
1,069 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,370 points

Related Questions In Blockchain

0 votes
2 answers

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

just follow those steps: docker ps -aq ...READ MORE

answered Oct 21, 2020 in Blockchain by anonymous
1,245 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
6,578 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,451 views
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,740 points
1,004 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 30, 2018 in Blockchain by slayer
• 29,370 points
708 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,370 points
946 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