hyperledger fabric invoke.js “Error: 2 UNKNOWN: access denied: channel [mychannel] creator org [Org1MSP]”

旧时模样 提交于 2019-12-03 22:16:11

Though there are limited information shows above, the peer log give the essential hint about the problem:

WARN 044 channel [mychannel]: MSP error: the supplied identity is not valid: x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "ca.org1.example.com" 

Here is the suggestions that may help your to solve this problem:

  1. Change your peer's logging level to DEBUG on docker-compose file, you will be more easily to find the solution followed by the debug information.
  2. Make sure your CA container is running and its logs not throws out error, like some certifications verify error, which commonly causes by wrong configuration.
  3. Now that the logs shows up some information about x509 ECDSA, which related to the signature and and the peers endorsement keycert. Also, this keycerts may storage on /tmp/hfc-key-store or any other place that you defined on you code. Try to clean up this temporary file and restart network again.
  4. Noticed that your are using the fabric-sample repo, I think this problem may not caused by some code issues since you just modified a few parameters. So I recommend you to follow this tutorial to get the right step.
Ramananda Panda

I came across similar issue.

I found out then channel name in network config and the channel I created was different. So I changed the channel name in the network config and it got fixed.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!