2018-04-12 10:32
浏览 29

尝试使用dep获取依赖项时使用HTTP 407

I am trying to work on a Go open source project, on a corporate device. Attempts to address the dependencies via dep ensure command always return 407 PROXY AUTH required. I do have http_proxy and https_proxy environment variable set with values in the format http://user:pasword@proxyname:proxyport. I have also attempted to set the git configs http.proxy. But I do get the same error. What am I missing?


图片转代码服务由CSDN问答提供 功能建议

我正在尝试在公司设备上进行Go开源项目。 尝试通过 dep sure 命令解决依赖关系的尝试总是返回 407需要的PROXY AUTH 。 我确实以 http:// user:pasword @ proxyname:proxyport 格式设置了 http_proxy https_proxy 环境变量。 我还尝试设置 git 配置 http.proxy 。 但是我确实得到了同样的错误。 我想念什么?


  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • douwen1915 2018-04-17 12:36

    This is owing to Git client configuration issues and mismatch between git binary and gnutls. I have had to recompile git binary using openssl, to get this to work.

    打赏 评论

相关推荐 更多相似问题