fabric错误集 1

[channel: assetschannel] Rejecting broadcast of config message from 172.26.0.7:56920 because of error: error authorizing update: error validating ReadSet: readset expected key [Group] /Channel/Application at version 0, but got version 1

解决方案
清理docker缓存:docker volume prune

Error: got unexpected status: BAD_REQUEST – error authorizing update: error validating DeltaSet: policy for [Group] /Channel/Application not satisfied: Failed to reach implicit threshold of 1 sub-policies, required 1 remaining

在这里插入图片描述

方案1

  1. 原因:由于启动过网络并且更新了证书,在没有删除干净的环境中启动复用的之前的volume,所以导致证书认证失败。
    解决方案:执行如下命令删除卷
docker rm  $(docker ps -a | grep "hyperledger/*" | awk "{print \$1}") && \
docker-compose down --volumes --remove-orphans && \
docker volume prune && \
docker network prune 

方案2

  1. 配置文件生成错误
    我在修改配置时候把 CORE_PEER_MSPCONFIGPATH 该配置给注释掉了

Error: failed to create deliver client: orderer client failed to connect to orderer.example.com:7050: failed to create new connection: context deadline exceeded

在这里插入图片描述


方案1
请确认orderer节点是否正常启动

你可能感兴趣的:(hyperledger,Hyperledger,Fabric)