Hyperledger Fabric安装问题-环境残留问题

如果出现以下错误

复制代码
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
最新超详细的 Hyperledger Fabric2.2 环境搭建 部署 写在前面:本文章会详细介绍fabric最新版本(fabric2.2)的环境部署,以及在搭建过程中博主遇到一些坑,希望可以帮助到你们。 博主环境机器:VMware Ubuntu20.4 写于2020/7/29 感谢博文以及参考文章:https://www.cnblogs.com/cbkj-xd/p/11067790.html https://blog.youkuaiyun.com/qq_43681877/article/det... 阅读详情

相关推荐

hyperledger fabric 2.0(一)环境搭建以及测试网络部署

一、基础环境整理(可参照:https://blog.youkuaiyun.com/tianshuhao521/article/details/83892178 https://blog.youkuaiyun.com/tianshuhao521/article/details/83894142) 1、安装curl: # yum install curl 安装成功后查看版本: # curl --version ...

tianshuhao521的博客 1万+

关于Error: error getting endorser client for channel: endorser client failed to connect to peer0问题的解决

最近都在搞fabric的环境配置,今天遇到了一个问题,就是自动配置fabric1.4网络的时候遇到了:Error: error getting endorser client for channel: endorser client failed to connect to peer0这个问题: 这个时候我们这样操作: 首先我们把网络停止: ./byfn.sh -m down -c jschannel 我们在输入:sudo vim /etc/resolv.conf 我们将optins这句.

lakersssss24的博客 2万+

Hyperledger Fabric 环境搭建及Fabric 测试网络使用(区块链、联盟链)

系统环境: [root@localhost ~]# cat /proc/version Linux version 3.10.0-1160.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Mon Oct 19 16:18:59 UTC 2020 官网手册: https://www.hyperledger.org/use/fabric 软

A&Long 1万+

HyperLedger Fabric 错误记录

为什么80%的码农都做不了架构师?>>> ...

weixin_34314962的博客 512

Hyperledger Fabric/Fabric-samples 安装及使用(Mac)

1.清单 brew Git cUrl docker docker-compose GoLang 2.开始安装 2.1 Git mac自带git,也可自行安装:brew install git 2.2 curl brew install curl 2.3 docker brew install docker 2.4 docker-compose 无需操作,docker安装完成后,也含有了docker-compose 以上安装细节也可自行百度,网上都有^.^ 2.5 GoLang 1&

weixin_44681233的博客 1万+

HyperLedger Fabric实战(一):基础环境构建

简介 本文将介绍从一台裸机上面如何构建出一个可用的Fabric网络(单机版,非测试网络)。 基础环境构建 Fabric组件安装

yindarui 1万+

error getting endorser client for channel: endorser client failed to connect to XXX 问题的解决方案

在启动hyperledger fabric 的示例程序( first network)的过程中遇到了 error getting endorser client for channel: endorser client failed to connect to peer1.org1.example.com:7051: failed to create new connection: context deadline exceeded peer1.org1 failed to join the channe

目前专注区块链相关技术的学习与分享 3403

Centos7中HyperLedger Fabric的安装部署

1、Fabric源码安装 HyperLedger Fabric的源码托管在GitHub上,托管地址为https://github.com/hyperledger/fabric 工具编译需要用倒Go语言环境,源码目录会放在 $GOPATH路径下 可以通过Git命令下载源码,或者go get命令获取,这里使用go get命令 go get github.com/hyperledger/fabric ...

unsafe.Pointer 2748

ETCD错误

1: connection error: desc = \"transport: authentication handshake failed: x509: certificate signed bknown authority\""} Error: context deadline exceeded 原因: k8s现在使用的是etcd v3,必须提供ca、key、cert,否则会出现Error: context deadline exceeded 不加–endpoint参数时,默认访问的12.

learnalwaystodie的博客 2574

Hyperledger Fabric环境搭建流程记录详解

