Cryptography 错误:获取广播客户端时出错:rpc错误:代码=不可用描述=传输:写入tcp

Cryptography 错误:获取广播客户端时出错:rpc错误:代码=不可用描述=传输:写入tcp,cryptography,hyperledger-fabric,blockchain,hyperledger-fabric-ca,hyperledger-chaincode,Cryptography,Hyperledger Fabric,Blockchain,Hyperledger Fabric Ca,Hyperledger Chaincode,我正在尝试使用命令使用自定义cryptomaterial(不在FabricsSample中工作)创建通道 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

我正在尝试使用命令使用自定义cryptomaterial(不在FabricsSample中工作)创建通道

 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.
完整输出

 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

“创建”命令中有错误。您需要为使用configtxgen命令生成的通道指定通道事务文件(.tx)


对等通道创建-c myc-f指定\u通道\u事务\u文件-o order2.IdentityPreservationSystem.com:7050

现在我收到此错误授权更新错误:验证读取集错误:现有配置不包含[Group]的元素/Channel/Application/OrgMSP,但在读取集中。我可以知道您是如何生成加密材料的吗?使用cryptogenOk,然后请按照下面提到的链接将组织添加到现有频道中。还要确保您使用的是正确的组织MSP和频道名称。按照上面的链接,让我知道为什么我应该添加另一个组织。我的业务逻辑需要一个组织