35 questions
-1
votes
1
answer
298
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
1
answer
192
views
Hyperledger Fabric CouchDB index not found
I am getting a Hyperledger Fabric CouchDB index not found error...
2023-09-17 23:48:58.084 UTC [chaincode] HandleTransaction -> ERRO 051 [ce5a14fc] Failed to handle GET_QUERY_RESULT. error: error ...
0
votes
1
answer
40
views
During setup of peer cli in hyperledger fabric, getting Endorsement failure error. Did anyone face this issue, how can this be resolved?
On executing 'peer chaincode invoke' as per the documentation for fabric, getting the error 'Error: endorsement failure during invoke. response: status:500 message:"Undefined contract called"...
0
votes
0
answers
99
views
Clarification Needed : Docker Containers are Not Releasing Memory
Our migration application is built in java for migrating data into hyperledger fabric 2.2 using Java SDk to connect to HLF Network.
We are processing data in batches of 4000 records in a scheduler and ...
1
vote
1
answer
185
views
How to insert the data into hyper-ledger fabric fabric network (block-chain) through REST APIs
I am planning to implement a block-chain based application for storing the electricity consumption records to a hyperledger fabric network.
Is there any way to insert the data through REST APIs?
0
votes
0
answers
373
views
Unable to update channel config using Fabric SDK Java: field "common.ConfigUpdate.channel_id" contains invalid UTF-8
Network setup:
The network is setup with 1 orderer + 2 organizations with 2 peers each (2 * 2 = 4 peers).
I don't think there's a problem with the network, nor with the crypto materials, the channel ...
0
votes
1
answer
405
views
Hyperledger Fabric: Service discovery for private data collection
In Hyperledger Fabric, does service discovery support finding query peers for private data collection (PDC).
In a channel consisting of 2 orgs (org1 and org2), if I create a PDC for org1 only, only ...
0
votes
1
answer
443
views
No peers provided by network with hyperledger app on android
With the Commercial paper tutorial, I continue to try to implement the java application to an Android emulator.
On Issue.java, when call Network network = gateway.getNetwork("mychannel"); an error ...
0
votes
1
answer
184
views
Getting Empty Buffer after Tx submission : Fabric 2.1 with fabric-network client
I am using fabric 2.1, with new client library fabric-network. I have configured network, created channel, installed chaincode, etc. I could invoke transactions through CLI.
Fabric Version: 2.1
...
0
votes
1
answer
745
views
How to revoke user in Hyperledger Fabric 2.0
I'm trying to revoke user by JAVA SDK
String crl = caClient.revoke(revoker, userToRevoke, "removefromcrl", true);
After executed the above line userToRevoke can still query and invoke normally. Why ...
0
votes
1
answer
152
views
HyperLedger fabric java sdk
I am using Hyperledger Fabric 1.4v, running one organisation with two peers(peer0,peer1) each running on separate vm in an native setup.Orderer also running on a separate vm. In a webclient, using ...
0
votes
2
answers
326
views
How to enable discover role when joining a channel from a peer
I am having following error when trying to execute a transaction using the Discovery service from Fabric Java SDK
org.hyperledger.fabric.sdk.exception.ServiceDiscoveryException: The channel is not ...
1
vote
2
answers
366
views
How to get the parameters passed to the transaction for the historical states
I am trying to get the operation which is responsible for the new state. In simple words, I want to get the function name passed to the invoke method. When I am looking into the historical states I am ...
4
votes
3
answers
1k
views
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....
2
votes
0
answers
387
views
Hyperledger Fabric's Idemix usage
I want to try the idemix feature introduced by Fabric 1.3 version. based on the repo. I did some changes in order to support idemix. But when I run java -cp blockchain-client.jar org.example.chaincode....
0
votes
1
answer
326
views
Gradle does not download dependencies for fabric-sdk-java
I am new to Gradle and trying to integrate and run my java application on hyper-ledger fabric.
I added this code to download the dependencies.
repositories {
mavenLocal()
mavenCentral()
...
0
votes
2
answers
516
views
Issue with dissemenation of private data in hyperledger fabric
I have very simple network structure with two peer organizations and one orderer.
orderer.org0
peer0.org1
peer1.org1
peer0.org2
Private data collections is defined like below:
---
- ...
1
vote
1
answer
220
views
How do I force set the user context without a key value store or wallet?
For testing purposes, I already have the public key + private key + certificate on hand (can just hardcode it), and I can set up the CA through the connection profile, but how would I invoke a ...