启动网络时出现致命错误

时间:2017-10-23 06:18:51

标签: hyperledger-fabric hyperledger

我正在关注本教程https://hyperledger-fabric.readthedocs.io/en/latest/build_network.html我使用./byfn.sh -m generate / up成功生成了我的频道现在尝试使用

启动网络
# command: /bin/bash -c './scripts/script.sh ${CHANNEL_NAME}; sleep $TIMEOUT'

我遇到了以下错误:

Channel name : mychannel
Creating channel...
panic: Fatal error when initializing core config : Error when reading core config file: 
        Unsupported Config Type ""goroutine 1 [running]:panic(0xbb8400, 0xc0421fd4b0)
        /opt/go/go1.7.linux.amd64/src/runtime/panic.go:500
        +0x1afmain.main()/w/workspace/fabric-binaries-x86_64/gopath/src/github.com/
                  hyperledger/fabric/peer/main.go:94 +0x859
!!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
========= ERROR !!! FAILED to execute End-2-End Scenario ===========

1 个答案:

答案 0 :(得分:0)

我认为网络尚未准备好运行该脚本。 请修改如下命令:

命令:/ bin / bash -c'睡10s; ./scripts/script.sh $ {CHANNEL_NAME};睡觉$ TIMEOUT'