无法对身份进行分类:无法从对等身份中提取Msp.Identity

我已经建立了光纤网络,该网络由3org组成,每2个对等点总共6个对等点。我正在使用3个对等点进行chaincode的背书,并使用其他3个对等点进行锚点的对等。当我运行光纤网络时,它的工作原理。我已经使用以下命令创建了通道事务并锚定了对等事务

  export CHANNEL_ONE_NAME=mychannel
  export CHANNEL_ONE_PROFILE=Mychannel

./bin/configtxgen -profile ${CHANNEL_ONE_PROFILE} -outputAnchorPeersUpdate ./channel- artifacts/Org1MSPanchors_${CHANNEL_ONE_NAME}.tx -channelID $CHANNEL_ONE_NAME -asOrg Org1MSP

创建

Org1MSPanchors_mychannel
Org2MSPanchors_mychannel
Org3MSPanchors_mychannel

在Docker容器内部

peer channel update -o orderer.avantas.com:7050 -c mychannel -f /opt/gopath/src/github.com/hyperledger/fabric/peer/channel-artifacts/Org1MSPanchors_mychannel.tx --tls --cafile $ORDERER_CA
我拥有所有3个对等方的加入频道,并且也更新了锚点对等方。 当我更新3个锚点对等方中的anchorchannel事务时,它给我错误提示
  

错误身份验证失败:身份分类失败:无法从对等身份中提取msp.Identity

     

WARN身份存储拒绝192.168.16.2:33260:无法对身份进行分类:无法从对等身份中提取msp.Identity

     

信息流调用已完成grpc.service = gossip.Gossip grpc.method = GossipStream grpc.peer_address = 192.168.16.2:33260,无法验证。没有MSP能够做到这一点。“ grpc.code =未知grpc.call_duration = 7.2664ms

jxl8411185 回答:无法对身份进行分类:无法从对等身份中提取Msp.Identity

锚点对等点必须是锚点所在的渠道以及认可对等点。

根据您对6个对等方的描述,您仅加入3个。目前尚不清楚您是仅加入背书还是锚定对等方,但是如果您不加入锚定对等方,则可能会观察到行为。

本文链接:https://www.f2er.com/3154213.html

大家都在问