Giter Club home page Giter Club logo

hlf-21-2org-1ord-cg's People

Watchers

 avatar  avatar

Forkers

andreasfurster

hlf-21-2org-1ord-cg's Issues

error trying to instal chaincode

hello there, thanks for nice article, very nice explanation, but I'm getting some problem trying to install some chaincode example

after run start.sh I was trying to install fabcar chaincode example but Iโ€™m getting some problems

#peer lifecycle chaincode package fabcar.tar.gz --path fabric-samples/chaincode/fabcar/javascript/ --lang node --label fabcar_1
export CORE_PEER_TLS_ENABLED=true
export ORDERER_CA=${PWD}/crypto-material/ordererOrganizations/ap.com/orderers/orderer0.ap.com/msp/tlscacerts/tlsca.ap.com-cert.pem
export CORE_PEER_LOCALMSPID=Org1MSP
export CORE_PEER_TLS_ROOTCERT_FILE=${PWD}/crypto-material/peerOrganizations/org1.ap.com/peers/peer0.org1.ap.com/tls/ca.crt
export CORE_PEER_MSPCONFIGPATH=${PWD}/crypto-material/peerOrganizations/org1.ap.com/users/[email protected]/msp
export CORE_PEER_ADDRESS=localhost:7051
#peer lifecycle chaincode install fabcar.tar.gz
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: Get "http://unix.sock/images/dev-peer0.org1.ap.com-fabcar_1-f084b8952a3c8180c7a151a50c477affe930c4678ec8621c298922de235d6a84-2105c63fdf7b92f77de68869eb07e9965e34940f800195df79df5cc6bfe5a373/json": dial unix /var/run/docker.sock: connect: no such file or directory

do you know why?

thanks for advance

Fix .start.sh script to match the name at the file creation

Fix the lines 30 and 36 to match the exact name of files created above (lines 19 and 21, respectively) .

Change

Line 30
peer channel update -o localhost:7050 --ordererTLSHostnameOverride orderer0.ap.com -c apchannel -f ./channel-artifacts/Org1MSPanchors.tx --tls $CORE_PEER_TLS_ENABLED --cafile $ORDERER_CA

Line 36
peer channel update -o localhost:7050 --ordererTLSHostnameOverride orderer0.ap.com -c apchannel -f ./channel-artifacts/Org2MSPanchors.tx --tls $CORE_PEER_TLS_ENABLED --cafile $ORDERER_CA

Obs.: I tried to send a PR but the project seems to be closed for PRs.

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.