Parse Error when calling enrollment endpoint
See original GitHub issueRunning Fabric v1.0.0-alpha1 locally. “fabric-ca” container looks to be running and it says everything is successful when doing “network_setup.sh up”
Please advise. Thanks.
info: [FabricCAClientImpl.js]: Successfully constructed Fabric CA service client: endpoint - %j protocol=http, hostname=localhost, port=7054
debug: id admin secret adminpw
debug: msp_id Org1MSP
info: [crypto_ecdsa_aes]: This class requires a CryptoKeyStore to save keys, using the store: {"opts":{"path":"/Users/cso/.hfc-key-store"}}
error: Error: Calling enrollment endpoint failed with error [Error: Parse Error]
at ClientRequest.<anonymous> (/Users/cso/projects/marbles.v3/node_modules/fabric-ca-client/lib/FabricCAClientImpl.js:568:12)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at Socket.socketOnData (_http_client.js:368:9)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at TCP.onread (net.js:548:20)
error: [fcw] Failed to get enrollment marbles-e2ecli_default-mychannel-fabric-peer-1a Error: Failed to obtain an enrolled user
at ca_client.enroll.then.then.then.catch (/Users/cso/projects/marbles.v3/utils/fc_wrangler/enrollment.js:167:12)
at process._tickCallback (internal/process/next_tick.js:103:7)
error: [fcw] could not format error
error: could not enroll...
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Parse Error when calling enrollment endpoint #102 - GitHub
Running Fabric v1.0.0-alpha1 locally. "fabric-ca" container looks to be running and it says everything is successful when doing ...
Read more >Calling enrollment endpoint failed with error [Error: connect ...
I am trying to run the Hyperledger fabric Tuna app and getting the below error when running the regiseterAdmin.js
Read more >Parse Error: What It Is and How to Fix It - Lifewire
A parse error is an error message you sometimes get on Android devices when an app fails to install. The message itself is...
Read more >Hyperledger Fabric Failed to enroll admin Error ... - Edureka
When running the registerAdmin.js i get this error: Store path:/home/chaindev/.hfc-key-store Error: Calling enrollment endpoint failed with ...
Read more >Solved: Having JSON Parse error having body
Solved: Hello, I have an http trigger that is configured with object. Which is strange id the the body contains body "body" :...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
hey @ravengit were you able to solve the 404 error?? Im stuck at the same exact spot.
I think this issue is related to using http instead of https. So I’m closing this ticket.