Code Monkey home page Code Monkey logo

fabric-hcs's People

Contributors

adecaro avatar ale-linux avatar binhn avatar c0rwin avatar cendhu avatar christo4ferris avatar denyeart avatar dereckluo avatar gaborh-da avatar gennadylaventman avatar ghaskins avatar guoger avatar hacera-jonathan avatar jimthematrix avatar jonathanlevi avatar kchristidis avatar lhaskins avatar lindluni avatar manish-sethi avatar mastersingh24 avatar muralisrini avatar nickgaski avatar pamandrejko avatar paranjan avatar rameshthoomu avatar sykesm avatar wenjianqiao avatar wlahti avatar yacovm avatar yeasy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fabric-hcs's Issues

Error running BYFN on feature/hcs branch

Followed the instructions on readme here: https://github.com/hashgraph/fabric-samples-hcs/blob/feature/hcs/first-network/README_hcs.md

I believe I have set-up the environment correctly as suggested in the readme.

Everything worked up until this last command: ./byfn.sh up -t 20

Error message:

Simis-MacBook-Pro-2:first-network simihunjan$ ./byfn.sh up -t 20
Starting for channel 'mychannel' with CLI timeout of '20' seconds and CLI delay of '3' seconds
Continue? [Y/n] y
proceeding ...
LOCAL_VERSION=2.0.0
DOCKER_IMAGE_VERSION=2.0.0
1+0 records in
1+0 records out
32 bytes transferred in 0.000050 secs (642190 bytes/sec)
./byfn.sh: line 160: hcscli: command not found
generated HCS topics: 
 will be used for the system channel, and  will be used for the application channel
peer1.org1.example.com is up-to-date
Starting orderer.example.com ... 
Starting orderer3.example.com ... 
peer0.org2.example.com is up-to-date
Starting orderer.example.com  ... done
peer1.org2.example.com is up-to-date
Starting orderer3.example.com ... done
Starting orderer2.example.com ... done
CONTAINER ID        IMAGE                                  COMMAND                  CREATED             STATUS                      PORTS                                NAMES
ef738e366d5c        hyperledger/fabric-orderer:latest      "orderer"                24 hours ago        Up Less than a second       7050/tcp, 0.0.0.0:9050->9050/tcp     orderer3.example.com
591a7331e178        hyperledger/fabric-orderer:latest      "orderer"                24 hours ago        Up Less than a second       0.0.0.0:7050->7050/tcp               orderer.example.com
19ae0e281848        hyperledger/fabric-orderer:latest      "orderer"                24 hours ago        Up Less than a second       7050/tcp, 0.0.0.0:8050->8050/tcp     orderer2.example.com
164fa357401f        hyperledger/fabric-tools:latest        "/bin/bash"              39 hours ago        Up 39 hours                                                      cli
eaefab604a86        hyperledger/fabric-peer:latest         "peer node start"        39 hours ago        Up 39 hours                 7051/tcp, 0.0.0.0:9051->9051/tcp     peer0.org2.example.com
b22206b5845e        hyperledger/fabric-peer:latest         "peer node start"        39 hours ago        Up 39 hours                 0.0.0.0:7051->7051/tcp               peer0.org1.example.com
303d53db1870        hyperledger/fabric-peer:latest         "peer node start"        39 hours ago        Up 39 hours                 7051/tcp, 0.0.0.0:10051->10051/tcp   peer1.org2.example.com
80f86792f712        hyperledger/fabric-peer:latest         "peer node start"        39 hours ago        Up 39 hours                 7051/tcp, 0.0.0.0:8051->8051/tcp     peer1.org1.example.com
365d02bc5ead        adoptopenjdk:11-jre-hotspot            "java -cp mirrorNode…"   7 months ago        Exited (1) 7 months ago                                          docker_mirror-node-102-file-update_1
a151fcab4f79        adoptopenjdk:11-jre-hotspot            "java -cp mirrorNode…"   7 months ago        Exited (1) 7 months ago                                          docker_mirror-node-record-download-parse_1
2751527f94c0        adoptopenjdk:11-jre-hotspot            "java -cp mirrorNode…"   7 months ago        Exited (143) 7 months ago                                        docker_mirror-node-balance-parser_1
a631b154667f        adoptopenjdk:11-jre-hotspot            "java -cp mirrorNode…"   7 months ago        Exited (143) 7 months ago                                        docker_mirror-node-balance-downloader_1
342db8240275        node:11                                "docker-entrypoint.s…"   7 months ago        Exited (137) 7 months ago                                        docker_mirror-node-rest-api_1
693c34fdf439        postgres:11.4-alpine                   "docker-entrypoint.s…"   7 months ago        Exited (0) 7 months ago                                          docker_mirror-node-postgres_1
87707fb6c20a        maven:3.6.1-jdk-11-slim                "/usr/local/bin/mvn-…"   7 months ago        Exited (0) 7 months ago                                          hedera-mirror-node-master_compiler_1
2e66fed2bd64        maven:3.6.1-jdk-11-slim                "/usr/local/bin/mvn-…"   7 months ago        Exited (0) 7 months ago                                          hedera-mirror-node-master_new_compiler_1
1fad2dcb72f8        docker_mirror-node-record-parser       "java -Dlog4j.config…"   8 months ago        Exited (255) 8 months ago                                        docker_mirror-node-record-parser_1
fb1e72b0cd5c        docker_mirror-node-record-downloader   "java -Dlog4j.config…"   8 months ago        Exited (255) 8 months ago                                        docker_mirror-node-record-downloader_1
4851b5aeea69        postgres:10.6-alpine                   "docker-entrypoint.s…"   8 months ago        Exited (0) 8 months ago                                          postgres
c08aa33f8de2        tutum/hello-world                      "/bin/sh -c 'php-fpm…"   10 months ago       Exited (255) 8 months ago   80/tcp                               modest_blackwell
b0fa04ee671f        tutum/hello-world                      "/bin/sh -c 'php-fpm…"   10 months ago       Exited (0) 10 months ago                                         suspicious_cohen
120f8895cb48        9df4e503750e                           "/entrypoint.sh --do…"   10 months ago       Created                                                          cranky_kapitsa
5bf7e853e6f7        9df4e503750e                           "/entrypoint.sh --do…"   10 months ago       Exited (1) 10 months ago                                         peaceful_austin
Sleeping 5s to allow all components to complete booting
Vendoring Go dependencies ...
~/go/src/github.com/hyperledger/fabric/first-network/chaincode/abstore/go ~/go/src/github.com/hyperledger/fabric/first-network
~/go/src/github.com/hyperledger/fabric/first-network
Finished vendoring Go dependencies

 ____    _____      _      ____    _____ 
