cli启动时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

参考链接:https://github.com/IBM-Blockchain/marbles/issues/147

       https://jira.hyperledger.org/browse/FAB-8591

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

此问题是历史数据未清除干净,可能造成的原因:由于在本机尝试过fabric的e2e_cli,fabric-samples的first-network启动部署测试,多个启动时未正常关闭,根源是由于有一个已经存在的channel,阻止进一步的执行而引起的

个人的解决方法:

分别在两个目录下执行结束任务的shell:

e2e_cli--------->:./network_setup.sh down

first-network--->:./byfn.sh -m down      

猜你喜欢

转载自www.cnblogs.com/LeroyLeee/p/9099074.html