使用fabric里的configtxlator重新配置网络报错!!

执行

peer channel fetch config mychannel.block -c testchainid -o 127.0.0.1:7050

获取已经创建的应用通道的配置区块时报出以下错误:

2017-11-02 09:49:20.859 CST [msp] getMspConfig -> WARN 001 Intermediate certs folder not found at [/home/wind/go/src/github.com/hyperledger/fabric/sampleconfig/msp/intermediatecerts]. Skipping. [stat /home/wind/go/src/github.com/hyperledger/fabric/sampleconfig/msp/intermediatecerts: no such file or directory]

2017-11-02 09:49:20.859 CST [msp] getMspConfig -> WARN 002 TLS intermediate certs folder not found at [/home/wind/go/src/github.com/hyperledger/fabric/sampleconfig/msp/tlsintermediatecerts]. Skipping. [stat /home/wind/go/src/github.com/hyperledger/fabric/sampleconfig/msp/tlsintermediatecerts: no such file or directory]

2017-11-02 09:49:20.859 CST [msp] getMspConfig -> WARN 003 crls folder not found at [/home/wind/go/src/github.com/hyperledger/fabric/sampleconfig/msp/crls]. Skipping. [stat /home/wind/go/src/github.com/hyperledger/fabric/sampleconfig/msp/crls: no such file or directory]

2017-11-02 09:49:20.874 CST [channelCmd] InitCmdFactory -> INFO 004 Endorser and orderer connections initialized Error: Error receiving: rpc error: code = Internal desc = transport is closing Usage: peer channel fetch <newest|oldest|config|(number)> [outputfile] [flags]

Flags:

-c, --channelID string In case of a newChain command, the channel ID to create.

Global Flags:

 –cafile string Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint

–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”)

–tls Use TLS when communicating with the orderer endpoint

-v, --version Display current version of fabric peer server

大家帮忙分析下,可能是什么原因,已经卡了一天了,有没有什么解决方法!!


请先 登录 后评论

1 个回答

Haley

看起来目录有问题?

请先 登录 后评论