fabricDeployment
fabricDeployment copied to clipboard
Error on "Joining peers to channel"
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")
hi ,i had met the same problem.can you tell me you how to slove it?
Hi, This still seems to be an issue. Any input on a possible solution?