Comments (5)
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.
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.
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.
@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.
I will close this issue due to it seems to be resolved now and inactivity.
from fabric-external-chaincodes.
Related Issues (14)
- peer not able to join channel HOT 3
- error on kubectl create -f orderer-service/ HOT 3
- Got unexpected status BAD_REQUEST on channel creation HOT 2
- Chaincode Modification HOT 2
- Deploying HLF 2.2 HOT 5
- Error during deployment of orderers HOT 7
- bug on msp HOT 2
- Minikube install chaincode HOT 3
- I got an error when I installed chaincode HOT 11
- Error on kubectl create -f orderer-service/ HOT 4
- Repo license HOT 1
- PANI 0dd Failed to get local msp config: could not load a valid signer certificate from directory /var/hyperledger/orderer/msp/signcerts HOT 6
- Orderers Pods are not creating, status CrashLoopBackOff HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fabric-external-chaincodes.