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

instantiate chaincode error #51

Closed
0xwhatly opened this issue Jul 5, 2019 · 5 comments
Closed

instantiate chaincode error #51

0xwhatly opened this issue Jul 5, 2019 · 5 comments

Comments

@0xwhatly
Copy link

0xwhatly commented Jul 5, 2019

Execute the script to deploy hyperledger fabric network.

./setup_blockchainNetwork.sh

When the script is executed to instantiate the chain code,There is an error here.
image

Execute

kubectl get pod

image
Execute

peer chaincode list -C channel1  --installed

image

@0xwhatly
Copy link
Author

This question has puzzled me for several days.

@maheshwarishikha
Copy link
Contributor

@greatyaqi , did u change anything in scripts? If job/pod says..completed/successful....there should not be any error.

@0xwhatly
Copy link
Author

I am operating on the mac system.

@maheshwarishikha
image
Execute

kubectl get pod

image
Execute

kubectl logs -f chaincodeinstantiate-hr2wd

image

Execute

kubectl version --short

image

@maheshwarishikha
Copy link
Contributor

@greatyaqi , I notice that your client and server version are 1.10...but you have docker-dind* ... which should be there incase of IKS 1.11.x or greator.
Please refer to step 4 again in the documentation...and retry. It will work.
Thanks

@0xwhatly
Copy link
Author

0xwhatly commented Aug 5, 2019

@greatyaqi , I notice that your client and server version are 1.10...but you have docker-dind* ... which should be there incase of IKS 1.11.x or greator.
Please refer to step 4 again in the documentation...and retry. It will work.
Thanks

solved it!

@0xwhatly 0xwhatly closed this as completed Aug 5, 2019
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