我对Hyperledger Fabric和Convector框架非常陌生,并且已经按照本教程进行操作: https://worldsibu.github.io/convector/modules/getting_started.html
当我尝试使用CLI工具并运行命令时(test
是我的链码名称):
npm run cc:start -- test 1
它出现以下错误:
Installing Chaincode test version 1.0 at org1
Error: Error endorsing chaincode: rpc error: code = Unknown desc = access
denied: channel [] creator org [org1MSP]
...
Installing Chaincode test version 1.0 at org2
Error: error getting endorser client for install: endorser client failed to
connect to localhost:7151: failed to create new connection: context deadline
exceeded
我尚未更改配置和MSP。 出了什么问题,我应该如何开始解决问题?任何指导表示赞赏!
答案 0 :(得分:0)
@shole现在不推荐使用该文档,您可以使用http://docs.worldsibu.com/convector作为最新版本。
关于您的错误,通常在环境损坏并保留先前安装的加密材料时发生,请尝试重新运行npm run env:restart
,然后重试。