如果出现以下错误
2018-01-25 08:11:11.384 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/gopath/src/github.com/hyperledger/fabric/peer/common/common.go:116 github.com/hyperledger/fabric/peer/common.GetEndorserClient
/opt/gopath/src/github.com/hyperledger/fabric/peer/channel/channel.go:149 github.com/hyperledger/fabric/peer/channel.InitCmdFactory
/opt/gopath/src/github.com/hyperledger/fabric/peer/channel/join.go:138 github.com/hyperledger/fabric/peer/channel.join
/opt/gopath/src/github.com/hyperledger/fabric/peer/channel/join.go:42 github.com/hyperledger/fabric/peer/channel.joinCmd.func1
/opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:599 github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).execute
/opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:689 github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).ExecuteC
/opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:648 github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).Execute
/opt/gopath/src/github.com/hyperledger/fabric/peer/main.go:118 main.main
/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
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
!!!!!!!!!!!!!!! After 5 attempts, PEER1 has failed to Join the Channel !!!!!!!!!!!!!!!!
================== ERROR !!! FAILED to execute End-2-End Scenario ==================
和以下错误
2018-01-25 08:12:03.436 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP
2018-01-25 08:12:03.436 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity
2018-01-25 08:12:03.442 UTC [grpc] Printf -> DEBU 003 Failed to dial orderer.example.com:7050: connection error: desc = "transport: authentication handshake failed: x509: certificate signed by unknown authority (possibly because of \"x509: ECDSA verification failure\" while trying to verify candidate authority certificate \"tlsca.example.com\")"; please retry.
Error: Error connecting due to rpc error: code = Internal desc = connection error: desc = "transport: authentication handshake failed: x509: certificate signed by unknown authority (possibly because of \"x509: ECDSA verification failure\" while trying to verify candidate authority certificate \"tlsca.example.com\")"
Usage:
peer channel create [flags]
Flags:
-c, --channelID string In case of a newChain command, the channel ID to create.
-f, --file string Configuration transaction file generated by a tool such as configtxgen for submitting to orderer
-t, --timeout int Channel creation timeout (default 5)
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
!!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
================== ERROR !!! FAILED to execute End-2-End Scenario ==================
都是因为环境遗留的问题
解决方式,重新关闭网络
./network_setup.sh down mychannel
相关推荐
fabric二进制文件-hyperledger-fabric-linux-amd64-1.4.0.tar 和hyperledger-fabric-ca-linux-amd64-1.4.0.tar
===> Downloading: https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric-ca/hyperledger-fabric-ca/linux-amd64-1.4.0/hyperledger-fabric-ca-linux-amd64-1.4.0.tar.gz ...
本文将深入探讨在搭建Hyperledger Fabric 1.4网络时,如何使用`hyperledger-fabric-ca-windows-amd64-1.4.7.tar.gz`这个文件以及其中的`bin`目录。 1. **Hyperledger Fabric CA**: Hyperledger Fabric CA是Fabric...
Hyperledger Fabric 1.2.0 platform-specific binaries for Windows Install Samples, Binaries and Docker Images中要下载的Binaries,官网非常难下
hyperledger-fabric-darwin-amd64-1.4.4.tar.gz官方文件 nstalling Hyperledger Fabric binaries ===> Downloading version 1.4.4 platform specific fabric binaries ===> Downloading: ...
HyperledgerFabric-V1.1._的二进制文件包 hyperledger-fabric-linux-amd64-1.1.0.tar.gz hyperledger-fabric-linux-amd64-1.1.1.tar.gz
在这个场景中,我们关注的是`hyperledger-fabric-ca-linux-amd64-1.5.2.tar.gz`,这是一个针对Linux 64位平台的Hyperledger Fabric证书颁发机构(CA)的特定版本。这个压缩包包含了运行和管理Fabric网络中身份验证和...
首先,我们关注的核心文件"hyperledger-fabric-linux-amd64-1.2.0.tar.gz",这是一个针对Linux 64位系统的压缩包,包含了Fabric的所有核心组件和必要的依赖库。在下载完成后,通过`tar -zxvf hyperledger-fabric-...
本篇文章将详细介绍如何在Windows AMD64架构上安装并使用`hyperledger-fabric-ca-windows-amd64-1.1.0`版本。 首先,`hyperledger-fabric-ca-windows-amd64-1.1.0.tar.gz`是一个针对Windows 64位系统的压缩包,包含...
《Hyperledger Fabric CA Linux AMD64 1.4.6:深入解析fabric-ca二进制文件》 Hyperledger Fabric CA Linux AMD64 1.4.6.tar.gz是一款专为Linux平台的AMD64架构设计的Hyperledger Fabric认证服务(Fabric CA)的二...
hyperledger-fabric-darwin-amd64-1.4.4.tar.gz ,包括Fabric 1.4.4 中的 bin 和 config 文件; 2.说明文件。 Installing Hyperledger Fabric binaries ===> Downloading version 1.4.4 platform specific ...
===> Downloading: https://nexus.hyperledger.org/content/repositories/releases/org/hyperledger/fabric-ca/hyperledger-fabric-ca/linux-amd64-1.4.0/hyperledger-fabric-ca-linux-amd64-1.4.0.tar.gz ...
hyperledger-fabric-linux-amd64-2.0.1.tar.gz
HyperledgerFabric-V2.1.0的二进制文件包hyperledger-fabric-linux-amd64-2.1.0.tar.gz
在linux下面部署fabri需要的镜像文件 hyperledger-fabric-ca-linux-amd64-1.4.4.tar
这个名为"hyperledger-fabric-linux-amd64-2.0.0.tar.gz"的压缩包文件,包含了Hyperledger Fabric 2.0.0版本的Linux 64位系统所需的所有组件,供开发者快速搭建和测试平台。 1. **Hyperledger Fabric概述** Hyper...
这个“hyperledger-fabric-linux-amd64-1.2.0”压缩包包含了适用于Linux AMD64架构的Fabric v1.2.0版本。 在压缩包中,有两个主要目录:“bin”和“config”。 **“bin”目录**: 这个目录包含了运行Hyperledger ...
在这个特定的压缩包“hyperledger-fabric-darwin-amd64-2.2.0.tar.gz”中,包含了Fabric 2.2版本针对MacOS操作系统的二进制文件,这使得在Apple设备上开发和运行Fabric网络变得可行。 1. **Fabric二进制文件**:在...
本文将详细讲解如何在Linux AMD64平台上安装并部署`hyperledger-fabric-linux-amd64-1.1.0-rc1.tar.gz`这个资源包,以及如何利用bootstrap脚本来搭建Fabric 1.1.0环境。 首先,`hyperledger-fabric-linux-amd64-...