I'm trying to configure a GoCD installation on Windows 2012 R2 to access a private BitBucket repository over HTTPS, using Basic Auth. When I click "Check Connection" I get the following error:
STDERR: fatal: unable to access 'https://<redacted-username>:******@bitbucket.org/<redacted>/<redacted>': Failed to connect to bitbucket.org 443: Connection refused
If I run the git ls-remote command that is output in Go from a Git Bash prompt on the same machine it works.
Access to the internet is via CNTLM, with global git config set (from the Git Bash prompt) to use
http://localhost:3128 for http.proxy and https.proxy.
Any ideas on how to resolve this would be much appreciated (Is Go using a different git client that is not using the global configuration that has been set?)
Mark