-
Notifications
You must be signed in to change notification settings - Fork 495
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 enroll admin user + Error: Calling enrollment endpoint failed #84
Comments
@cgironda please make sure to follow the prerequisites as shown in the instructions:
The error you are facing is likely because:
Furthermore, make sure the caName, orgMSPID, appAdmin, appAdminSecret in your If you are still running into the same issue, it could be the way that you have built your network maybe incorrect. Please let me know if this fixes it. |
when you are running enrollAdmin.js, you are referencing the kubernetes cluster nodes that you have deployed as part of https://github.com/IBM/build-blockchain-insurance-app#step-1-create-ibm-cloud-services So make sure you are referencing the correct URLs to the cluster, and each time you enroll a different appAdmin, you will need to update the config.json file, as shown in the gifs in step 9. |
@horeaporutiu , thanks for your reply. As you mentioned, this error is likely unrelated to the node version. However, I changed it to The steps below summarize the process I followed in the tutorial:
The best of all is that I followed the same process at home, and everything works well. I was wondering why this process does not work in my workplace if I have the same MacOS version with all the prerequisites satisfied in both machines, i.e., same configuration. I built the IBM Blockchain Network in my workplace, and I used the JSON files that I downloaded to recover the identities in the wallet when I opened the IBM Blockchain console in my computer at home. I started to think that the proxy configuration in my job would be causing the problem. Maybe I have to tell my network not to use proxy with some hosts. Anyways, the If you can give me a hand on this would be great. Thank you. |
could you try something out for me? Go ahead and create a new insurance app-admin identity from your insurance CA. This will be the same step as this one: https://github.com/IBM/build-blockchain-insurance-app#create-insurance-application-admin except you will want to create a new enroll ID and enroll secret, such as the following. Enroll ID: Make sure to add the atrribute So your updated
If this does not work, then this is likely a problem with the network. |
Hi @horeaporutiu, Sorry for the delay in this reply. I followed your steps above without success, but I should make a final confirmation this Thursday (8/8) with a different network. In the meanwhile, I was wondering if you can guide me to tell my network not to use the proxy for certain hosts used to run the docker images in the tutorial. In order to have a better picture of what I am asking, please check the link below: https://stackoverflow.com/questions/57194706/using-vs-code-extension-containers-doesnt-run-for-the-hyperledger-fabric Any help would be highly appreciated. |
Hi,
Thanks to read this issue.
Behind a proxi correctly configured and under the following configuration:
node -v
:v8.16.0
orv10.16.0
npm -v
:v6.9.0
I executed the Step 9. Enroll App Admin Identities, of the tutorial:
https://github.com/IBM/build-blockchain-insurance-app#step-9-enroll-app-admin-identities
obtaining the error below:
This error seems to appear when docker "containers are not available", but please can you confirm that issue?.
Thank you
The text was updated successfully, but these errors were encountered: