Questions tagged [hyperledger-fabric]

Hyperledger Fabric is an implementation of blockchain technology. Use this tag for questions about this project.

Use this tag for questions about this project.

Another good idea is to reach out to the community at

Documentation can be found at

Refer development lifecycle and officially provided resources at

6206 questions
4
votes
1 answer

What happens when certificates got renewed in Hyperledger Fabric?

I'm adopting the Hyperledger Fabric to build applications for my business. Since permissioned blockchains like Fabric rely heavily on the PKI for identity management, and the fact that every transaction on the network requires signatures from…
WayChan
  • 53
  • 5
4
votes
2 answers

Hyperledger fabric - is query a new transaction on the blockchain

We are currently making a plan for our hyperledger fabric network. We really need to know the answer to the following question: "Does a query to the blockchain/worldstate add another transaction to the blockchain"? The docs tells us the following…
M Yil
  • 877
  • 1
  • 14
  • 35
4
votes
1 answer

Can we migrate from Kafka(1.4.0) to RAFT(1.4.3) if channel capabilities are disabled?

While migrating from kafka(Fabric 1.4.0) to RAFT(fabric 1.4.3), in first step I am changing the state of network form NORMAL to MAINTENANCE, after signing the block, when I send to the orderer, getting the following error. Error: got unexpected…
PAVAN
  • 771
  • 4
  • 14
4
votes
1 answer

uid : unable to do port forwarding: socat not found using helm

I've come across an error, I'm following this github repository. I am setting up the raft-tls network and When i run helm install ./hlf-kube --name hlf-kube -f samples/scaled-raft-tls/network.yaml -f samples/scaled-raft-tls/crypto-config.yaml. I get…
4
votes
1 answer

Error while migrating form kafka to RAFT in Hyperledger fabirc

I am migrating from kafka to raft, When I have changed state from "NORMAL" to "STATE_MAINTENANCE"  and created the final expected envelope as per the procedure. Note: We are using BYFN script HF version: 1.4.3 My CLI pointed to Org1MSP, I signed…
PAVAN
  • 771
  • 4
  • 14
4
votes
0 answers

Fabric SDK resource usage spike issue

We have containerized an express app using fabric node SDK to interact with the blockchain network. We have deployed this alongside the fabric network on a single VM. While testing with a certain load, we are observing that express app (fabric SDK)…
4
votes
3 answers

The channel is not configured with any peers with the 'discover' role

I am trying to do a transaction from java fabric SDK. I am able to query the data properly from the node but while doing a transaction I am getting the following error: org.hyperledger.fabric.sdk.exception.ServiceDiscoveryException: The channel is…
Paradox
  • 327
  • 3
  • 19
4
votes
0 answers

How to add postgres as a db in hyperledger fabric-ca using sslmode =verify-ca or verify-full?

I am trying to add postgres as a db in fabric-ca and successfully did it in ssl=require mode but not able to do using ssl=verify-ca or verify-full my docker-compose.yaml file is like this : version: '2' networks: basic: services: …
Adarsha Jha
  • 1,782
  • 2
  • 15
  • 37
4
votes
1 answer

unknown command ".network.genesisProfile" for "yq"

I am working on a repo https://github.com/adarshaJha/PIVT#scaled-up-raft-network and when i run this command : helm install ./hlf-kube --name hlf-kube -f samples/simple/network.yaml -f samples/simple/crypto-config.yaml i get this error : unknown…
Adarsha Jha
  • 1,782
  • 2
  • 15
  • 37
4
votes
1 answer

Hyperledger fabric endorsement policy error using Java SDK

I am working on golang version of fabcar smart contract while seeking to implement a Java-SDK API which enrolls an admin, registers a user and performs query-update value operations based on…
4
votes
1 answer

Is there a way to generate Connection Profile in Hyperledger Fabric automatically (with CLI)?

I am currently working on Hyperledger Fabric, and I just bring up a local network based on the "Build Your First Network" tutorial from HL Fabric official site. Before this, I build a network on IBM Blockchain Platform, and they have a sweet…
SpicyFish
  • 53
  • 4
4
votes
0 answers

Failed to generate platform-specific docker build Hyperledger Fabric nodejs

I'm trying to instantiate Hyperledger Fabric Fabcar Nodejs chaincode but getting the below error. /var/hyperledger/fabric-samples/chaincode/fabcar/typescript# peer chaincode instantiate \ -C mychannel -n fabcar -v 1.0 -l node -c '{"Args":[]}'…
Moazzem Hossen
  • 2,276
  • 1
  • 19
  • 30
4
votes
5 answers

go mod fails to find version v0.0.0-00010101000000-000000000000 of a dependency

I'm trying to download all of the dependencies of a project via go mod; the problem occurs when it comes to execute go mod vendor on the CLI. The output is as follows: go: finding github.com/hyperledger/fabric-sdk-go…
4
votes
7 answers

Hyperledger fabric Error : mychannel received discovery error:access denied

Getting the following error while running query.js of the fabric sample fabcar. root@ubcourt:/home/fabric-samples/fabcar/javascript# node query.js Wallet path: /home/fabric-samples/fabcar/javascript/wallet 2019-08-03T08:45:31.027Z - error:…
Ranjit Chavan
  • 47
  • 1
  • 6
4
votes
3 answers

How to properly restart Hyperledger Fabric?

I haven't found any indication about how to completely restart hyperledger fabric and all the docker containers after rebooting the computer. In particular, I have this containers: $ docker container ls -a CONTAINER ID IMAGE …
Riccardo
  • 1,083
  • 2
  • 15
  • 25