duandong1869 2016-06-24 15:42
浏览 134
已采纳

在设置Hyperledger开发环境和网络时获取grpc超时

I followed the docs provided by the hyperledger/fabric documentation. I have setup a network with two validating peers and not CA. I try to run the "peer node status" and "peer network list" command and keep getting the following error: "Error: Error trying to connect to local peer: grpc: timed out trying to connect"

I also tried changing the "maxprocs" to 2 in the core.yaml file, but it still didn't fix the issue. Any help is appreciated.

  • 写回答

1条回答 默认 最新

  • dongyiba8082 2016-06-25 00:41
    关注

    The “Error: Error trying to connect to local peer: grpc: timed out trying to connect” usually means that Validation Peer is not started. In default configuration peer process should listen port 30303 and you can easily check that using netstat -a | grep 30303

    If Validation Peer is started locally, the output should be similar to:

    tcp6       0      0 [::]:30303              [::]:*                  LISTEN
    

    In case if Validation Peer is started in Docker container or on remote VM the IP address should be provided:

    CORE_PEER_ADDRESS=172.17.0.2:30303 ./peer node status
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 基于双目测规则物体尺寸
  • ¥15 wegame打不开英雄联盟
  • ¥15 公司的电脑,win10系统自带远程协助,访问家里个人电脑,提示出现内部错误,各种常规的设置都已经尝试,感觉公司对此功能进行了限制(我们是集团公司)
  • ¥15 救!ENVI5.6深度学习初始化模型报错怎么办?
  • ¥30 eclipse开启服务后,网页无法打开
  • ¥30 雷达辐射源信号参考模型
  • ¥15 html+css+js如何实现这样子的效果?
  • ¥15 STM32单片机自主设计
  • ¥15 如何在node.js中或者java中给wav格式的音频编码成sil格式呢
  • ¥15 不小心不正规的开发公司导致不给我们y码,