【问题标题】:uid : unable to do port forwarding: socat not found using helmuid:无法进行端口转发:使用 helm 找不到 socat
【发布时间】:2020-03-29 00:54:56
【问题描述】:

我遇到了一个错误,我正在关注这个 github repository。我正在设置 raft-tls 网络,当我运行 helm install ./hlf-kube --name hlf-kube -f samples/scaled-raft-tls/network.yaml -f samples/scaled-raft-tls/crypto-config.yaml 时。我收到此错误:

E1204 14:11:40.826765    8223 portforward.go:400] an error occurred forwarding 36311 -> 44134: error forwarding port 44134 to pod e311fa9de89b8489ed9a184835a149ef0e23b568770bd4872d16b43a439f863f, uid : unable to do port forwarding: socat not found
E1204 14:11:41.832704    8223 portforward.go:400] an error occurred forwarding 36311 -> 44134: error forwarding port 44134 to pod e311fa9de89b8489ed9a184835a149ef0e23b568770bd4872d16b43a439f863f, uid : unable to do port forwarding: socat not found
E1204 14:11:43.406081    8223 portforward.go:400] an error occurred forwarding 36311 -> 44134: error forwarding port 44134 to pod e311fa9de89b8489ed9a184835a149ef0e23b568770bd4872d16b43a439f863f, uid : unable to do port forwarding: socat not found
E1204 14:12:16.085542    8223 portforward.go:340] error creating error stream for port 36311 -> 44134: Timeout occured
E1204 14:12:40.523969    8223 portforward.go:362] error creating forwarding stream for port 36311 -> 44134: Timeout occured
E1204 14:13:05.802412    8223 portforward.go:362] error creating forwarding stream for port 36311 -> 44134: Timeout occured

【问题讨论】:

    标签: kubernetes hyperledger-fabric hyperledger kubernetes-helm minikube


    【解决方案1】:

    研究了一段时间后,我发现我必须在我的 ubuntu 上安装 socat。我试过了,它解决了我的错误。我通过运行以下两个命令来做到这一点。

    sudo apt-get update 
    sudo apt-get install socat
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-02-04
      • 1970-01-01
      • 1970-01-01
      • 2016-04-19
      • 2021-10-28
      • 2019-08-22
      • 2012-07-02
      • 1970-01-01
      相关资源
      最近更新 更多