Skip to content
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.

Error on "Joining peers to channel" #4

Open
VenkyMadgundi opened this issue Oct 9, 2017 · 2 comments
Open

Error on "Joining peers to channel" #4

VenkyMadgundi opened this issue Oct 9, 2017 · 2 comments

Comments

@VenkyMadgundi
Copy link

VenkyMadgundi commented Oct 9, 2017

After running deploy.sh we are getting following error:
Joining peers to channel
Error: Error getting endorser client channel: PER:404 - Error trying to connect to local peer
/usr/local/go/src/github.com/hyperledger/fabric/peer/common/common.go:116 github.com/hyperledger/fabric/peer/common.GetEndorserClient
/usr/local/go/src/github.com/hyperledger/fabric/peer/channel/channel.go:149 github.com/hyperledger/fabric/peer/channel.InitCmdFactory
/usr/local/go/src/github.com/hyperledger/fabric/peer/channel/join.go:138 github.com/hyperledger/fabric/peer/channel.join
/usr/local/go/src/github.com/hyperledger/fabric/peer/channel/join.go:42 github.com/hyperledger/fabric/peer/channel.joinCmd.func1
/usr/local/go/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:599 github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).execute
/usr/local/go/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:689 github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).ExecuteC
/usr/local/go/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:648 github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).Execute
/home/ubuntu/go/src/github.com/hyperledger/fabric/peer/main.go:118 main.main
/usr/local/go/src/runtime/proc.go:194 runtime.main
/usr/local/go/src/runtime/asm_amd64.s:2198 runtime.goexit
Caused by: context deadline exceeded
Usage:
peer channel join [flags]
Flags:
-b, --blockpath string Path to file containing genesis block
Global Flags:
--cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint
--logging-level string Default logging level and overrides, see core.yaml for full syntax
-o, --orderer string Ordering service endpoint
--test.coverprofile string Done (default "coverage.cov")
--tls Use TLS when communicating with the orderer endpoint
-v, --version Display current version of fabric peer server

Please let me know if anything is missing. I think issue is related to certificates.

For your reference, here is the Error in log file peer1.out =>

[main] main -> ERRO 001^[[0m Cannot run peer because error when setting up MSP from directory /opt/gopath/src/github.com/hyperledger/fabric/sampleconfig/crypto: err The supplied identity is not valid, Verify() returned x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "ca.hrl.ibm.il")

@skymvp001
Copy link

hi ,i had met the same problem.can you tell me you how to slove it?

@Exci
Copy link

Exci commented Jan 29, 2018

Hi,
This still seems to be an issue.
Any input on a possible solution?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants