When running the enrollAdmin.js i get this error:

0 votes
Wallet path: C:\Users\Nibir Hira\go\src\github.com\hyperledger\fabric-samples\fa
bcar\javascript\wallet
2019-03-29T04:07:44.902Z - error: [FabricCAClientService.js]: Failed to enroll a
dmin, error:%o message=Calling enrollment endpoint failed with error [Error: con
nect ECONNREFUSED 127.0.0.1:7054], stack=Error: Calling enrollment endpoint fail
ed with error [Error: connect ECONNREFUSED 127.0.0.1:7054]
    at ClientRequest.request.on (C:\Users\Nibir Hira\go\src\github.com\hyperledg
er\fabric-samples\fabcar\javascript\node_modules\fabric-ca-client\lib\FabricCACl
ient.js:487:12)
    at emitOne (events.js:116:13)
    at ClientRequest.emit (events.js:211:7)
    at Socket.socketErrorListener (_http_client.js:387:9)
    at emitOne (events.js:116:13)
    at Socket.emit (events.js:211:7)
    at emitErrorNT (internal/streams/destroy.js:64:8)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)
Failed to enroll admin user "admin": Error: Calling enrollment endpoint failed w
ith error [Error: connect ECONNREFUSED 127.0.0.1:7054]
Mar 29, 2019 in Blockchain by anonymous

recategorized Mar 29, 2019 by Omkar 962 views

Have you installed rpc? If you, install it and try again:

$ npm install grpc​
Hi. Please check if you are the proper private key
Hi. I installed rpc but I still have the same error.

What do you mean with the proper private key?
Hey!

1. Are you running this on docker?

2. Can you mention the key store path?

1 answer to this question.

0 votes
you are not running the ca, port 7054 points to it. you have to start the ca so it can issue certs
answered Jun 7 by sumit

Related Questions In Blockchain

+3 votes
1 answer

When I ran truffle init, I got this error:

Hey there @Davidala! The error says that it ...READ MORE

answered Oct 29, 2018 in Blockchain by Omkar
• 69,030 points
120 views
0 votes
1 answer

Why is it downloading the blocks when I am trying to deploy the ethereum private network?

Once you have installed the Ethereum wallet, ...READ MORE

answered May 3, 2018 in Blockchain by Shashank
• 10,380 points
87 views
0 votes
1 answer

How can I get into the development of blockchain decentralized applications?

try Microsoft Blockchain as a service, they ...READ MORE

answered Jun 29, 2018 in Blockchain by Shashank
• 10,380 points
69 views
0 votes
1 answer
0 votes
1 answer

Invalid Batch or signature in Savtooth

This will solve your problem import org.apache.commons.codec.binary.Hex; Transaction txn ...READ MORE

answered Aug 1, 2018 in Blockchain by digger
• 26,670 points
201 views
+1 vote
1 answer