Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

链码安装报错 #30

Open
tanqiyou1990 opened this issue Oct 26, 2018 · 3 comments
Open

链码安装报错 #30

tanqiyou1990 opened this issue Oct 26, 2018 · 3 comments

Comments

@tanqiyou1990
Copy link

tanqiyou1990 commented Oct 26, 2018

感谢大神的文档和代码贡献!
链码安装的时候报如下错误:
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
Copy link
Author

这个问题解决了,在链码通过你写的工具进行安装也成功了,但是在示例化的时候报如下错误:
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
大神能否指导一下

@RabSunshine
Copy link

感谢大神的文档和代码贡献!
链码安装的时候报如下错误:
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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants