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

Failed to launch the API #3

Open
Parkerlee0619 opened this issue Aug 26, 2023 · 1 comment
Open

Failed to launch the API #3

Parkerlee0619 opened this issue Aug 26, 2023 · 1 comment

Comments

@Parkerlee0619
Copy link

I successfully built the Fabric network, created the channel and installed the chaincode, but I got an error when I launch the Client API. My K8s cluster got all the nodes and pods mentioned at the end of the tutorial running, but when I tried to start the API, it got these errors:

error: [FabricCAClientService.js]: Failed to enroll enroll, error:%o message=Calling enroll endpoint failed with error [Error: connect ECONNREFUSED ::1:443], stack=Error: Calling enroll endpoint failed with error [Error: connect ECONNREFUSED ::1:443]
at ClientRequest. (/fabric/tutorial/meetup-k8s-hlf-2023/client/node_modules/fabric-ca-client/lib/FabricCAClient.js:327:19)
at ClientRequest.emit (node:events:513:28)
at TLSSocket.socketErrorListener (node:_http_client:502:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at processTicksAndRejections (node:internal/process/task_queues:82:21), errno=-111, code=ECONNREFUSED, syscall=connect, address=::1, port=443
Error: Calling enroll endpoint failed with error [Error: connect ECONNREFUSED ::1:443]
at ClientRequest. (/fabric/tutorial/meetup-k8s-hlf-2023/client/node_modules/fabric-ca-client/lib/FabricCAClient.js:327:19)
at ClientRequest.emit (node:events:513:28)
at TLSSocket.socketErrorListener (node:_http_client:502:9)
at TLSSocket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
[ERROR] 12:02:25 Error: Calling enroll endpoint failed with error [Error: connect ECONNREFUSED ::1:443]

@Giorgiovisco
Copy link

Hi i am getting the same issue, did you manage to resolve it?

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