尝试使用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

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.