fabric,peer channel create报错:Error: got unexpected status: BAD_REQUEST -- error authorizing update:

hyperledger fabric的cli在peer channel create 时报错:

Error: got unexpected status: BAD_REQUEST -- error authorizing update: error validating ReadSet: readset expected key [Group]  /Channel/Application/Org1MSP at version 0, but got version 1

原因:上一次的网络有残留。

如果上一次是通过 ./byfn up类似的命令启动的网络,并且用docker-compose down结束的网络,再次启动会出现这个错误。

用./byfn down清理一下

然后就没问题了。

猜你喜欢

转载自blog.csdn.net/wwqcherry/article/details/106718831