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

Failed to invoke chaincode name:"lscc" , error: container exited with 1: chaincode registration failed (Fabric 1.4.1)

I am trying to create a single org, single ca, single peer network, bootstrapped by the nodejs-sdk. I have used this sample for reference. When I try to instantiate() the chaincode I get this error in the peer accessed by docker logs…
4
votes
3 answers

TLS handshake failed with error remote error: tls: bad certificate server=Orderer

I am trying to set up a hyperledger fabric on a VM manually. I have generated all the artifacts and configured the orderer.yaml and core.yaml. I have orderer running on port 127.0.0.1:7050. When I try to create channel using the peer cli channel…
Yeou
  • 622
  • 1
  • 7
  • 21
4
votes
1 answer

How to fix "context finished before block retrieved: context canceled" occurred while instantiating chaincode?

The instantiation command completes successfully, but when analyzing peer logs, you may notice this: 2019-04-17 17:25:52.581 UTC [gossip.state] commitBlock -> DEBU 48c [canal-contrato] Committed block [1] with 1 transaction(s) 2019-04-17…
4
votes
3 answers

fabcar example: fatal error: unexpected signal during runtime execution [signal SIGSEGV: segmentation violation code=0x1 addr=0x63 pc=0x7f84bc4ea259]

Env: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic $ go version go version go1.12 linux/amd64 $ docker -v Docker version 18.09.4, build d14af54266 $…
norym
  • 602
  • 2
  • 8
  • 18
4
votes
1 answer

Why genesis block is must for a peer to join the channel in Hyperledger fabric?

For peers to join the channel, the information of genesis block is must. Why peers required genesis block? I knew that channel configuration stored in genesis block but latest channel configuration also available in recent blocks then why only…
4
votes
1 answer

Error: could not send: EOF on instantiating chaincode

I am getting Error: could not send: EOF on instantiating chaincode in HF. I followed the correct steps for installing binaries, images etc. After installation I used following command in the first-network directory to install and instantiate…
ajay datla
  • 703
  • 1
  • 5
  • 12
4
votes
1 answer

Hyperledger private data dynamic access

Is it possible to dynamically set access to private data in Hyperledger fabric 1.4? Unlike the collections file where we have to add the organizations that can have access to a particular "collection", is it possible to add access through chaincode?
4
votes
1 answer

Error initializing the network channel from node sdk in hyperledger fabric

Background: I have modified the first-network files (to a network with 2 Orgs and 1 peer in each of them) and installed my own chaincode on it. Additionally I have made a connection.yaml file to interact with the network. Problem: But when I try…
4
votes
1 answer

Hyperledger Fabric Chaincode Development Language - NodeJS, Java, or Go?

With consideration of existing functionality, developer productivity (assuming minimal experience in each language), support within the Fabric community, and roadmap for enhancements, is there any chaincode development language that should be…
DC-OHIO
  • 45
  • 7
4
votes
1 answer

Error reading from 192.168.1.164:44214: rpc error: code = Canceled desc = context canceled

i got this error when i am trying to connect peers running in different machines .I found this error in docker logs of orderer.There is an error in docker logs of peer2 running in different machine Failed obtaining connection: Could not connect to…
4
votes
1 answer

What is the difference between hf.Registrar.Roles and hf.Registrar.DelegateRoles in the Fabric CA?

As far as I understand the hf.Registrar.Roles attribute defines the roles that the identity I'm creating can register when this identity in-turn registers new identities. What does the hf.Registrar.DelegateRoles attribute define? Any research online…
abhi
  • 431
  • 5
  • 11
4
votes
1 answer

Hyperledger Composer - Participants and peers

I recently started trying to grasp the concepts of Hyperledger Composer. Based on what I understand, Hyperledger Composer is just a layer on top of Hyperledger Fabric with the purpose of simplifying how things are done. The confusion came when I…
matrix
  • 161
  • 2
  • 12
4
votes
1 answer

How can I ensure that all organizations have signed the chaincode to install?

In Hyperledger Fabric 1.3, how can I ensure that all organizations have signed the chaincode to install ? I could sign the code, but it seems that no component verifies the signature. Details are as below: Preconditions Fabric 1.3 I have two orgs,…
4
votes
1 answer

Channel capability V1_3 is required but not supported: Making my First Network in Hyperledger Fabric

Booting up a my first Hyperledger Network on OSX with. I installed the sample files using the script curl -sSL http://bitlyURLThatStackoverflow won't let me us | bash -s 1.2.1 The ran ./byfn.sh up -c mychannel -s couchdb To boot up a sample…
4
votes
2 answers

Hyperledger Fabric Nodejs SDK Eventhub has been shutdown

I have deployed the sample fabcar network on IBM Blockchain platform and am using the code from this repository to interact with it. The interaction works great when I call every function individually. The problem comes when I develop a node server…
tahaf10
  • 180
  • 2
  • 10