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
1
vote
1 answer

Error while restarting ca server in Hypeledger Fabric

Intermediate ca server docker container gets exited somehow so I have tried to restart the corresponding docker container but I'm not able to restart the service and these are the logs of the docker container: Error: Validation of certificate and…
Trinayan
  • 867
  • 6
  • 15
1
vote
1 answer

Is This possible to add channels inside of a fabric channel?

I am new to hyperledger fabric. Is there a way to make channels under a channel. Normally, all channels are under system channel. But is this possible to make another channel which is governed by an intermediate channel not the system channel. And…
sayhan
  • 95
  • 2
  • 7
1
vote
0 answers

Error: got unexpected status: FORBIDDEN -- config update for existing channel did not pass initial checks: implicit policy evaluation failed - 0

I'm using Fabric 2.0 binaries and following this tutorial link https://github.com/orderstack/hyperledger-fabric-v2-starter When i go into cd network/scripts and then enter this command ./network.sh up createChannel -ca I get this error. Error: got…
Adarsha Jha
  • 1,782
  • 2
  • 15
  • 37
1
vote
0 answers

How to solve this 'make configtxgen' error?

I encountered errors when I tried to compile configtxgen in the path:'/d/Go/go/src/github.com/hyperledger/fabric (master)' The message is shown below: # github.com/hyperledger/fabric/cmd/configtxgen D:\Go\pkg\tool\windows_amd64\link.exe: running…
1
vote
2 answers

Peer Channel Create in docker container fails with: identity is not valid: x509: certificate signed by unknown authority

I'm working through a course at Blockchain Training Alliance for Hyperledger Fabric 1.4.* I'm trying to start a channel on a dev test network and keep getting the following error: 2020-07-07 01:41:48.496 UTC [cauthdsl] deduplicate -> ERRO 34f…
jabberwocky
  • 115
  • 1
  • 11
1
vote
3 answers

What is the difference between Install and Instantiate in Hyperledger fabric?

What happens during chaincode install and instantiate in Hyperledger fabric?
Aditya Joshi
  • 1,033
  • 7
  • 20
1
vote
1 answer

Chaincode is getting invoked but the data is not getting stored in blockchain

While invoking the chaincode, the data is being read properly. We checked this using the Println statement. But the invoked data is not getting stored in the blockchain network. It throws the following error. "Error: error sending transaction for…
1
vote
2 answers

How to monitor Hyperledger Fabric network with grafana?

I am trying to monitor Fabric network with Prometheus and grafana but i cannot find any example or documentation. So, i am starting the fabcar example(v1.4). After that, i followed this example https://www.youtube.com/watch?v=4WWW2ZLEg74 which is…
HectorCode
  • 205
  • 2
  • 11
1
vote
1 answer

Threats Posed by User Defined Chaincode to the Host System/ Cluster

The chaincode image and container are created automatically when the chaincode is installed and instantiated on a channel in Hyperledger Fabric v1.4. When the Hyperledger Fabric network is constructed and deployed using Kubernetes, normally, the…
user13749461
1
vote
1 answer

Hyperledger Fabric - Peer executable not found

I can't start the test-network from Fabric samples, and it seems that the problem is that I can't execute the peer command: localhost:~/fabric-samples/bin$ ls -l total 212636 -rwxr-xr-x 1 daniele daniele 21002048 Jun 1 14:43…
Daniele Chirivì
  • 466
  • 4
  • 11
1
vote
1 answer

Out of memory while deploying chaincode

While executing ./network.sh deployCC of the test-network Hyperledger Fabric sample, I get an "out of memory" fatal error. I am currently on an AWS Lightsail VPS instance of 512 MB RAM, 1 vCPU, 20 GB SSD. What is the recommended hardware…
klew
  • 33
  • 1
  • 7
1
vote
1 answer

HLF Multiple Chaincodes vs. Multiple Smart Contracts

I am currently designing an application to be used to conduct transactions of an entity (e.g. a corporation). When should the application have multiple chaincodes? In other words, what is the purpose of multiple chaincodes? Why should a chaincode…
1
vote
5 answers

Error deploying Fabric test-network fabcar chaincode

I am following the documentation (https://hyperledger-fabric.readthedocs.io/en/latest/test_network.html) to deploy a test network for Fabric on Ubuntu 16.04 on Amazon Lightsail. All commands have been executed successfully with results as expected…
klew
  • 33
  • 1
  • 7
1
vote
2 answers

Hyperledger Fabric: Each organization acting as peer and ordering role - which certificates should be used?

even though the Fabric docs discourage this scenario because of default settings (it shouldn't be discouraged if you take care of the policies, right?), I'm in need of setting up a network with 3 equitable organizations. Each will have 1 orderer and…
haggis
  • 407
  • 2
  • 20
1
vote
1 answer

External Chaincode Pod on Kubernetes in Hyperledger Fabric v1.4

By what I have seen so far, in a Hyperledger Fabric v1.4 network that has been deployed using Kubernetes, the chaincode container and the peer container co exist within the same pod. An example for the same can be found in this link…
user13749461