其他分享
首页 > 其他分享> > Error: got unexpected status: BAD_REQUEST....... Channel/Application at version 0, but got version 1

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

截图:
在org2的服务里创建通道
错误原因:通道已存在
参考博文:https://www.jianshu.com/p/248530bf31b8

标签:status,orderer,version,got,com,example,channel
来源: https://blog.csdn.net/zhuanglicheng/article/details/121483366