案发现场:
- orderer节点报错:
deduplicate -> ERRO 02d Principal deserialization failure \
(MSP org1.xxx.com is unknown) for identity 0
- sdk报错:
/Channel/Application not satisfied: implicit policy evaluation failed - 0 \
sub-policies were satisfied, but this policy requires 1 of \
the 'Admins' sub-policies to be satisfied
分析
- 可以看得出应该是权限问题,也就是证书问题
- org1.xxx.com is unknown 可以看得出这个组织并未加入
- 那么...应该是config.yaml或configtx.yaml文件配置出了问题
解决
在经过了2天的详细排查后,找到了原因:
Org1的MSPID在config.yaml、configtx.yaml中不匹配,同一个组织配置的MSPID不一致
修改到一致即可解决~
网友评论