Я пытаюсь создать канал с пользовательским криптоматериалом (не работает в fabricSample) с помощью команды
peer channel create -c myc -o orderer2.IdentityPreservationSystem.com:7050
и получаю эту ошибку
Error: Error getting broadcast client: rpc error: code = Unavailable desc = transport: write tcp 172.20.0.7:42446->172.20.0.3:7050: write: connection reset by peercontainers are running with the services of peers CA and orderers.
complete Вывод
2020-01-26 19:10:00.072 UTC [channelCmd] InitCmdFactory -> INFO 001 Endorser and orderer connections initialized
2020-01-26 19:10:00.232 UTC [common/tools/configtxgen/localconfig] Load -> INFO 002 Loaded configuration: /etc/hyperledger/fabric/configtx.yaml
Error: Error getting broadcast client: rpc error: code = Unavailable desc = transport: write tcp 172.20.0.7:42446->172.20.0.3:7050: write: connection reset by peer
Usage:
peer channel create [flags]
Flags:
-c, --channelID string In case of a newChain command, the channel ID to create.
-f, --file string Configuration transaction file generated by a tool such 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 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