dop83362 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?

Thanks

  • 写回答

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.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?