3 Hyperledger 配置环境错误,求大神!

Attempting to fetch system channel 'testchainid' ...3 secs

Attempting to fetch system channel 'testchainid' ...9 secs

Attempting to fetch system channel 'testchainid' ...15 secs

Attempting to fetch system channel 'testchainid' ...21 secs

Attempting to fetch system channel 'testchainid' ...27 secs

Attempting to fetch system channel 'testchainid' ...33 secs

Attempting to fetch system channel 'testchainid' ...40 secs

Attempting to fetch system channel 'testchainid' ...46 secs

Attempting to fetch system channel 'testchainid' ...52 secs

Attempting to fetch system channel 'testchainid' ...58 secs

2018-04-12 05:31:55.566 UTC [msp] GetLocalMSP -> DEBU 001 Returning existing local MSP

2018-04-12 05:31:55.566 UTC [msp] GetDefaultSigningIdentity -> DEBU 002 Obtaining default signing identity

2018-04-12 05:31:55.589 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 <nil>}

2018-04-12 05:31:56.595 UTC [grpc] Printf -> DEBU 004 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 <nil>}

2018-04-12 05:31:58.143 UTC [grpc] Printf -> DEBU 005 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 <nil>}

Error: failed to create deliver client: orderer client failed to connect to orderer.example.com:7050: failed to create new connection: context deadline exceeded

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

      --certfile string                     Path to file containing PEM-encoded X509 public key to use for mutual TLS communication with the orderer endpoint

      --clientauth                          Use mutual TLS when communicating with the orderer endpoint

      --keyfile string                      Path to file containing PEM-encoded private key to use for mutual TLS communication with the orderer endpoint

      --logging-level string                Default logging level and overrides, see core.yaml for full syntax

  -o, --orderer string                      Ordering service endpoint

      --ordererTLSHostnameOverride string   The hostname override to use when validating the TLS connection to the orderer.

      --tls                                 Use TLS when communicating with the orderer endpoint

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


!!!!!!!!!!!!!!! Ordering Service is not available, Please try again ... !!!!!!!!!!!!!!!!

================== ERROR !!! FAILED to execute End-2-End Scenario ==================


这个问题怎么解决??

求大神帮忙


请先 登录 后评论

1 个回答

代码匠人 - PHP工程师
擅长:区块链

lookup orderer.example.com on  127.0.0.11  你是采用Docker启动还是直接启动,如果是Docker启动那么检查一下Docker的配置文件,如果是直接启动,配置一下域名和IP的映射  




比如linux系统系统中执行一下命令




vi /etc/hosts




增加以下内容


172.16.10.188 orderer.example.com


请先 登录 后评论
  • 1 关注
  • 0 收藏,2304 浏览
  • 代码匠人 提出于 2019-07-25 15:53