Не удалось создать канал - PullRequest
0 голосов
/ 02 июля 2018

Я - новичок в Hyperledger Fabric, и, как описано в документации, я установил все необходимые компоненты и настроил сетевые артефакты. Но после того, как я хочу открыть сеть. Я получаю эту ошибку, и я не знаю, что делать:

Error: failed to create deliver client: orderer client failed to connect to orde
rer.example.com:7050: failed to create new connection: x509: certificate signed
by unknown authority (possibly because of "x509: ECDSA verification failure" whi
le trying to verify candidate authority certificate "tlsca.example.com")
Usage:
  peer channel create [flags]

Flags:
  -c, --channelID string   In case of a newChain command, the channel ID to crea
te.
  -f, --file string        Configuration transaction file generated by a tool su
ch as configtxgen for submitting to orderer
  -t, --timeout int        Channel creation timeout (default 5)

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 wi
th 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 va
lidating the TLS connection to the orderer.
      --tls                                 Use TLS when communicating with the
orderer endpoint
  -v, --version                             Display current version of fabric pe
er server

!!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!
========= ERROR !!! FAILED to execute End-2-End Scenario ===========

ERROR !!!! Test failed

ОС: Windows 7 Hyperledger Fabric: 1.1 Последняя установка Docker

1 Ответ

0 голосов
/ 02 июля 2018

После нескольких попыток запустить сеть я создал контейнеры, которые мне пришлось удалить с помощью команды docker ps -aq. Также я должен был отключить сеть до этого с помощью команды ./byfn.sh -m down. Затем я перезапустил все, используя byfn.sh -m generate -c mychannel и byfn.sh -m up -c mychannel -s couchdb Затем все заработало, как описано в документации.

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...