hyperledger-fabric e2e_cli在搭建的时候遇到的坑及解决方法

1.具体环境搭建,示例如何运行请参考

    http://www.cnblogs.com/studyzy/p/7437157.html

2.


Error: Error connecting due to  rpc error: code = Unavailable desc = grpc: the connection is unavailable

这个问题具体原因不清楚,我这边的解决方式是,保证image和fabric代码的branch版本一致

代码branch为1.1.0

  release-1.1

  remotes/origin/HEAD -> origin/release-1.1

  remotes/origin/feature/ca

  remotes/origin/feature/convergence

  remotes/origin/master

  remotes/origin/release-1.0

  remotes/origin/release-1.1

  remotes/origin/v0.6

  remotes/origin/v1.0.0-preview


对应的image版本为

hyperledger/fabric-ca          latest                 72617b4fa9b4        2 weeks ago         299MB

hyperledger/fabric-ca          x86_64-1.1.0           72617b4fa9b4        2 weeks ago         299MB

hyperledger/fabric-tools       latest                 b7bfddf508bc        2 weeks ago         1.46GB

hyperledger/fabric-tools       x86_64-1.1.0           b7bfddf508bc        2 weeks ago         1.46GB

hyperledger/fabric-orderer     latest                 ce0c810df36a        2 weeks ago         180MB

hyperledger/fabric-orderer     x86_64-1.1.0           ce0c810df36a        2 weeks ago         180MB

hyperledger/fabric-peer        latest                 b023f9be0771        2 weeks ago         187MB

hyperledger/fabric-peer        x86_64-1.1.0           b023f9be0771        2 weeks ago         187MB

hyperledger/fabric-javaenv     latest                 82098abb1a17        2 weeks ago         1.52GB

hyperledger/fabric-javaenv     x86_64-1.1.0           82098abb1a17        2 weeks ago         1.52GB

hyperledger/fabric-ccenv       latest                 c8b4909d8d46        2 weeks ago         1.39GB

hyperledger/fabric-ccenv       x86_64-1.1.0           c8b4909d8d46        2 weeks ago         1.39GB

hyperledger/fabric-baseos      x86_64-0.4.6           220e5cf3fb7f        6 weeks ago         151MB

hyperledger/fabric-kafka       latest                 cf09c5534ef9        5 months ago        1.37GB

hyperledger/fabric-kafka       x86_64-1.1.0-preview   cf09c5534ef9        5 months ago        1.37GB

hyperledger/fabric-tools       x86_64-1.0.0           0403fd1c72c7        8 months ago        1.32GB

hyperledger/fabric-couchdb     latest                 2fbdbf3ab945        8 months ago        1.48GB

hyperledger/fabric-couchdb     x86_64-1.0.0           2fbdbf3ab945        8 months ago        1.48GB

hyperledger/fabric-zookeeper   latest                 e545dbf1c6af        8 months ago        1.31GB

hyperledger/fabric-zookeeper   x86_64-1.0.0           e545dbf1c6af        8 months ago        1.31GB

3. 最后一个坑

ause process failed = kafka: insufficient data to decode packet, more bytes expected

2018-04-04 04:02:12.000 UTC [orderer/consensus/kafka] func1 -> CRIT 74c Unable to decode a Kafka packet. Usually, this indicates that the Kafka.Version specified in the orderer configuration is incorrectly set to a version which is newer than the actual Kafka broker version.

kafka 的image版本为为x86_64-1.1.0-preview ,我下载的时候没有x86_64-1.1.0的版本,所以只是下载了1.0.0导致了这个问题

ps: 在跑示例的时候gopath路径一定要设置正确

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值