Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello i get an error when using docker-compose up and then run the file created #45

Open
michaelxioup opened this issue Jul 6, 2021 · 0 comments

Comments

@michaelxioup
Copy link

$ docker-compose up -d && cd .. && ./blockchain.exe
Creating network "fabsdkgo_default" with the default driver
Creating ca.org1.hf.chainhero.io ...
Creating orderer.hf.chainhero.io ...
Creating ca.org1.hf.chainhero.io ... done
Creating orderer.hf.chainhero.io ... done
Creating peer0.org1.hf.chainhero.io ...
Creating peer1.org1.hf.chainhero.io ...
Creating peer1.org1.hf.chainhero.io ... done
Creating peer0.org1.hf.chainhero.io ... done
SDK created
Ressource management client created
Channel created
Unable to initialize the Fabric SDK: failed to make admin join channel: join channel failed: Multiple errors occurred: - SendProposal failed: Transaction processing for endorser [localhost:7051]: Endorser Client Status Code: (2) CONNECTION_FAILED. Description: dialing connection on target [localhost:7051]: connection is in TRANSIENT_FAILURE - SendProposal failed: Transaction processing for endorser [localhost:8051]: Endorser Client Status Code: (2) CONNECTION_FAILED. Description: dialing connection on target [localhost:8051]: connection is in TRANSIENT_FAILURE

i checked the compose and ports they all work fine i am using windows 10 btw docker newest version and go version newest should i use the recommended go version ?

i also get because it's saying they are broken imports
could not import github.com/hyperledger/fabric/core/chaincode/shim (no required module provides package "github.com/hyperledger/fabric/core/chaincode/shim")
could not import github.com/hyperledger/fabric/protos/peer (no required module provides package "github.com/hyperledger/fabric/protos/peer")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant