GithubHelp home page GithubHelp logo

wahabjawed / build-multi-host-network-hyperledger Goto Github PK

View Code? Open in Web Editor NEW
46.0 5.0 45.0 32 KB

Build Multi-Host Network - Hyperledger Fabric

License: MIT License

Shell 63.29% Go 36.71%
multi host multi-host hyperledger hyperledger-fabric network blockchain blockchain-technology

build-multi-host-network-hyperledger's People

Contributors

lehors avatar wahabjawed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

build-multi-host-network-hyperledger's Issues

Steps giving some issues while execution. Plz help!

Hi Abdul, I tried your steps, but while I try executing the step :

  1. Peer 1 [We will execute this in a separate terminal on PC2 to spawn peer1.]

It shows the error message as follows after execution, though the process doesn’t fail and shows following error messages continuously:

2018–02–23 14:03:05.042 UTC [gossip/discovery] func1 -> WARN 1d4 Could not connect to {peer0.org1.example.com:7051 [] [] peer0.org1.example.com:7051} : context deadline exceeded

If ignoring this Warning exception, If I try to move to further step i.e.

  1. CLI [Execute the below script in a different terminal on PC2 to spawn CLI]
    I see following error message and process fails:

2018–02–23 14:04:22.162 UTC [grpc] Printf -> DEBU 003 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = “transport: Error while dialing dial tcp: lookup orderer.example.com on 127.0.0.11:53: no such host”; Reconnecting to {orderer.example.com:7050 }
Error: Error connecting due to rpc error: code = Unavailable desc = grpc: the connection is unavailable

Could you please help me further on this? I’d greatly appreciate.

issues in executing CLI

Hi ,
I am trying to create a network with multiple hosts using Azure and AWS instance. I am using docker swarm to create the network. The network is created with Azure instance as manager and AWS instance as worker.
The ca, orderer, peer0 , couchdb containers are up and running in manager instance. couchDb, peer1 is running in the worker (AWS) instance. I am not able to start the CLI container in worker node.
It shows “channel creation failed ” and orderer conatainer is not available.I checked in bringing up the CLI in manager node also. It is showing the peer1 is not available and shows chainnel join error.
I am able to ping the networks and it is working fine.
Could you please help me with this?

executing ./bmhn.sh requires channelID

root@mistrys47:~/fabric-samples/first-network/Build-Multi-Host-Network-Hyperledger# ./bmhn.sh
Generating certs and genesis block for with channel 'mychannel' and CLI timeout of '10'
Continue (y/n)? Y
proceeding ...
/root/fabric-samples/bin/cryptogen

##########################################################

Generate certificates using cryptogen tool

##########################################################
org1.example.com

/root/fabric-samples/bin/configtxgen
##########################################################
######### Generating Orderer Genesis block ##############
##########################################################
2020-02-10 22:21:28.722 IST [common.tools.configtxgen] main -> FATA 001 Missing channelID, please specify it with '-channelID'
Failed to generate orderer genesis block...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.