fabric-net-server icon indicating copy to clipboard operation
fabric-net-server copied to clipboard

链码安装报错

Open tanqiyou1990 opened this issue 6 years ago • 3 comments

感谢大神的文档和代码贡献! 链码安装的时候报如下错误: Sending proposal to peer0 failed because of: gRPC failure=Status{code=UNKNOWN, description=chaincode error (status: 500, message: Authorization for INSTALL has been denied (error-Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [This identity is not an admin])), cause=null} 请问这个要怎么解决?

tanqiyou1990 avatar Oct 26 '18 08:10 tanqiyou1990

这个问题解决了,在链码通过你写的工具进行安装也成功了,但是在示例化的时候报如下错误: Error: Error endorsing chaincode: rpc error: code = Unknown desc = error starting container: Failed to generate platform-specific docker build: Error returned from build: 1 "can't load package: package sharedLedger: cannot find package "sharedLedger(这个是我上传的时候zip文件名)" in any of: /opt/go/src/sharedLedger (from $GOROOT) /chaincode/input/src/sharedLedger (from $GOPATH) /opt/gopath/src/sharedLedger 大神能否指导一下

tanqiyou1990 avatar Oct 29 '18 09:10 tanqiyou1990

感谢大神的文档和代码贡献! 链码安装的时候报如下错误: Sending proposal to peer0 failed because of: gRPC failure=Status{code=UNKNOWN, description=chaincode error (status: 500, message: Authorization for INSTALL has been denied (error-Failed verifying that proposal's creator satisfies local MSP principal during channelless check policy with policy [Admins]: [This identity is not an admin])), cause=null} 请问这个要怎么解决?

你好,请问这个怎么解决的?

RabSunshine avatar Nov 21 '18 09:11 RabSunshine

@tanqiyou1990 请问 This identity is not an admin 这个问题您怎么解决的?感谢

RabSunshine avatar Nov 21 '18 10:11 RabSunshine