Questions tagged [hyperledger-chaincode]
448 questions
1
vote
1 answer
Cannot create container for service peer0.org2.example.com: create .: volume name is too short, names should be at least two alphanumeric characters
Wehenever trying to start the test network by making docker-compose test network up the below error is receive.
Cannot create container for service peer0.org2.example.com: create .: volume name is too short, names should be at least two alphanumeric…

Ahmed Ali
- 13
- 2
1
vote
2 answers
Hyperledger Fabric Invoke Java Chaincode(as a external service) timeout
I am trying to implement chaincode as external service by Java with Fabric 2.2.3. The invoke of contract method from peer always be timeout.
My peers and network should be fine because it works fine when I run a contract service with GO in the same…

Veee
- 11
- 1
1
vote
1 answer
Failed to catch a chaincode event when the the first chaincode who set the event is invoked by a second chaincode
I'm trying to catch an event payload from a chaincode A deployed in my infra, when I tried to catch the event payload directly from the chaincode A, it works, but when I try to catch the same event payload when a chaincode A is invoked by another…

Oussema
- 25
- 5
1
vote
2 answers
ProposalResponsePayloads do not match - ERC-1155 Chaincode / fabric-samples
I follow ERC-1155 chaincode example for Fabric. When I run the BatchTransferFrom part. It sometimes gives error and sometimes runs successfully. I cannot understand why it fails sometimes. Is this error normal when invoking chaincode functions on…

Baran Kılıç
- 23
- 4
1
vote
2 answers
How peers belong to Organizations endorse hyperledgerl fabric update transaction
I am new to blockchain technology let alone hyperledger fabric.
But as far as I understand all the nodes or peers of other organizations are involved while application / user requests for update transaction. And if all the nodes of network…

Blockchain Kid
- 315
- 2
- 9
1
vote
4 answers
Hyperledger Fabric - external chaincode with TLS from fabric-ca
I'm trying to setup Hyperledger Fabric using the new external chaincode service feature. Running the chaincode with the default configuration (no tls or peer authentication) works as expected.
I've read quite a few tutorials about this topic, but…

Victor Van Doom
- 73
- 6
1
vote
0 answers
Error: error getting broadcast client: orderer client failed to connect to orderer:7050: failed to create new connection: context deadline
I have been trying to install external chaincode. I have two different chaincode which are question and response. When I try to make a request to install them to orderer endpoint, orderee throws TLS handshake error. Here are logs from…

Kanha Upadhyay
- 81
- 2
- 7
1
vote
0 answers
Unable to get Transaction Details with GetTransactionByID qscc call from another chaincode
FABCG-23,
We recently upgraded our Fabric version from 1.4 to 2.3. In our Chaincode we have business logic to verify a txnId is present in ledger or not. With Fabric 2.3 upgrade we are getting below error. If this is a limitation from added in 2.x…

p.kamesh.cse
- 11
- 3
1
vote
2 answers
Shared infrastructure in Hyperledger Fabric
I was checking a use-case if it is possible to share the peers, invoke chaincode functions & perform transactions with different MSPs. This is a use-case where a shared environment will be required for some organizations that are not willing to…

Akshay Sood
- 6,366
- 10
- 36
- 59
1
vote
2 answers
How to get txid after successful invoke operation | hyperledger fabric 2.x
In HLF 1.4 I can get transaction id after successful invoke operation. But In HLF 2.x I am not getting txid. I can see the data which I submitted to hlf in state database (couch db). Then why I am not getting txid. Here is last line in…

Gurunath
- 341
- 3
- 17
1
vote
1 answer
Hyperledger Fabric - Manual intervention for approval of chaincode invocation from the other organizations
Assume that there exist 2 different chaincodes, say chaincodeA and chaincodeB.
chaincodeA implements a function that, before it is completed (e.g. put something in the state), it invokes a function from chaincodeB that asks the Admins from the other…

GeorgePal
- 85
- 6
1
vote
1 answer
Hyperledger fabric: unexpected deliverResponse status received - 404
I am facing an issue with calling chaincode to store asset after pushing few 100 records. I am getting an error in my node application logs.
2021-03-08T10:04:09.498Z - error: [EventService]: on.data [peer1.org1.example.com,peer1.org1.example.com] -…

GPC
- 381
- 2
- 14
1
vote
0 answers
when installed chaincode I get the error could not connect to ordering service
I have a multihost network running on three separate hosts (with docker swarm).
In testing these hosts were all on the same subnet and everything worked fine.
Now I have migrated a host on another external network connected via vpn, I can create the…

Marck
- 21
- 3
1
vote
1 answer
ENDORSEMENT_POLICY_FAILURE while invoking chain code using even if the transaction object contains enough endorsements
I have a network on hyperledger fabric 1.4.4 with 5 organizations A , B, C , D , E. I created a channel with these 5 orgs and installed my chaincode on org A and org B because only they are apart of the endorsement policy.
This is the endorsement…

jkalwar
- 61
- 1
- 7
1
vote
0 answers
Hyperledger Fabric : Failed fetching private data from remote peers
I am facing an issue with writing data to implicit PDC(Private Data Collection), I have 2 peers for Org1, but when I am trying to store an asset in the implicit PDC, I am getting an error. when I observed the peer logs, I see below warning in the…

GPC
- 381
- 2
- 14