3,919 questions
0 votes
0 answers
31 views
hyperledger Fabric Ca - Error: Enrollment information does not exist. Please execute enroll command first
I'm manually setting up a hyperledger fabric network with 3 Ubuntu virtual machines running on Oracle VirtualBox. All machines are in the same network and are able to ping each successfully. Below is ...
0 votes
0 answers
39 views
Getting this Hyperledger Error for weeks now: access denied: channel creator org unknown, creator is malformed - proposal response: <nil>
I simply want to add a peer to my org1. I am able to create certificates for it using both cryptogen and CA, and also spin up the docker container for this new peer. But every time, I try to query ...
0 votes
1 answer
76 views
Hyperledger Fabric chaincode typescript deploy error "MissingRefError: can't resolve reference Object from id PatientModel#"
I'm working on a smart contract using Hyperledger Fabric with TypeScript. I have the following model import { Object, Property } from 'fabric-contract-api'; @Object() export class PatientModel { @...
1 vote
0 answers
52 views
Hyperledger Fabric: "Signature is invalid" for second endorser during policy evaluation, but first endorser passes
Context: I'm running a Hyperledger Fabric v2.x network with 2 orgs (Org1, Org2), each with one peer, and a single orderer. The chaincode in question is referred to here as chaincode_name_placeholder ...
0 votes
0 answers
60 views
Hyperledger Fabric CA token signature verification failed
I am writing an API in go, with an HTTP client that communications with the REST API of the Fabric CA server. I have problems with the registration requests to the server, specifically, the server ...
0 votes
1 answer
63 views
Hyperledger Fabric - "bad header" error when creating a channel
I have followed this tutorial to deploy a Hyperledger Fabric platform (one channel, one orderer and three peers, each node from their own organization). However, in the last version of the different ...
0 votes
1 answer
84 views
Problem with hyperledger fabric offline signing
I'm having some trouble with the implementation of Hyperledger Fabric offline signing method with the fabric-gateway package. My code looks like this at the moment: async function main() { const ...
0 votes
1 answer
62 views
In Hyperledger Fabric v2.5, how does a peer internally connect to the StateDB? Which files handle this connection?
In Hyperledger Fabric v2.5, how does a peer connect to the state database (StateDB) internally? Which files are involved in connecting to the StateDB, and how can we implement a custom database (...
0 votes
1 answer
23 views
Hyperledger Caliper - How to close WebSocket connection
How can I close the WebSocket connection opened by Hyperledger Caliper? My config.json looks like this { "caliper": { "blockchain": "ethereum" }, &...
0 votes
1 answer
117 views
Is it possible to manually sign a transaction in Hyperledger Fabric?
Im working on an user interface for hyperledger fabric with bevel operator. In fabric's default implementation, the CA creates a key for signing transactions for each user. I wanted to remove this ...
0 votes
1 answer
176 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 ...
-1 votes
1 answer
278 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 ...
-1 votes
1 answer
55 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 ...
-3 votes
1 answer
109 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
84 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 ...