Caliper测试网络性能报错problem reading the PEM file :: Error: ENOENT: no such file xxx /keystore/key.pem‘

   日期:2020-09-27     浏览:176    评论:0    
核心提示:运行以下命令时报错npx caliper launch master --caliper-workspace . --caliper-benchconfig benchmarks/scenario/simple/config.yaml --caliper-networkconfig networks/fabric/fabric-v1.4.1/2org1peergoleveldb/fabric-go.yaml首先是提示拉取镜像失败:Get https://registry-1.d

运行以下命令时报错

npx caliper launch master     --caliper-workspace .     --caliper-benchconfig benchmarks/scenario/simple/config.yaml     --caliper-networkconfig networks/fabric/fabric-v1.4.1/2org1peergoleveldb/fabric-go.yaml

首先是提示拉取镜像失败:Get https://registry-1.docker.io/v2/hyperledger/fabric-ca/manifests/1.4.1: net/http: TLS handshake timeout

然后报错如下:problem reading the PEM file :: Error: ENOENT: no such file or directory, open ‘/home/yujialing/go/src/github.com/hyperledger/caliper-benchmarks/networks/fabric/config_solo/crypto-config/peerOrganizations/org1.example.com/users/Admin@org1.example.com/msp/keystore/key.pem’

vim /etc/docker/daemon.json
{ 
"registry-mirrors":["https://registry.docker-cn.com"]
}

重启docker

systemctl restart docker

查看docker信息

docker info

问题解决!
再次运行

 
打赏
 本文转载自:网络 
所有权利归属于原作者,如文章来源标示错误或侵犯了您的权利请联系微信13520258486
更多>最近资讯中心
更多>最新资讯中心
0相关评论

推荐图文
推荐资讯中心
点击排行
最新信息
新手指南
采购商服务
供应商服务
交易安全
关注我们
手机网站:
新浪微博:
微信关注:

13520258486

周一至周五 9:00-18:00
(其他时间联系在线客服)

24小时在线客服