Skip to content

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

Description

@michaelxioup

$ 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")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions