heroes-service icon indicating copy to clipboard operation
heroes-service copied to clipboard

Error:user not found

Open jinugeojames opened this issue 6 years ago • 9 comments

when I run network I created this error pops up.

Unable to initialize the Fabric SDK: failed to create channel management client from Admin identity: failed to create resmgmt client due to context error: user not found

jinugeojames avatar Sep 27 '18 07:09 jinugeojames

Have you solved this problem?

hduwyj avatar Dec 03 '18 13:12 hduwyj

No,actually I moved to node sdk.

On Mon 3 Dec, 2018, 6:51 PM hduwyj <[email protected] wrote:

Have you solved this problem?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chainHero/heroes-service/issues/29#issuecomment-443707802, or mute the thread https://github.com/notifications/unsubscribe-auth/ANPocVr0ORap6r4sENp8VoY55BufQc1Eks5u1SVzgaJpZM4W8Frp .

jinugeojames avatar Dec 03 '18 13:12 jinugeojames

I can run on ubuntu 16.04, but I want to run on win10 and I get that error.

hduwyj avatar Dec 03 '18 13:12 hduwyj

I think its related to some admin enrollment.

jinugeojames avatar Dec 03 '18 13:12 jinugeojames

@jinugeojames It needs to map over to the user specified in your config.yaml file. I had this same issue.

selection_168 selection_169

fusionwarecorp avatar Feb 16 '19 00:02 fusionwarecorp

@antitoine I think we can close this issue.

sshmaxime avatar Apr 08 '19 09:04 sshmaxime

have it solved?

csquan avatar Dec 09 '20 04:12 csquan

For me this has also been a difficult issue to solve, another thing that works is using the users yaml instead of the cryptoPath like this:

organizations:
  Org1:
    mspid: Org1MSP
    users:
      Admin:
        cert:
          path: organizations/org1/users/[email protected]/msp/signcerts/cert.pem
        key:
          path: organizations/org1/users/[email protected]/msp/keystore/key.pem

Then you can see if there's an issue with your certificates and is easier to map the user.

afrancoc2000 avatar Dec 29 '21 12:12 afrancoc2000

Hi! I'm still having this issue and none of these solutions works. I am using fabric-chaincode-evm release-0.4 and fabric-samples version 2.2. I have this issue when I'm trying to run bin/fab3. Of course, before doing it I have set the environment variables required by fab3 and launched the command make fab3. Can anyone help me?

Lando-Ant avatar Nov 05 '22 10:11 Lando-Ant