IBM-Blockchain-Archive / marbles

WARNING: This repository is no longer maintained ⚠️ This repository will not be updated. The repository will be kept available in read-only mode.
Apache License 2.0
1.03k stars 979 forks source link

Getting error when i run node install_chaincode.js #141

Closed nirmal1988 closed 7 years ago

nirmal1988 commented 7 years ago

Using win10, 64bit and trying marbles V4 Getting error when i run node install_chaincode.js image

docker ps image

docker version image

mrshah-at-ibm commented 7 years ago

I see that install chaincode request is going to the CA localhost:7051 instead of the peer.. Can you update it to the peer localhost:7056 or localhost:7058 depending on which one is the API port and the other one is the event port?

dhyey20 commented 7 years ago

@mrshah-at-ibm It is actually going to peer peer0.org1. @nirmal1988 Can you also share the peer logs, do you see any error there?

nirmal1988 commented 7 years ago

Followed all the steps again in another VM and everything worked!!!!

Thanks @mrshah-at-ibm n @dhyey20

knagware commented 7 years ago

Hi, @mrshah,i am trying to install chaincode to cluster running on kubernetes inside Bluemix as container service, but it's failed due to peer key not found,, I think script trying to deploy localy... Do you have install chain code. Sh for kubernetes

mrshah-at-ibm commented 7 years ago

@knagware I have answered your question at https://github.com/IBM-Blockchain/ibm-container-service/issues/5.. You have to use your cluster's public IP address and the ports exposed by the services to communicate with the nodes.