这个和blockchain-explorer没有什么关系,是fabric没有起来,能否提供一下你的系统的配置信息。特别是docker的配置信息。
我按照官网https://github.com/hyperledger/blockchain-explorer/blob/master/README.cn.md部署
设置fabric docker运行环境
执行到5 ./start.sh,
总是提示
______________________________________________________________________________________________
2017-10-11 01:06:40.668 UTC [msp] GetDefaultSigningIdentity -> DEBU 00e Obtaining default signing identity
2017-10-11 01:06:40.668 UTC [msp] GetLocalMSP -> DEBU 00f Returning existing local MSP
2017-10-11 01:06:40.668 UTC [msp] GetDefaultSigningIdentity -> DEBU 010 Obtaining default signing identity
2017-10-11 01:06:40.668 UTC [msp/identity] Sign -> DEBU 011 Sign: plaintext: 0AC4060A1608021A0608A0DDF5CE0522...E660CB801DF9A9A69F20AA5466F7EDA9
2017-10-11 01:06:40.668 UTC [msp/identity] Sign -> DEBU 012 Sign: digest: 7D0BCD4307DB459E28064CA49203FE06337CCD03403C491F4C8D3430DEEBC56A
Error: Got unexpected status: SERVICE_UNAVAILABLE
Usage:
peer channel create [flags]
Global Flags:
-b, --blockpath string Path to file containing genesis block
--cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint
-c, --chain string In case of a newChain command, the chain ID to create.
-f, --file string Configuration transaction file generated by a tool such as configtxgen for submitting to orderer
--logging-level string Default logging level and overrides, see core.yaml for full syntax
-o, --orderer string Ordering service endpoint
--test.coverprofile string Done (default "coverage.cov")
-t, --timeout int Channel creation timeout (default 5)
--tls Use TLS when communicating with the orderer endpoint
-v, --version Display current version of fabric peer server
!!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
================== ERROR !!! FAILED to execute End-2-End Scenario ==================
________________________________________________________________________________________
如何解决,或者排查思路
这个我已经找到问题了,就是docker-compose版本太高了我用的1.16,我降到1.9,就ok了