kshitijyelpale / blockchain-hyperledger-fabric-electronic-patient-records

GNU General Public License v3.0
48 stars 43 forks source link

Deploying chaincode failed #60

Open gayatri9213 opened 2 years ago

gayatri9213 commented 2 years ago

After running " ./network.sh deployCC " I am getting " Error: endorsement failure during invoke. response: status:500 message:"error in simulation: failed to execute transaction 8dfddb5851387b43271461bdb76bc3549e42c2807b5a1147d301fd9456d9290e: could not launch chaincode patient_1.0:c7e485e1f90be749d9ed1e6e3eda48196936200c28e3dcd27da6ff4ef6fd84c7: error starting container: error starting container: API error (404): network _hospital not found" Invoke execution on peer0.hosp1 peer0.hosp2 failed " this error.

sjathin commented 2 years ago

Hi Gayatri,

I have fixed this issue in the repo - https://github.com/sjathin/blockchain-hyperledger-fabric-in-medical There is one extra commit. You can apply those changes and try them. Let me know if this issue still exists.

Thanks, Jathin

Smindlondz commented 1 year ago

after running: ./network.sh deployCC I am getting the following error-

Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image build failed: docker build failed: Error returned from build: 1 "+ INPUT_DIR=/chaincode/input