Questions tagged hyperledger-fabric

Explore the latest questions and answers asked by our top developers.

Error to create a production network Hyperledger Fabric

I am working on creating a production network with Hyperledger Fabric blockchain via wizard. To create the network, I start the start.sh script: 1)Downloads binaries 2)Starts CAs and creates artifacts per org 3)Creates genesis block and channels txs (peer0.org1) docker-compose.yaml (peer0.org1) registerEnroll.sh fabric-ca-server-config.yaml error to generate a path/certs tls /keyfile Source: Docker Questions

could not assemble transaction

My fabric version is 1.4.9, and chaincode is fabric-samples: sacc.go, when i instantiate it, a problem occured Error: could not assemble transaction, err proposal response was not successful, error code 500, msg chaincode registration failed: container exited with 0 and the docker log show 2021-12-31 13:01:41.584 UTC [endorser] SimulateProposal -> ERRO 065 [mychannel][25e057e3] failed to […]

By buyobuyo
Published
Categorised as docker, fabric, hyperledger-fabric Tagged , ,

Cannot run peer because error when setting up MSP

I have this network structure and I should do the creation, when I launch the create_network.sh script, I get the following error message: ** CET [main] InitCmd -> ERRO 001 Cannot run peer because error when setting up MSP of type bccsp from directory /home/matteo/Immagini/test-network/org2.example.com/org2admin.org2.example.com/channels/mychannel/../../certs/msp: Setup error: nil conf reference** [docker-compose.yaml][1] [config.yaml + error][2] [create_network.sh […]

By KoluG
Published
Categorised as blockchain, ca, docker, hyperledger-fabric Tagged , , ,

Docker container file rename or remove issue

while running this command docker exec -it cli peer chaincode instantiate -C mychannel -l "node" -n airmed -v v1 -c ‘{"Args":[]}’ -o orderer.example.com:7050 –tls –cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem It stopped and shows cli container (with some id) already exist so rename or remove it. please guide Source: Docker Questions

Hyperledger Fabric 2.3.3 install TypeScript chaincode issue can’t invoke despite chaincode being installed?

Good day to you! I’m doing some fairly advanced work with Hyperledger Fabric network setup, using Kubernetes and a bunch of custom shell scripts–each with commands inspired by fabric-samples–to run each phase of chaincode packaging and installation and I have debugged an issue I’m facing WRT switching an existing HLF project from Go chaincode to […]

By gdgr
Published
Categorised as docker, hyperledger, hyperledger-fabric Tagged , ,

Chaincode container getting created but not starting

Hyperledger-Fabric: v2.3.3 Peer docker image: tag 2.3.3 Error on peer logs after committing chaincode: ERRO 036 start-could not start container: API error (400): failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: exec: "chaincode": executable file not found in $PATH: unknown WARN 037 could not launch chaincode ‘test_v1_v1:65f5b95ca7ff438e02a86aea4205bcd697a2afa0f4e37c314d3011667357fe50’: error starting container: […]

Hyperledger Fabric test network chaincode installation Error 500 on windows 10

I have installed the Hyperledger test-network on windows 10, following the procedure described in the Hyperledger homepage. I know it is better ran on Unix/Linux still, I have successfully created the default channel, and the sandboxes for Org1 and Org2 are up. Continuing the default installation, while attempting to deploy the basic test chaincode I […]

Hyperledger fabric – Cant connect peer to channel – endorser client failed to connect – connection refused

I created a testchannel and tried to join peer to it using the codes below. export CORE_PEER_LOCALMSPID="Org1MSP" export CORE_PEER_TLS_ROOTCERT_FILE=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/peers/peer1.org1.example.com/tls/ca.crt export CORE_PEER_MSPCONFIGPATH=/opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/peerOrganizations/org1.example.com/users/[email protected]com/msp export CORE_PEER_ADDRESS=peer1.org1.example.com:7051 peer channel join -b testchannel.block But connection error occured as below. Error: error getting endorser client for channel: endorser client failed to connect to peer1.org1.example.com:7051: failed to create new connection: connection error: […]

how to enable an external couchdb for hyerledger fabric

I am following the official docs of hyperledger-fabric, paticularly the part https://hyperledger-fabric.readthedocs.io/en/latest/couchdb_tutorial.html. I am just using the "test-network" demo.However, I’ve encountered some problems when I try to use couchdb: 1.How should I config my core.yaml to switch from leveldb to couchdb, and should I config each core.yaml of each peer? 2.Is the couchdb on the […]

Unable to open the config file and Failed to generate orderer genesis block

I am stuck here. Error Log: So far I had tried by adding this in environment variable. FABRIC_CFG_PATH = D:PracticeBlockchainhyperLedgerfabric-samplesconfig and also had run this command: export FABRIC_CFG_PATH=${PWD}/configtx But still showing the same error. Source: Docker Questions

1 2 3 15

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq