Questions tagged [hyperledger-fabric]
Hyperledger Fabric is an implementation of blockchain technology. Use this tag for questions about this project.
6,210
questions
-1
votes
0
answers
12
views
Tools required also the working process of deploying a Hyperledger Fabric based mobile and web application for records storage & retrieval by parties [closed]
I am very much new to Blockchain.
I've thought to integrate Hyperledger Fabric into a mobile application and make a transparent storage system where the credentials like any documents can be stored ...
0
votes
0
answers
8
views
multiple nodes in a Hyperledger fabric
I want to create a non-simulation Hyperledger Fabric environment using multiple Raspberry pi's etc.
How can I implement this with multiple nodes in a Hyperledger fabric?
Most searches and questions ...
-1
votes
1
answer
12
views
Fabric on Kuberntes without chaincode as a service
It is possible to use external builders and launchers, but not to use ccaas, so I don't have to modify my actual chaincode and I could deploy it on K8s?
Is there any example with java script chaincode ...
0
votes
0
answers
5
views
What does hfc-lvs and hdc-cvs refer to here in the connection profile?
I'm trying to use fabric client . It requires a common profile so I've been trying to build it. Reference(https://hyperledger.github.io/fabric-sdk-node/release-1.4/tutorial-network-config.html) . But ...
0
votes
0
answers
9
views
hyperledger fabric chaincode deploy error
My peer node reported this error:
this is my configtx.yaml:
Organizations:
- &ebao
Name: ebao
ID: ebaoMSP
MSPDir: crypto-config/ordererOrganizations/ebao.com/msp
- &tk
...
0
votes
1
answer
13
views
Is working with an offline private key still possible using @hyperledger/fabric-gateway
We are developing CBDC (Central bank digital currency). We have two requirements:
only user stores his private keys (wallet).
user interracts with mobile app of his bank
user doesn't see the IPs of ...
0
votes
0
answers
28
views
Unable to down the docker-compose files separately or in different sequence
Hey there I'm new to docker-compose and today I encoutered a strange issue. I have two docker-compose files located inside different folders.
This is the folder structure.
|__compose
| |__compose-...
0
votes
1
answer
22
views
How to create channel using fabric-client sdk in hyperledger fabric
I've been working on building an api for hyperledger fabric network that is to be used in one of our projects. The major issue is that there is absolutely ridiculous documentation available for the ...
-1
votes
0
answers
16
views
Hyperledger Fabric opentelemetry dependency floods log with an export attempt. How to disable it?
I have a working Hyperledger Fabric Java Gateway v2.2.8 Spring Boot 3 App but it floods the logs with this entry... any tip on how I can disable this GrpcExporter? (I think it is generated by ...
0
votes
1
answer
30
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
0
answers
17
views
"unable to find valid certification path to requested target" in Fabric 2.2.2 network with Fabric Gateway Java
I am trying to use Fabric Gateway Java to access a Fabric 2.2.2 network. I have imported the peer crt and also the ca.crt in the peer directory into the JDK cacerts keystore but I am getting PKIX path ...
0
votes
1
answer
43
views
OpenTelemetry version conflict in Spring Boot 3.1.3 with Hyperledger Fabric Gateway Java 2.2.8 (using gradle)
I need to include OpenTelemetry in a Spring Boot 3.1.3 project as it is required by Hyperledger Fabric Gateway 2.2.8
Looks like I am getting version conflicts between OpenTelemetry 1.29.0 and 1.25.0 ...
-1
votes
1
answer
19
views
How to browse logs of a Hyperledger Fabric 2.2.2 Java chaincode deployed in Kubernetes using DinD (tcp)
I am having a problem in a Fabric network (v2.2.2) deployed in Kubernetes using Docker (DinD). I get a 500 error returned when I do a "peer chaincode query...":
Error: endorsement failure ...
0
votes
0
answers
8
views
Unable to fetch application channel config after updating consenter certificates incorrectly
As part of the certificate renewal procedure, I simultaneously updated the system channel consenter certificates (tls certs) in channel configuration for all three orderers. I understand that the ...
0
votes
0
answers
18
views
How to get identity information from Hyperledger Fabric ca?
I have deployed a CA and generated identities. I would like to be able to get information about identities that are registered with the CA. Specifically, given a certificate, I would like to verify ...
-1
votes
0
answers
9
views
How to use getStatePartialCompositeKey method to get data from blockchain?
``async addNewPatients(ctx, patientName, SSN, age, gender, mobileNo, address){
const iterator = await ctx.stub.getStateByPartialCompositeKey('healthnet.patient', [SSN]);
const patientBuffer = [];
let ...
-1
votes
0
answers
16
views
Can't commit chaincode in Hyperledger Fabric 2.2.2 using test-network: error: peer will not accept external chaincode (except in devmode)
In order to fully understand the external chaincode I am following the tutorials for external chaincode deployment in Hyperledger Fabric 2.2.2 (I use 2.2.2 because it is the supported versin in ...
0
votes
0
answers
40
views
Is it possible to read data on a private data collection on HLF when not on the policy, but the collection config "memberOnlyRead": false
I'm trying and failing miserably to read data on a HLF collection as ORG1 on a collection 'owned' by ORG2.
I'm using the fabric-sample test network.
Flow
Org2 creates a document in it's collection ...
0
votes
0
answers
19
views
Hyperledger Fabric Explorer set up issue
I have set up my fabric network by official tutorial. Now I want to set up my first Fabric Explorer.
I follow this tutorial(docker version): https://github.com/hyperledger-labs/blockchain-explorer
I ...
1
vote
2
answers
95
views
TLS Handshake failed with error EOF when deploying Hyperledger Fabric on multi-host
I am trying to develop a package that allow users to dynamically deploy Hyperledger Fabric peer and orderer on multi-host.
The source code is uploaded here to clarify the question further. You can ...
1
vote
0
answers
19
views
Process is stuck while invoking a function from Hyperledger fabric test network
I already installed chaincode on test network now I am trying to invoke this function addNewPatients(its logic is given below) but only curser is blinking does not give any response or error
Tried to ...
0
votes
0
answers
17
views
Failed to generate platform-specific docker build: "no required module provides package github.com/block/go: go.mod ile not found"
I got this error while running hyperledger fabric project "Error: could not assemble transaction, err proposal response was not successful, error code 500, msg error starting container: error ...
-1
votes
2
answers
56
views
Hyperledger Fabric gRPC Length Limit, Timeout for Application
I am running a chaincode application that basically returns a lot of historical versions (getHistoryForKey for a range of keys). I am running that chaincode over the 3 million key:value pair inserted ...
0
votes
0
answers
16
views
How to see exact fields that were modified in a Hyperledger Fabric transaction?
I have an object called Asset with three fields: id, name, and someInt. On my deployed chaincode, I have a method that updates an asset’s name by providing its id. When I check the Hyperledger ...
2
votes
1
answer
98
views
Using Hyperledger Fabric Gateway on NodeJS Docker Container
I've configured a Hyperledger Fabric network that's composed of three organizations: One is hosting three orderers nodes and the other two contains two peers each.
In order to interact with the ...
0
votes
0
answers
13
views
Hyperledger-fabric login and register a client to get the ORG_APIKEYs
I want to get the ORG_APIKEYs to communicate with Hyperledger-fabric rest-API.I'm using this endpoint http://localhost:3000/api/assets/ for getting all assets in Hyperledger-fabric but I should give ...
0
votes
0
answers
15
views
Cannot run peer because error when setting up MSP of type bccsp from directory: Fabric test-network
Good day
I am new to Hyperledger fabric (using version 2.5.3) and struggling with test network. I am trying to interact with the network using peer CLi. I was following steps shown in the tutorial for ...
0
votes
0
answers
29
views
Hyperledger Caliper : Error: No valid responses from any peers when connected to remote fabric server
I have setup a Hyperledger fabric node (with 3 organizations each having a single peer) on one remote server and a Hyperledger Caliper node to benchmark it using the sample chaincode (asset-transfer-...
0
votes
1
answer
37
views
Error: endorsement failure during invoke in Hyperledger Fabric
When I try to invoke, it says:
Error: endorsement failure during invoke. response: status:500 message:
"error in simulation: failed to execute transaction ...
0
votes
0
answers
11
views
"empty block data" when starting orderer using Hyperledger Bevel
I am trying to finalise the tutorial and videos on the Demo network for Hyperleger bevel: https://blockchain-automation-framework.readthedocs.io/en/latest/gettingstarted.html
Init jobs for both test ...
0
votes
0
answers
48
views
Failed to connect before the deadline on Endorser name: ${peerName}, url:grpcs://${peerAddress}, connected:false, connectAttempted:true
I have hyperledger fabric network with:
TLS CA
Org CA
Org Intermediate CA
Peer
Orderer
Chaincodes
My network deployed in k8s cluster. I have not root privileges in this cluster. There are specific ...
0
votes
1
answer
29
views
Error: Connection profiles for the organization(s) 'manufacturerMSP' have been specified as discover which is not allowed
i am trying to test my hyperledger code with caliper and when im trying to run this command
npx caliper launch manager --caliper-workspace ./ --caliper-networkconfig caliper-config.yaml --caliper-...
0
votes
0
answers
38
views
Hyperledger fabric 2.5.3 Client TLS handshake failed with error: tls: first record does not look like a TLS handshake remoteaddress
I am building a test network with 1 orderer, 2 org, 4 peer and 4 cli for test.
When I create the channel using "peer channel create" based on the hyperledger fabric 2.5.3, I get some TLS-...
0
votes
0
answers
53
views
Hyperledger Explorer fails to start with the error "FabricClient - Error: DiscoveryService: channel1 error: access denied"
I'm trying to setup a sample Hyperledger Fabric network and Hyperledger Explorer based on the examples provided in "fabric-samples".
Step 1: Create network "test-network" with 1 ...
0
votes
0
answers
25
views
Permissions problem creating a file in a mounted volume in MacOS docker desktop
I am trying to follow Hyperledger Bevel intro guide and trying to execute bevel from a Docker as explained in
https://blockchain-automation-framework.readthedocs.io/en/latest/developer/docker-build....
0
votes
0
answers
16
views
While running query via chaincode getting error "Channel channel_Name has been shutdown."
Trying to run couchdb query via chanincode but getting error "Channel channel_Name has been shutdown."
Network network = gateway.getNetwork(channelName); Contract contract = network....
0
votes
0
answers
15
views
lunching a caliper in fabric test
hope someone can help ,i wanted to run a caliper on fabric auction-simple ,but after binding with bash npx caliper bind --caliper-bind-sut fabric:2.2, the in test-net folder :bash
./network.sh up ...
0
votes
0
answers
21
views
How to enable intellisense in VSCode for chaincode development (Hyperledger Fabric)
Facing issues with vscode intellisense not working while writing chaincode. This is Hyperledger Fabric chaincode development with vscode
'use strict';
const { Contract } = require('fabric-contract-api'...
0
votes
1
answer
15
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"...
1
vote
0
answers
32
views
Hyperledgerfabric nodeJS - chaincode API - Error: spawn E2BIG
I have a Data61Bpmn2Chaincode Project where there is a nodeJS server running which handle post reqeuests to chaincode API where a couchDB is also running.
I want to store a large JSON (4kb, 16KB, ...
0
votes
0
answers
7
views
I have issue with the network config file caliper_config.yaml
its for Peer-to-Peer Energy Trading in Smart Grid Through Blockchain: A Double Auction-Based Game Theoretic Approach ,i have a repo that i want to run with FABRIC and CALIPER but i have issue with the ...
0
votes
0
answers
20
views
Can I run code for IBM blockchain platform on AWS Blockchain Manager
As I am sure many of you know that IBM Blockchain Platform has been closed since April '23. So if I have a GitHub repository that works on IBM Extension can I run the sam eon AWS Blockchain Manager or ...
0
votes
0
answers
40
views
Node.js connection error with Hyperledger fabric running on AWS
I'm trying to connect hyperledger in my node.js application. I worked locally on test-network and it worked properly for me. Then I created the network via Aws and deployed the chaincodes. I then try ...
0
votes
0
answers
34
views
HyperLedger Fabric approve chaincode error:"rpc error: code = Canceled desc = context canceled"
I am creating a Hyperledger fabric network and have created a channel named "mychannel" on VM1 and later I created 3 more VM and joined the channel on vm2 and vm3. Vm4 is my orderer. It is ...
-1
votes
1
answer
51
views
Fabric SDK Go Conflict with Fabric 1.4.12 Protos - "Message Already Registered" Error
I'm encountering an issue while working with Hyperledger Fabric 1.4.12. The problem arises when I try to run my Go application, and it throws a panic with the following error message:
panic: proto: ...
0
votes
0
answers
22
views
Blockchain - Fabric - Cannot run peer
I run the tutorial for installing Hyperledger Fabric - by following steps in the url
[https://hyperledger-fabric.readthedocs.io/en/release-2.5/test_network.html]
However, when I want to try run ...
0
votes
0
answers
31
views
osnadmin request for orderer to join channel fails with connection refused in hyperledger fabric
I have created a orderer node and a channel genesis block but when i try to join the orderer to the channel using admin client/ osnadmin. the connection results in error: connection refused.
Somehow ...
0
votes
1
answer
62
views
Using hyperledger fabric discovery service with fabric-gateway
What is the best way to go about specifying several peers that client application could contact for them to start a transaction on a channel when using fabric-gateway?
Examples I've found in docs rely ...
-1
votes
2
answers
45
views
HLF Chaincode - docker peer [MVCC_READ_CONFLICT]
I have a Data61BPMNtoChaincode Project on a ubuntu vm. (https://github.com/leoaction/Data61BPMNtoChaincode/tree/master)
For starting a client, NodeJS is used as a server which sends multiple requests ...
1
vote
0
answers
19
views
Hyperledger Fabric: Gossip Protocol, Where Are Messages Received?
I have posted this question on Reddit already, but in hope to receive a few more answers here I go :)
As per title, I am looking for where in the source code of Hyperledger Fabric Gossip Messages are ...