Fabric环境搭建记录 : 什么是超级账本Fabric: 1、Fabric的本质: 与一般区块链技术的相同点:Fabric与其他区块链技术一样,都有一个账本。和以太坊相像,也允许使用智能合约。从本质上看,它是参与者共同管理交易的系统,是联盟链的典型应用。 2、与一般区块链技术的不同点: 具有多种节点类型。不同节点赋予了不同的功能,增加了交易处理效率。 拥有准入资格授权机制。要成为超级账本...

AxlWu的博客 2014

手把手教你用SysMax桥接软件搞定CANoe、INCA和刷写工具(附驱动配置避坑点)

本文详细介绍了如何使用SysMax PCAN FD桥接软件实现CANoe、INCA和刷写工具的无缝对接,提供从驱动配置到多软件协同的全链路指南。重点解析了驱动安装避坑点、CANoe配置技巧、INCA集成方法以及刷写工具链优化方案,帮助汽车电子工程师构建高效开发环境。

weixin_30500105的博客 391

区块链——Hyperledger Fabric2.2多机搭建及区块链浏览器(修改版)

参考(内容有错误,已修改): 区块链——Hyperledger Fabric2.2多机搭建及区块链浏览器前提: order---10.10.10.65,org1---10.10.10.64,org2---10.10.10.53三台服务器都要设置vim /etc/hosts 3、安装golang环境 二、生成Fabric证书(order上执行) 克隆项目fabric和fabric-samples git clone https://gitee.com/hyperledger/fabric.git

qq_43197915的博客 2779

搭建Hyperledger Fabric环境 的详细步骤,超级详细

本教程是跟着 某硅谷 三年前的视频一点点实现的。但是,跟着教程走,会出现很多视频里面没有出现过的问题,本文着重讲解搭建过程碰到的问题及解决方案!!1、 安装docker (见我之前的教程)2、安装docker-compose3、安装Golang 4. 安装node.js5、安装Git最好先更新apt-get,否则可能会下载版本很旧的git,这是个好习惯,在下载任何包的时候,最好都更新一下工具下面的截图是我学习的教程里面的截图, 但是在我操作的过程中会总有些镜像拉取不下来! 原因:因为官方的sh文件存在版

目前专注区块链相关技术的学习与分享 1万+

Win10文件夹只读属性自动恢复?彻底解决方法解析

Win10文件夹只读属性自动恢复?彻底解决方法解析在Windows系统使用过程中,文件权限管理常会遇到棘手问题。最近多位用户反馈:取消文件夹只读属性后,系统却自动恢复该设置,导致无法正常复制或修改文件。本文将深入分析该现象的产生原因,并提供多种解决方案,帮助开发者彻底摆脱权限困扰。

mmoo_python的博客 7526

STM32F4使用CUBEMX ADC定时采样+DMA

STM32、FFT、ADC、TIM

m0_62379750的博客 4223

hyperledger fabric 2.3.3 搭建教程

hyperledger fabric 2.3.3搭建教程一、hyperledger fabric 环境搭建1. 安装curl,Git,pip并更新1.1 安装pip并更新1.2 安装curl,Git2. Golang 安装配置3. 安装Docker4. 安装Docker Compose5. 下载fabric和fabric-ca6. 拉取最新docker镜像(hyperledger fabric 2.x需要)7. 运行测试 一、hyperledger fabric 环境搭建 在项目开始,先搭建hyperled

weixin_44062177的博客 2万+

从零搭建 C# + YOLO 工业视觉系统:从模型训练到上位机部署(工业级落地)

做工业质检、自动化生产线的同学都懂:一套能用的工业视觉系统,既要“检测准”,又要“界面易操作”,还要“部署稳”。之前帮某电子厂做PCB缺陷检测,一开始用Python+YOLO做检测核心,QT做上位机,结果踩了无数坑:Python推理速度波动大,QT和Python跨语言集成繁琐,数据传递容易卡顿;后来换成C# + YOLO的组合,直接打通了“模型训练-上位机开发-工业部署”全流程——C#的WinForms/WPF开发上位机高效,工业相机SDK支持完善;

这里只有干货:从 Modbus 通信到 MES 对接,从 YOLO 训练到工控机部署,带你搞定工业软件开发全流程。 737

