6,236 questions
0
votes
0
answers
10
views
Hyperledger Fabric - Register and Enroll new Users
I am new to Hyperledger Fabric and, hence, to Fabric integrations with apps. My intent was on creating an API using Node that would register and enroll new Users. I know and have been successful doing ...
0
votes
0
answers
20
views
Secure AES Key Reconstruction with Shamir Secret Sharing
I’m using Hyperledger Fabric, i encrypted a File with a AES key and want to protect this AES key with Shamir Secret Sharing. I split the original AES key and sign each fragment with the public key of ...
1
vote
0
answers
13
views
Problem registering user in Hyperledger Fabric-CA (Go) - Register and GetECert methods not found
I'm trying to register a user in Hyperledger Fabric-CA using Go, but I'm facing some errors related to methods that apparently don't exist in the version of the library I'm using (github.com/...
-1
votes
0
answers
18
views
How to correct the path of clientRootCAs when enabling mLTS
I have an error when making "clientAuthRequired: true" saying that the file for clientRootCAs isn't found.
What is the correct path that should be inserted?
I am using latest version of ...
1
vote
0
answers
22
views
Fabric CA TLS certs not following environment variables
I'm bringing up a hyperledger fabric but the ca-cert.pem and the tls-cert.pem seem to be being generated with errors:
I initiate the fabric-ca server to get the fabric-ca-server-config.yaml then edit ...
1
vote
0
answers
39
views
Trying to bring up channel on the orderer of hyperledger fabric and getting error from join cluster
Trying to launch a new channel through the osnadmin channel join command in hyperledger fabric and get error:Failed to JoinChannel: failed to determine cluster membership from join-block:
Attempting ...
-1
votes
1
answer
49
views
Hyperledger Fabric Java Chaincode (Maven) Deployment Fails: "Address types of NameResolver 'unix' not supported by transport"
I am trying to deploy a Java chaincode on Hyperledger Fabric using the test network (fabric_test). My Java project is a Maven project and java version used is 11. I am running Hyperledger Fabric ...
0
votes
0
answers
18
views
Hyperledger: Orderer exits when running setup with existing volumes due to bad certs
I have one org which has single peer, orderer and CA running inside containers in same network and same VM with version 2.2.1.
I have persistent volumes which has production data. When I spin up the ...
0
votes
1
answer
38
views
Seems to me that in the Hyperledger Fabric test-network, only chaincode that created the asset has access to it
I was using Fabric Java chaincodes and CLI to work with the creation of assets by different chaincodes in the same channel, and it seems to me that only the chaincode that defined that particular ...
0
votes
1
answer
52
views
PKIX path building failed: unable to find valid certification path to requested target on chaincode commit on Hyperledger Fabric production network
During java chaincode package commit i got this error on one of two peers:
Shutting down the chaincode stream.UNAVAILABLE: io exception
io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
...
-3
votes
1
answer
47
views
Load-balancing using nginx over orderers in Hyperledger Fabric
I created a network using Hyperledger Fabric and Docker. There are 3 orderers and 2 organizations in this network. I will test this network with Hyperledger Caliper. The network and Caliper are ...
0
votes
0
answers
50
views
How to set up and connect the frontend and backend for a Hyperledger Fabric-based project from GitHub?
I’m working on a project called MedReX, which is a blockchain-based web application for managing electronic medical records. The project involves both a frontend (built with React) and a backend (...
0
votes
0
answers
32
views
Hyperledger fabric orderer
I am working on a project which involves setting up 3 orderer nodes on two different systems and some peer nodes on other systems. I am always encountering this error for my orderer.yaml file.
2025-...
0
votes
0
answers
15
views
Hyperledger Fabric Orderer: Channel join fails with BFT (V3_0): Status 400
Error message:
invalid join block: initializing channelconfig failed: could not create channel Orderer sub-group config: setting up the MSP manager failed: the supplied identity is not valid: x509: ...
-3
votes
1
answer
54
views
Previous hash and data_hash not matching in hyper ledger fabric
I am working on the fabric test network trying to fetch blocks by number and check the block hash, and i use fabric 2.5 with the new fabric gateway api. I insert a data and check the transaction for ...
0
votes
1
answer
34
views
In Hyperledger fabric when i query qscc 'GetBlockByTxID' i get an error saying" error no such transaction ID in index"
I am trying to get the block number and the block hash on Hyperledger fabric network from my channel, but i was able to get the details using cli with the same transaction ID, when i try with the ...
0
votes
0
answers
18
views
"orderer system channel is not defined" error after a Hyperledger Fabric 2.5 cluster reboot
I am getting this error after a cluster reboot (Kubernetes on Azure) in a working HLF 2.5 network (deployed with Hyperledger Bevel):
channel creation request not allowed because the orderer system ...
1
vote
1
answer
44
views
Hyperledger Fabric Java SDK: Query Transaction Works, but Create Transaction Fails with Invalid Transaction Contract Exception
I am working on a Hyperledger Fabric application using the Java SDK to interact with a smart contract. My query transaction works perfectly, but when I attempt to execute a create transaction, it ...
0
votes
0
answers
20
views
Fail to add orderer to a channel with v2.3 version. cannot join: consenter has invalid certificate
Can not add an orderer (the first) to a new channel.
Relevant part of the configtx.yaml:
Orderer: &OrdererDefaults
OrdererType: etcdraft
Addresses:
- orderer0.ea.jedo.dev:52111
...
0
votes
1
answer
24
views
Must the number of orderer node in smartBFT be at least 4?
I'm trying to understand the smartBFT and RAFT consensus protocols in the Hyperledger Fabric. As you know, starting from Fabric v3.0, smartBFT can be used as an ordered type. I checked the official ...
0
votes
1
answer
28
views
While trying to create wallet and gateway connection profile for hyperledger fabric, Getting WEFT warnings
Getting Weft Warning error while trying to run this code: "curl -s http://console.127-0-0-1.nip.io:8080/ak/api/v1/components | weft microfab -w ./_wallets -p ./_gateways -m ./_msp -f"
$: % ...
0
votes
1
answer
36
views
'Multiple bindings for fabric have been detected' error while using caliper
I want to use Hyperledger Fabric v3.0.0 with Caliper v0.6.0 to evaluate the performance. I am on Ubuntu 22.04. I completely rebuilt the Fabric network and followed the exact same steps as described on ...
0
votes
0
answers
40
views
x509: certificate signed by unknown authority Hyperledger Fabric
I am trying to create a new peer which will be running in a different host machine. As I have the express js server with the react in my main host, all works fine with using the admin and client certs ...
1
vote
0
answers
20
views
Error adding an organization to the network [Minifabric]
I'm having trouble adding an organization to an existing network.
I use the Minifabric tool to build a network and Docker to simulate the virtual environment.
I am following the steps in this tutorial....
0
votes
0
answers
23
views
Orderer client failed to connect to: failed to create new connection: context deadline exceeded
I'm a beginner in Minifabric and I'm trying to set up a simple network.
These are my .yml files
#org1/spec.yml
fabric:
cas:
- "ca1.org1.example.com"
peers:
- "...
0
votes
1
answer
81
views
Is it posible to use Hyperledger Caliper with Hyperledger Fabric v3.0.0?
As you know, Hyperledger Fabric v3.0.0 has been recently released. I want to use and test it with Hyperledger Caliper. I looked into many resources, but all of them describe using Caliper for pre-...
0
votes
1
answer
43
views
Hyperledger Fabric Peer Cli vs Application Gateway - Endorsing Peer Process
I have deployed a blockchain network with the Hyperledger Fabric framework. My chaincode works fine. When invoking a method on the peer node cli of an organization (let's call it org1), I need to pass ...
0
votes
1
answer
34
views
readBlock -> Expect block, but got status: &{NOT_FOUND}
I am getting an error while joining the channel by peer0 of an organisation. Below is the container log details. Any pointer on this error will be of great help
kubectl logs -n supplychain-net ...
0
votes
0
answers
36
views
Error: INSTALLATION FAILED: failed post-install: timed out waiting for the condition
I am using the No proxy & No Vault option trying to create a fabric network by following the commands in below link
https://github.com/hyperledger-bevel/bevel/tree/main/platforms/hyperledger-...
0
votes
0
answers
28
views
[hyperledger-fabric]Hyperledger Fabric 2.2 Issue: Config Update Failure After TLS Certificate Expiration
I'm encountering a problem with my Hyperledger Fabric 2.2 network and could use some assistance.
**🛠️ Network Setup:
Orderer Nodes: 5
Peer Organizations: 10
Consortiums: 10
(One organization is part ...
0
votes
1
answer
24
views
Hyperledger Caliper run has some wrong
enter image description here
and i run the hyperledger-fabric test network,but when i checked used peer lifestyle chaincode
enter image description here
it is also run.(Maybe this code should run in ...
0
votes
0
answers
17
views
Hyperledger Fabric in ARM Cortex processor (for NVIDIA Jetson Orin)
anybody has successfully deployed a fabric network on ARM Cortex processor? (Specifically on this hardware : https://www.nvidia.com/en-us/autonomous-machines/embedded-systems/jetson-orin/ ) I am not ...
0
votes
0
answers
24
views
Hyperledger Fabric 2.5: How to modify a network/channel so that a non ordering organization becomes ordering organization and can have ordering nodes
I am trying to follow this document
https://medium.com/@amit.pitambare/adding-a-new-orderer-organization-to-an-existing-hyperledger-fabric-v2-3-channel-d0b52e6d1125
to modify the channel configuration ...
0
votes
1
answer
70
views
Chaincode installation failed in peer on Hyperledger fabric
I was making the java chain code which I packaged on ~/test-network folder with the name home.tar.gz but when I was installing the chaincode on peer0 of org1 by following the official documentation of ...
0
votes
0
answers
63
views
Hyperledger explorer and AWS Managed Blockchain connection
I want to connect my hyper ledger explorer that would run locally to the AWS-managed blockchain network. What are the steps to do this? I already have my AWS configured locally for CLI.
https://www....
0
votes
0
answers
26
views
Why am i not able to install admin for orgs on my hyperledger frabric test-network setup?
NodeOUs:
Enable: true
ClientOUIdentifier:
Certificate: cacerts/localhost-7054-ca-org1.pem
OrganizationalUnitIdentifier: client
PeerOUIdentifier:
Certificate: cacerts/localhost-7054-...
0
votes
0
answers
11
views
How to change the policy to commit chaincode from MAJORITY to ANY in Hyperledger Fabric 2.5
i have a HLF network with default policy configuration and 3 organizations. when I upgrade chaincode, every org needs to approve, which is OK, but the "peer lifecycle chaincode commit" ...
0
votes
0
answers
31
views
create a channel in my Hyperledger Fabric network using the Raft consensus mechanism
Problem:
I am trying to create a channel in my Hyperledger Fabric network using the Raft consensus mechanism. The orderer service has TLS enabled, but I’m encountering a certificate validation failure ...
0
votes
1
answer
88
views
Hyperledger fabric documentation
What is best version of the official documentation of hyperledger fabric?
There is so many release version. Which version works smoother?
I'm trying the 2.5 release version. But I am getting some ...
0
votes
0
answers
50
views
External Builder Script Sequence in Hyperledger Fabric
When using the external chaincode builder in Hyperledger Fabric, it can be confusing to understand the order in which various scripts (build, detect, release, etc.) are executed, and how they fit into ...
0
votes
0
answers
31
views
Hyperledger Fabric and aries integration
I have a question about fabric aries integration. I was wondering if it is possible for authorized personnel to choose data from fabric about a digital asset and send to Aries to create verifiable ...
1
vote
0
answers
23
views
Update channel config transaction
Im trying to update the app channel to add a new admin to the channel (as the previous one is going to expire) but with the attached envelope I get the following error:
error authorizing update: ...
-1
votes
1
answer
37
views
Issue of 'failing to join a channel after 5 attempts' while creating a Hyperledger fabric-based test network in Ubuntu
While attempting to run a test network provided through the link https://hyperledger-fabric.readthedocs.io/en/latest/test_network.html, the simulator generated an error as shown in the Image. , how ...
0
votes
1
answer
111
views
Docker error while trying to install chaincode to a hyperledger fabric channel
I encounter the following problem while trying to install chaincode to a hyperledger fabric channel:
Error: chaincode install failed with status: 500 - failed to invoke
backing implementation of '...
0
votes
2
answers
208
views
How to solve this chaincode deploy error in Hyperledger Fabric?
I'm using javascript to setup and run Hyperledger Fabric on my ubuntu system (24.04) and I'm getting this following error mentioned exactly below. Can anyone please suggest any solution?
Error: ...
0
votes
1
answer
39
views
When I tried to invoke a chaincode in the hyperledger fabric peer cli, I got Argument list too long error
I have deployed a go chaincode called CalculateCC which has a calculation function. I used shim package. The calculation function gets the arguments in array of string "[]string". When I try ...
-1
votes
1
answer
173
views
How to query block and transaction info by using the new recommended Gateway Client API
I have started building my Hyperledger Fabric Networks with v2.5 and since I still need to connect my client applications to the network I was going to keep using the popular Hyperledger Fabric ...
0
votes
0
answers
21
views
Error installing chaincode (java) in HyperledgerFabric usinng Bevel 1.1 helm chart
I am deploying a Fabric 2.5.4 network using Hyperledger Bevel v1.1 (not through Ansible and Flux but just using Helm charts thanks to this new feature in Bevel 1.1)
All process is solved but untill I ...
0
votes
0
answers
44
views
Hyperledger Fabric - Prometheus's index ledger_transaction_count is different as the transaction on chain
Hyperledger Fabric: v2.5.2
I have a Grafana and Prometheus, one of the index 'Ledger Transaction Count' or ledger_transaction_count is showing different transaction numbers on-chain of the sum of my ...
0
votes
0
answers
42
views
How does one deploy Hyperledger Fabric components separately using Minifabric on different machines?
While working on setting up a Hyperledger Fabric network using Minifabric, one had successfully used Minifabric to bring up the entire network as a whole, but now, it is required to deploy the ...