Giter Site home page Giter Site logo

Comments (5)

vanitas92 avatar vanitas92 commented on August 11, 2024 1

Hi @zhangfuli ,

Please open new issue if you have different request not related from original poster in an already closed issue, otherwise it makes it difficult to track issue requests.

As per your request, this could be due to two possibilities, either the External builder was not correctly mounted on the peer (make sure you have the configmap from the builders-config.yaml file in org1 folder applied) or the External Builder did not detect the external value in the metadata.json file and fellback to original Docker building implementation, which is intentionally avoided in this project.

For the first possibility, if you have been following the tutorial i highly doubt it is the issue since the configmap needs to be deployed previously the deployment of the peer, which in case of absence of it, the peer would not be able to start.

For the second possibility, make sure you had packaged correctly the chaincode format as explained in the tutorial, otherwise the external builder would not be able to detect it and install it as external chaincode. Check the logs of the peer (kubectl logs peer_pod_name -n hyperledger | grep external) and see what message outputs the external builder after executing the install command.

from fabric-external-chaincodes.

vanitas92 avatar vanitas92 commented on August 11, 2024

This is the first time i see this error. Seems like the genesis block has not been encoded correctly. Can you try to start from the beginning and see if it happens again?

from fabric-external-chaincodes.

zhangfuli avatar zhangfuli commented on August 11, 2024

I got an error when installing chaincode on peer node too, but I got this:

Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image inspection failed: cannot connect to Docker endpoint

So it seems it cannot connect to the Docker endpoint. But I cannot find how to fix this.
If you have an idea, it would help a lot!

from fabric-external-chaincodes.

zhangfuli avatar zhangfuli commented on August 11, 2024

@vanitas92 Thank you for your reply
I have found the problem that these 3 scripts have no execution permissions in the buildpack/bin folder.

from fabric-external-chaincodes.

vanitas92 avatar vanitas92 commented on August 11, 2024

I will close this issue due to it seems to be resolved now and inactivity.

from fabric-external-chaincodes.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.