436 questions
0
votes
1
answer
202
views
Deploying chaincode failed, socket is broken
We are running a Fabric test network on an Ubuntu virtual machine. The test network starts up fine using:
./network.sh up createChannel -ca
However, it fails when deploying chaincode. The chaincode ...
0
votes
1
answer
78
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
votes
1
answer
294
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
111
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
115
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
2
answers
315
views
Hyperledger Fabric v2.5.9 - CCAAS - Install chaincode tries to build a docker image, not taking into consideration that for CCAAS should not do it
I have deployed a Hyperledger Fabric network v2.5.9 with K8S.
The core.yaml in the peer v2.5.9 image already includes the externalBuilder section:
# List of directories to treat as external builders ...
0
votes
1
answer
129
views
On Mac M1, HyperLedger Chaincode install fails with error "dial unix /host/var/run/docker.sock: connect: no such file or directory"
I am trying to setup Hyperledger Fabric (v2.2.7) in Mac M1 Pro and using Docker Desktop v4.32.0. I was setting two organisation network. I was able to setup Peers, CA, Orderers in both Organisations ...
0
votes
1
answer
108
views
committed with status (ENDORSEMENT_POLICY_FAILURE) at peer1.org1.com:7051
I'm just starting out with Hyperledger Fabric (at a really low level):
I'm on Ubuntu 20.04.6 LTS
I use: Docker Desktop (Docker compose v2.23.3-desktop.2) , Fabric 2.5.5 and Fabric CA 1.4.
Browsing ...
0
votes
1
answer
117
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
0
answers
1k
views
Dynamic provisioning not working in aws eks for ebs volumes
I am trying to run hlf operator to create a hyperledger network for my project. The issue is that all the pods get stuck due pvc issue. The pvc always remains in pending state. I tried installing csi ...
1
vote
0
answers
71
views
Getting error while invoking golang chaincode
I written following a hyperledger chaincode. I am storing medicine details in public state & order details in private state. Inside this contract I am getting medicine details, order details, ...
0
votes
1
answer
276
views
Error deploying chaincode in Hyperledger Firefly Fabric
When you run the following command to raise a smart contract:
ff deploy fabric devtest asset_transfer.zip firefly asset_transfer 1.0
I get the following error:
Error: docker run --platform linux/...
-2
votes
1
answer
94
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 ...
-1
votes
1
answer
36
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
218
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 ...