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

In web-app, chaincode error is shown after login to student account #5

Open
victoryeo opened this issue May 5, 2022 · 0 comments
Open

Comments

@victoryeo
Copy link

victoryeo commented May 5, 2022

The error is:
make sure the chaincode fabcar_1.0 has been successfully defined on channel mychannel and try again: chaincode fabcar_1.0 not found

I have installed the chaincode on org1.

$ peer lifecycle chaincode install fabcar.tar.gz
2022-05-05 14:31:37.347 +08 [cli.lifecycle.chaincode] submitInstallProposal -> INFO 001 Installed remotely: response:<status:200 payload:"\nKfabcar_1.0:64f5c30f50d7138dca852efd04d96ff0f8c5f55682b1b0e2d6e7a82b143fa1aa\022\nfabcar_1.0" > 
2022-05-05 14:31:37.347 +08 [cli.lifecycle.chaincode] submitInstallProposal -> INFO 002 Chaincode code package identifier: fabcar_1.0:64f5c30f50d7138dca852efd04d96ff0f8c5f55682b1b0e2d6e7a82b143fa1aa
$ peer lifecycle chaincode queryinstalled
Installed chaincodes on peer:
Package ID: fabcar_1.0:64f5c30f50d7138dca852efd04d96ff0f8c5f55682b1b0e2d6e7a82b143fa1aa, Label: fabcar_1.0

But i am not able to install chaincode on org2

$ peer lifecycle chaincode install fabcar.tar.gz
Error: chaincode install failed with status: 500 - error in simulation: failed to execute transaction cc03b4d17018a6686b5ee1f7604eb152cae42d26d053934216cba78510b8394c: error sending: timeout expired while executing transaction
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

1 participant