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

Successfully opened test-network but deploying chaincode failed

I develope on Ubuntu and going through the Fabric master version documentation. In the test network part, I successfully opened test-network and creating a channel, seems to work correctly. But when I try to start a chaincode on the channel, it goes…
JasonLee
  • 53
  • 1
  • 5
1
vote
1 answer

Ubuntu cosmic is not supported

I was following this online guide of hyperledger: https://hyperledger.github.io/composer/latest/installing/installing-prereqs.html#ubuntu this is the guide how i can download pre requisites 1st command is sucessfully run it is to install .sh file…
leonides
  • 13
  • 3
1
vote
1 answer

Hyperledger fabric peer container not starting logs Unable to connect with couchdb

Docker logs peer0.org1.example.com 2020-01-30 11:03:43.890 UTC [nodeCmd] serve -> INFO 001 Starting peer: Version: 1.4.4 Commit SHA: 7917a40 Go version: go1.12.12 OS/Arch: linux/amd64 Chaincode: Base Image Version: 0.4.18 Base Docker…
1
vote
1 answer

gossip.discovery Closing connection to Endpoint?

I've created a network with 2orgs each one with 2peers and 1ca. After creating the network, the error that I get is: peer0.org2.example.com|2020-01-30 06:30:18.279 UTC [gossip.comm] func1 -> WARN 048 peer0.org1.example.com:7051,…
1
vote
1 answer

On Hyperledger Fabric Context

I would appreciate some help with this small issue. According to the comercial paper smart contract, present in Fabric-samples, one can define a custom Context, which allows handling logic across different transactions. Can we define a variable in…
raf
  • 42
  • 11
1
vote
1 answer

Java SDK HyperLedger Fabric

I am new using the HyperLedger Fabric Java SDK. I have been using the fabcar example as a starting point. I would like to hook up the application to a rest API, where users can submit a transaction to the blockchain but I am having a hard time…
X2015jpp
  • 143
  • 2
  • 14
1
vote
0 answers

Does the hyperledger fabric 1.4 node sdk depend on the Node standard library APIs?

The reason why I ask is that I want to use React-Native to access my blockchain. I'm using Expo, and from the Expo Documentation: "The Node standard library is a set of functionality implemented largely in C++ that exposes functions to JavaScript…
Douglas
  • 41
  • 5
1
vote
0 answers

"context cancelled" error logged in Hyperledger Fabric peer node

I get the following error sometimes in my Hyperledger Fabric peer node (v1.4). Some times the system works ok after it but once I have seen that the ContractRouter is started completely after that error, when the chaincode needs to be executed. Any…
icordoba
  • 1,834
  • 2
  • 33
  • 60
1
vote
1 answer

Implementing Private Data Collection in Hyperledger Fabric 2.0 Error

I tried to implement the private data collections in fabric 2.0 network.I have faced error when I tried to invoke chaincode with the transient data flag. And it is unable to recognize the method ("priv"). Error: endorsement failure during invoke.…
Shubham Jaiswal
  • 570
  • 5
  • 11
1
vote
1 answer

Hyperledger fabric:transport: authentication handshake failed: x509: certificate on channel create

I am trying to create a channel in HLF using the following command peer channel create -o orderer1.base:7050 -c basechannel -f ./channel-artifacts/channel.tx --tls --cafile…
shamon shamsudeen
  • 5,466
  • 17
  • 64
  • 129
1
vote
0 answers

Is it possible to install and work with Hyperledger explorer from Fabric client node?

Is it possible to install fabric client node ? I am working with Aamzon managed block chain and I don`t see a way to use or have ready Hyperledger explorer on AWS managed block chain. Is it possible to have the endpoint for the same on this netwrok…
Chinmay
  • 338
  • 1
  • 5
  • 19
1
vote
1 answer

Orderer bootstrap failed: CA Certificate did not have the CA attribute

I followed this tutorial Fabric CA Operations Guide and made a small change that I had deleted the org2. When I tried to bootstrap orderer (startOrder()) I got this problem: orderer1-org0 | Metrics.Statsd.Address = "127.0.0.1:8125" orderer1-org0…
Alfie
  • 11
  • 2
1
vote
3 answers

How to upload pdf, docs files etc.., to hyperledger blockchain

I am currently working on a project in Hyperledger, where I want to upload files like pdf and docs into hyperledger blockchain by distributing the document file across the node of the network, and retrieving the document file back. Please help me…
1
vote
1 answer

How can I set up Hyperledger fabric network with two Organisations(one anchor and one endorsement) and one channel without using hyperledger composer

I want to setup Hyperledger fabrics environment for approval process using Endorsement policy so I have some doubts/questions in fabric setup: Help me How can I set up Hyperledger fabric network with two Organisations(one anchor and one…
1
vote
2 answers

How do I work with setTransient and getTransient in Node.js for Hyperledger 1.4.4 (examples)?

At this point I was unable to find clear examples on how to use getTransient in Node.js. Maybe you can help me just with the right link. Assume I have a client application in Node.js that submits something like: const privatePayload = new…
1 2 3
99
100