/ ___|  |_   _|    / \    |  _ \  |_   _|
\___ \    | |     / _ \   | |_) |   | |  
 ___) |   | |    / ___ \  |  _ <    | |  
|____/    |_|   /_/   \_\ |_| \_\   |_|  

Build your first network (BYFN) end-to-end test

Channel name : mychannel
Creating channel...
Signing the channel create transaction...
2020-04-10 21:38:15.874 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized
Error: channel create configuration tx file not found open ./channel-artifacts/channel.tx: no such file or directory
2020-04-10 21:38:16.101 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized
Error: channel create configuration tx file not found open ./channel-artifacts/channel.tx: no such file or directory
+ peer channel create -o orderer.example.com:7050 -c mychannel -f ./channel-artifacts/channel.tx --tls true --cafile /opt/gopath/src/github.com/hyperledger/fabric/peer/crypto/ordererOrganizations/example.com/orderers/orderer.example.com/msp/tlscacerts/tlsca.example.com-cert.pem -t 30s
+ res=1
+ set +x
Error: failed to create deliver client for orderer: orderer client failed to connect to orderer.example.com:7050: failed to create new connection: connection error: desc = "transport: error while dialing: dial tcp: lookup orderer.example.com on 127.0.0.11:53: no such host"
!!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
========= ERROR !!! FAILED to execute End-2-End Scenario ===========

ERROR !!!! Test failed
Simis-MacBook-Pro-2:first-network simihunjan$

Looking at the error message it looks like it is looking for channel.tx file within the channel-artifacts directory that is not currently present.

unable to bootstrap orderer. Error reading genesis block file: read /var/hyperledger/orderer/orderer.genesis.block: is a directory

Hi, This is the general HLF bug for 2.0.0v and your first-network example has a same bug.
https://jira.hyperledger.org/browse/FAB-17125

Bug: Unable to bootstrap orderer - error reading genesis block file.

Error Detail:

panic: unable to bootstrap orderer. Error reading genesis block file: read /var/hyperledger/orderer/orderer.genesis.block: is a directory

goroutine 1 [running]:
github.com/hyperledger/fabric/orderer/common/bootstrap/file.(*fileBootstrapper).GenesisBlock(0xc00044c310, 0xc00044c310)
/go/src/github.com/hyperledger/fabric/orderer/common/bootstrap/file/bootstrap.go:39 +0x1c0
github.com/hyperledger/fabric/orderer/common/server.extractBootstrapBlock(0xc000140d80, 0xc0003865b0)
/go/src/github.com/hyperledger/fabric/orderer/common/server/main.go:595 +0x13f
github.com/hyperledger/fabric/orderer/common/server.Main()
/go/src/github.com/hyperledger/fabric/orderer/common/server/main.go:129 +0x12c1
main.main()
/go/src/github.com/hyperledger/fabric/cmd/orderer/main.go:15 +0x20

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.