Error: got unexpected status: BAD_REQUEST....... Channel/Application at version 0, but got version 1

错误:创建通道

命令:
peer channel create -o orderer.example.com:7050 -c testchannel -f ./channel-artifacts/channel.tx --tls true --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem
命令结果:
2021-11-22 15:20:14.724 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized
Error: got unexpected status: BAD_REQUEST -- error authorizing update: error validating ReadSet: readset expected key [Group]  /Channel/Application at version 0, but got version 1

截图:
Error: got unexpected status: BAD_REQUEST....... Channel/Application at version 0, but got version 1
错误原因:通道已存在
参考博文:https://www.jianshu.com/p/248530bf31b8

上一篇:如何用纯 CSS 创作一只徘徊的果冻怪兽


下一篇:测试驱动开发