Questions involving hyperledger/fabric-sdk-go which is a golang library for accessing hyperledger fabric networks.
Questions tagged [hyperledger-fabric-sdk-go]
68 questions
1
vote
0 answers
Can't invoke chaincode using fabric-sdk-go lib in hyperledger fabric
What do I want to do
Originally, I wanted to deploy 3 organiazations on different hosts respectively and 50 peers in a fabric network and provide web service that let users interact with fabric ledger.But, as a beginner, I am aware of complexity of…

LM T
- 11
- 2
1
vote
1 answer
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 credentials for my Fabric network. I have tried…

drewfiss90
- 57
- 1
- 3
1
vote
1 answer
Hyperledger Go SDK Client error connection is in TRANSIENT_FAILURE remote error: tls: bad certificate
I know there are several errors like this one, but I see most of them are with the test-network, using a local environment and my case is different.
I have a blockchain running using k8s it used to be running in V1.4 and we migrated it to V2.3 so…

Ana Franco
- 1,611
- 3
- 24
- 43
1
vote
1 answer
TRANSIENT_FAILURE occurs when a transaction is sent using Gateway that is configured using `WithSDK` in fabric-go-sdk
I'm building a client server to connect with Hyperledger Fabric network using fabric-go-sdk. To use a custom logging system, I get an FabricSDK object using fabsdk.New() then inject it to a Gateway object using gateway.WithSDK function. Check the…

byron1st
- 969
- 1
- 13
- 35
1
vote
0 answers
How to initialize FabricSDK correctly?
EDIT: It appears the network.sh script requires the COMPOSE_PROJECT_NAME environment variable to be set to test or it won't initialize the network correctly? Having done this, I've tried writing a new config.yaml file, which is still not correct,…

Andrew Napier
- 11
- 5
1
vote
1 answer
fabric invoke chaincode error: Failed to get endorsing peers: no endorsement combination can be satisfied
I have set up my fabric network with 3 orderers in one organization and a consortium with 5 organizaitons successfully. Each organization has only one peer node and join in the same channel. And I have installed and instantiated two chaincodes in…

Mikasa JD
- 83
- 4
1
vote
1 answer
How to send transactions async or batch send in Hyperledger Fabric using fabric-sdk-go
I want to make many txs on fabric chaincode, how to call it async or in batch?
While I only found
channelClient.Execute channelClient.Query method, it send txs one by one and wait until tx is committed in block.

Gang Zhao
- 126
- 8
1
vote
0 answers
fabric-sdk-go.beta3 execute LifecycleApproveCC failed
[fabsdk/fab] 2020/09/11 08:57:44 UTC - dispatcher.(*Dispatcher).HandleConnectEvent -> WARN error creating connection: could not connect to peer0.org1.example.com:7051: dialing connection on target [peer0.org1.example.com:7051]: connection is in…

ghostchen47
- 11
- 1
1
vote
2 answers
Can hyperledger-fabric get the peer node running status without entering the docker container?
Can hyperledger-fabric get the peer node running status without entering the docker container? If so, how should I get it?

xupter
- 61
- 3
1
vote
1 answer
Not able to install fabric-sdk-go and its dependencies
I am trying to download fabric-sdk-go library and all its dependency with the below command in a linux VM.
go get -u github.com/hyperledger/fabric-sdk-go/...
It is giving the below error.
#…

Sibaprasad Maiti
- 507
- 8
- 19
1
vote
1 answer
Hyperledger fabric go sdk - Transactions are not getting commited
I have a basic first network up and running with two orgs and both of them with 2 peers. The transactions are not getting committed. When I invoke, the chaincode run as expected in the container and returns the proposals as expected. But those did…

Karthikeyan
- 2,634
- 5
- 30
- 51
1
vote
5 answers
HyperLedger Fabric SDK Go showing cannot convert nil to type csr.KeyRequest
One of the go-lang based microservice code require to connect with fabric's chain code, It was working fine until last time, no issue so far.
But now it's showing the following issue while building the go based microservice which have fabric client…

Sumit Arora
- 5,051
- 7
- 37
- 57
1
vote
0 answers
Questions about the channel creation process
I have an API with an endpoint creating a channel, joining a peer to it and instantiating chaincodes on it. While coding the process I encountered some interrogations about how things are done.
An organization admin certificate is tested byte per…

Dot-H
- 11
- 1
1
vote
1 answer
Fabric-sdk-go client.Query returns error: failed to create transactor: Channel_Cfg_Cache - cache is closed
I am trying to make a simple demo using the fabric-sdk-go. I wonder anybod know why the code below ("client.Query") returns the error "failed to create transactor: Channel_Cfg_Cache - cache is closed"?
func initSdkClient() (*channel.Client){
…

Moon
- 361
- 2
- 10
1
vote
1 answer
Error Channel — bad newest block expected status 200 got 403, channel mychannel
I am exploring Hyperledger Fabric and programming using Golang and Fabric Java SDK. When I am running an example, (https://medium.com/@lkolisko/hyperledger-fabric-sdk-java-basics-tutorial-a67b2b898410), I am facing the following error
“Error…

Rishi
- 41
- 5