ubuntu环境下安装hyperledger fabric

ubuntu下hyperledger fabric的安装和测试

Toyenk的博客 1万+

YOLOv11改进策略【卷积层】| TIP 2025 MFA 多阶段特征聚合 大核扩感受 + 多梯度融合,强效增强弱小目标特征

红外弱小目标尺寸极小、信噪比低,在特征传递中极易丢失信息;常规卷积感受野单一、梯度源不足,难以同时捕捉局部细节与全局上下文,导致小目标特征表达弱、检测漏检。因此提出多阶段特征聚合 MFA,用大核卷积+多分支+通道注意力强化小目标特征提取。

Limiiiing的博客 585

【YOLOv11改进 - 特征融合】SDI:多层次特征融合模块,替换contact操作

【YOLOv11改进 - 特征融合】SDI:多层次特征融合模块,替换contact操作

专注于图像领域,主要研究内容包括计算机视觉和深度学习,特别是在图像分类、目标检测和图像生成等方面有深入的研究和实践经验。 1771

【hyperledger fabric 环境配置】ubuntu 安装fabric并运行起来

首先这篇文章的目的是教会大家如何在ubuntu系统上安装hyperledger fabric并运行起来,因为目前网络上所有的教程都是之前的fabric版本,然而现在的fabric版本相较于之前版本已经改变了很多,如果使用之前的方法来安装fabric是不能成功运行的。

DK34687的博客 3138

微信小程序 - 详细实现打开跳转第三方 H5 网页链接,在微信小程序内直接跳转打开第三方网站链接详细教程(支持跳转公众号文章等,直接复制代码即可)

小程序跳转h5,小程序-Taro小程序中打开h5页面链接,...小程序跳转h5链接(web-view)_微信小程序,小程序如何跳转h5页面,小程序跳转到第三方H5网页,微信小程序跳转第三方H5的方法,小程序-实现怎么跳转打开H5网页链接(或跳转至公众号文章,打开第三方网站,放校验文件,怎么配置业务域名,校验文件验证域名,把校验文件放到对面网站,别人的服务器也打不开没权限怎么放呢,勾选不校验合法域名,txt,打不开别人的网页怎么办,真机调试打不开,无法跳转,有什么其他办法不放校验文件吗,后台配置,怎么

🏆 前端领域优质创作者 3万+

【Hyperledger Fabric2.3环境搭建】

腾讯云:轻量服务器(Ubuntu22.04-docker26)由于我的环境是基于docker的Ubuntu服务器,服务器含有docker环境,因此不需要下载docker。没有docker的需要下载docker、docker-compose。

weixin_45950943的博客 2277

jre9下载 jdk9

(Java SE Runtime Environment 9.0) 9.0u175 官方最新版 【x86|x64】

jdk-8u144-linux-x64.tar.gz.

该资源为搭建Linux系统Java环境用,资源的后缀为tar.gz格式的压缩包

Ubuntu20.04下安装fabric2.4环境 从零开始超详细步骤【亲测有效】及Hyperledger Explorer安装

1. 前期准备: 这几个前提都只要敲一行命令就可以,非常简单。 安装vim sudo apt-get install vim 安装git sudo apt-get install git 安装curl sudo apt-get install curl 安装wget sudo apt-get install wget 2. 安装docker: 官方文档中有写,一键安装即可,很方便 sudo apt-get -y install docker-c...

caoyongsheng的博客 1万+

Data-Structures-and-Algorithm-Analysis-in-Java.pdf

作者: Weiss, Mark A. 出版社: Addison Wesley Data Structures and Algorithm Analysis in Java is an “advanced algorithms” book that fits between traditional CS2 and Algorithms Analysis courses. In the old ACM Curriculum Guidelines, this course was known as CS7. This text is for readers who want to learn good programming and algorithm analysis skills simultaneously so that they can develop such programs with the maximum amo...

上一篇: 技术文档
下一篇: Hyperledger Fabric安装问题-阿里云环境问题
weishiym
博客等级 码龄19年 27粉丝 29原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值