【问题标题】:Error when deploying bna file to Bluemix将 bna 文件部署到 Bluemix 时出错
【发布时间】:2017-05-03 00:32:34
【问题描述】:

我能够生成我的存档文件 (.bna),但是当我运行命令部署它时,我收到以下错误:

$ composer network deploy --archiveFile test@1.0.0.bna --enrollId user_type4_1 --enrollSecret <secret> -p bluemix
Deploying business network from archive: test@1.0.0.bna
Business network definition:
Identifier: test@1.0.0
Description:

TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
Command failed

我的bluemix 个人资料的connection.json 文件是:

{
  "type": "hlf",
  "membershipServicesURL": "grpcs://6175a0e332ef47a3b87dc1056697e76b-ca.us.blockchain.ibm.com:30001",
  "peerURL": "grpcs://6175a0e332ef47a3b87dc1056697e76b-vp3.us.blockchain.ibm.com:30001",
  "eventHubURL": "grpcs://6175a0e332ef47a3b87dc1056697e76b-vp3.us.blockchain.ibm.com:31001",
  "keyValStore": "/home/jeff/.composer-credentials",
  "deployWaitTime": "300",
  "invokeWaitTime": "100"
}

【问题讨论】:

    标签: ibm-cloud blockchain hyperledger-fabric hyperledger-composer


    【解决方案1】:

    请看 Fabric composer integration with Bluemix blockchain service, 您的连接配置文件缺少证书和证书路径 使用安全 grpc 通信所需的定义 在您的连接配置文件中。服务提供者 (bluemix) 应该有 提供证书信息作为连接的一部分 详情。

    https://github.com/hyperledger/composer/issues/794

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多