372 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 ...
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 ...
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
12
views
Fabric CA: fresh enrolled admin can not register new identity: Certificate not found
After enrolled the bootstrap ID of a new Fabric-CA, I can not register any identity
The CA-Server logs:
72.25.1.9:37754 POST /register 401 30 "Certificate not found with AKI '...
0
votes
0
answers
112
views
Getting "Invalid token in authorization header" error while registering user with Hyperledger Fabric CA
I am trying to register and enroll users using Hyperledger Fabric CA in my Node.js application. However, I keep getting the following error when attempting to register a user:
2024/07/21 09:33:53 [...
0
votes
0
answers
20
views
How to enroll a peer/orderer/admin type identity using Fabric CA when LDAP is enabled?
I have setup a fabric network using docker. This is not the default testnetwork provided by fabric.
In this setup I am using 3 CA, 2 for orgs and 1 for ordererOrg.
Previously when I was registering ...
0
votes
1
answer
82
views
HyperLedger Fabric: getting connection refused - when trying to add an orderer node to a channel via osnChannelJoin
Fabric Version - 2.4.
TLS is enabled both for ORDERER_GENERAL and ORDERER_ADMIN.
3 EtcdRaft orderers configured, each with it's own admin.
Using fabric-tools, I can ping the administrator's host ...
0
votes
0
answers
63
views
Error while configuring hyperledger explorer using fabric-ca
Explorer logs:
Error instantiating FabricCAServices Error: Calling enroll endpoint failed, CONNECTION Timeout
explorer.mynetwork.com | at TLSSocket.<anonymous> (/opt/explorer/...
0
votes
1
answer
35
views
MSPs for 2 of the PeerOrganizations are not being generated
I am trying to build and generate MSPs and certificate materials for my PeerOrganizations. I have 3 of them. The MSPs and the certificate materials for 2 of the organizations are not being generated. ...
0
votes
1
answer
139
views
Accessing Fabric CA Server with REST API (Authentication Error)
https://github.com/hyperledger/fabric-ca/blob/release-1.2/swagger/swagger-fabric-ca.json
Using the above link as reference, I've success with the cainfo method (using localhost:27054/api/v1/cainfo). ...
0
votes
0
answers
45
views
Learning Hyperledger Fabric & setting up a simple network. Stuck on an error while trying to regenerate the channel configuration transaction
Command I am using on Terminal:
"configtxgen -profile OneOrgOrdererGenesis -outputCreateChannelTx /Users/anmolmanchanda/go/src/github.com/18738798/fabric-samples/fabric-network/channel.tx -...
0
votes
1
answer
76
views
Hyperledger Fabric CA Certificate Error with Fabric Samples deployment
I was trying the steps mentioned for the deployment of Asset Transfer Basic Chaincode mentioned here.
https://github.com/hyperledger/fabric-samples/tree/main/asset-transfer-basic
I could deploy the ...
0
votes
1
answer
60
views
Validity dates for certificates issue with Fabric CA
I've been creating new certificates with expiry: 43800h, that's 5 years of validity. However, the "Not Before" and the "Not After" have dates that do not match which the day the ...
0
votes
1
answer
430
views
openssl s_client connect does not work - unable to get local issuer certificate
I'm trying to connect from my local pc to my Fabric-CA server. The CA server is on a docker environment and I'm trying to launch my hyperledger fabric network with the use of SSL certificates.
I ...
0
votes
2
answers
125
views
Registering failed with errors [{'code': 20, 'message': 'Authentication failure'}] - Hyperledger Fabric
I'm having a problem registering a new user via my Fabric CA.
I'm using the Hyperledger Fabric Python SDK and I'm using the register function of the CAClient() object, here the entire code:
cli = ...
1
vote
0
answers
587
views
SSL: CERTIFICATE_VERIFY_FAILED : certificate verify failed: self-signed certificate (_ssl.c:1007)'))) - Hyperledger Fabric
PLEASE HELP ME
For days I haven't been able to understand why I can't configure my hyperledger fabric network with secure SSL communication, due to certificate errors.
I provide you with all the ...
1
vote
0
answers
68
views
Hyperledger Fabric Connection issues with Docker Swarm on GCP instances
I have created a Hyperledger Fabric (version 2.2) network consisting of four nodes, with two nodes hosted on AWS instances and the other two on GCP instances. I have connected these nodes using a ...
-1
votes
1
answer
76
views
How to store Log File data on Hyperledger Blockchain?
I want to store Log file data on the private blockchain Hyperledger fabric.
Please tell me is it possible?
If yes, the what steps I need to follow? and what are the steps?
To store Log data Line by ...
-1
votes
1
answer
91
views
Error occur from creating asset twice on Hyper Ledger fabric example
I got this error from trying to use CreateAsset() function twice.Error image
Does anyone know the cause of this? or what can I do to fix it?
I was playing with the fabric-samples and wanted to try to ...
0
votes
1
answer
511
views
Hyperledger Fabric ECDSA verification failure" while trying to verify candidate authority certificate
I am in the process of upgrading Hyperledger network from 1.4.9 to 2.2.10. As some people said that try to first create new 2.2.X peer from scratch and make these peer join the channel. I have two ...
1
vote
1
answer
370
views
How to fix FireFly Fabconnect container start issue: "User credentials store creation failed. User credentials store path is empty"
Sorry upfront for the long question. I wanted to make sure all the information was laid out for you.
I am having issues getting my FireFly Fabconnect container to be able to read/see/recognize my user ...
0
votes
1
answer
37
views
Hyperledger Fabric2.4.7 testnetwork- how can I read an other Orgs implicit private data collection
Now, I am using the fabric 2.4.7 version of the test network on ubuntu20.04. This network has an order node and two peer nodes peer0.org1 and peer0.org2.
I tried to use implicit private data ...
-1
votes
1
answer
143
views
No peers defined in the channel that have the ledger query role. Failed to execute the transaction
No peers defined in the channel that have the ledger query role. Failed to execute the transaction: Error: No peers defined in the channel that have the ledger query role.
When I remove particular ...
0
votes
1
answer
327
views
can't enroll peer to hyperledger fabric on aks using hlf operator
I keep getting this error when trying to enroll a peer to the fabric ca via the hlf operator:
Error: enroll failed: enroll failed: Failed to read response of request: POST >http://org1-ca.domain....
-1
votes
1
answer
225
views
Error adding to wallet. TypeError: FileSystemWallet is not a constructor
i have the written the chaincode and for that to interact with the frontend like express.js i need to add identities of the organizations of which peer i need to interact and i am getting the below ...
0
votes
0
answers
469
views
tls: bad certificate after certificate updates
I have Hyperledger Fabric (1.3) network which had expired certificates.
I was not able to execute peer chaincode commands.
I have generated certificates using same ca server and replaced. Now I am ...
0
votes
1
answer
64
views
Error when revoking a user: "Caller does not have authority to revoke"
I'm trying to setup a user to be able to register and revoke other users. I use the fabric-ca-client command to register a user and enroll like so:
fabric-ca-client register \
--id.name user8 \
--id....
1
vote
1
answer
69
views
I want to add the 3rd orderer node and I copied the steps from when I made the 2nd orderer node however it gives error connection refused
I want to add new orderer node into the test-network and as the first step, I ran the below script.
orderer.sh
export FABRIC_CA_CLIENT_HOME=${PWD}/organizations/ordererOrganizations/example.com
...
-1
votes
3
answers
680
views
Deploying chaincode from tutorial on hyperledger fabric throws error
I've been following the hyperledger fabric tutorials and the asset-transfer-basic chaincode is not being deployed properly. My fabric version is 2.2, and my golang version is 1.18.x .
I've run this ...
-1
votes
1
answer
36
views
ERROR: for rca-org2 Cannot start service rca-org2: OCI runtime create failed: container_linux.go:345:
ERROR: for rca-org2 Cannot start service rca-org2: OCI runtime create failed: container_linux.go:345: starting container process caused "exec: \"/bin/bash\": stat /bin/bash: no such ...
0
votes
1
answer
417
views
FORBIDDEN -- config update for existing channel did not pass initial checks: implicit policy evaluation failed
I'm trying to create an application channel for a hyperledger fabric network which consists of:
certificate authority for all participants
TLS certificate authority for ordering nodes and peers
one ...
0
votes
1
answer
57
views
Local saving user credentials after registration in fabric-ca
Help me please!
How can I save user credentials in special local folder after registration in fabric-ca?
I write app with npm packages for hyperledger fabric.
let wallet = await Wallets....
0
votes
1
answer
326
views
How to make a user authentication using hyperledger fabric
i have a current channel of hyperledger fabric with chaincode that does CRUD operations my question is that is there any way to make a method in a chaincode that registers the new user when certain ...
0
votes
1
answer
168
views
Retrieval of lost Hyperledger wallet user details
We use MongoDB as a wallet to store wallet identities, but we lost (deleted) data from MongoDB collection. Now we have to retrieve those identities. What functionality is available to retrieve those ...
0
votes
2
answers
715
views
Error: Response from server: Error Code: 20 - Authentication failure - Amazon Managed Blockchain
I'm following the AWS supply chain workshop. After creating the network, peer, connecting to the peer using SSH and doing the initial setup (docker, go, fabric-ca-client and copying the ...
1
vote
1
answer
906
views
Delete a record From Hyperledger fabric
I have installed and configured an Hyperledger Blockchain environment in a local machine for testing. I have developed a dApp for "Car Registeration and Taxation System". I have also ...
0
votes
2
answers
450
views
What is the best way to check if a Hyperledger Fabric CA server is up and running?
I am setting up a number of Fabric CA servers and am looking for the most reliable way to perform status checks from a centralized server in order to check if they're running or not.
Looking through ...
0
votes
2
answers
130
views
"orderer binary" command not working in docker-compose
I'm trying to launch my hyperledger fabric network using docker-compose which has all the "orderer and peer" configs in the environment section of the docker-compose file.
But When I launch ...
0
votes
1
answer
359
views
GLIBC_2.28 not found (required by ./fabric-ca-server)
I try to initialize Fabric CA server by command:
./fabric-ca-server init -b {user}:{password}
and receive:
./fabric-ca-server: /lib64/libc.so.6: version `GLIBC_2.28' not found (required by ./fabric-...
1
vote
1
answer
529
views
Purpose of csr hosts in fabric ca config
What is the purpose of csr.hosts in fabric-ca-server-config.yaml ?
For ex, see below
csr:
cn: ca-org1
names:
- C: US
ST: "New York"
L: "New York"
...
0
votes
2
answers
258
views
How does the endorsing peer will check or confirm if submitting client signature is valid
Would you please help me to understand the below questions. These questions are internals of fabric architecture and have not been very well documented in the fabric docs.
Whenever an identity is ...
0
votes
2
answers
479
views
Network Configuration to achieve high throughput in HyperLedger Fabric
I have improvised fabcar example of hyperledger fabric samples and build my express application over it. But according to my use case, I need at least 100-200 Tps but currently getting around 3.5 ...
0
votes
0
answers
53
views
Building Network Layer in Hyperledger Fabric
I am writing this to ask the question if we can build a network layer on top of the hyperledger fabric network.
I am actually working on a research project where I want to add encryption layer on the ...
0
votes
2
answers
78
views
Can we find the endorser details in smart contract during execution(Hyperledger Fabric)?
Can we find the endorser details in smart contract during execution(Hyperledger Fabric) ?
-1
votes
1
answer
186
views
Could not initialise BCCSP PKCS11 In Fabric CA with HSM
In one of my project, I am using Fabric CA as Root Certificate Authority to use NitroKey2 HSM by following :
For Fabric CA : https://hyperledger-fabric.readthedocs.io/en/release-2.2/hsm.html
For ...
0
votes
1
answer
296
views
Modifying an Identity: Failed to verify if user can act on type 'user'
Doing some testing with Hyperledfer Fabric, I'm doing the task of creating a new identity with a wrong type, to then practice modifying the identity. However, when I execute:
fabric-ca-client register ...
0
votes
1
answer
135
views
Meaning of option `fabric-ca-server -d`?
The fabric-samples test network setup for fabric-ca-server (found in fabric-samples/test-network/docker/docker-compose-ca.yaml) initializes the certificate server with
command: sh -c 'fabric-ca-server ...
0
votes
2
answers
166
views
Fabric CA Server DB in the Client
I am building a Hyperledger Fabric blockchain application (docker containers) where I have created also an application gateway (docker container) with node js to interact with it as a backend service.
...
-2
votes
1
answer
242
views
why does this error occured in hyperledger Fabric 2.2 ,could not validate identity's OUs: certifiersIdentifier does not match?
When I try to up the network,using docker-compose, peer exited with the below mentioned message.
panic: Failed putting our own identity into the identity mapper: failed classifying identity: Unable to ...