Sourcetree Proxy Configuration - HTTP 407 Error

Steve Macleod June 13, 2018

I am attempting to configure Sourcetree from behind my proxy. I am using v 2.5.5.0

I am getting:

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false ls-remote https://<<repo>>
Output:
Error: fatal: unable to access 'https://<<repo>>': Received HTTP code 407 from proxy after CONNECT

 

Note, I have configured the proxy settings in Options > Network. I have also entered the username and password.

Capture.PNG

 

I am using the system GIT.

I can run the clone successfully from the command line when I set the proxy via:

 git config --global http.proxy http://<<username>>:<<password>>@<<server>>:9090

I also believe that Sourcetree is not setting the username/password correctly, as when I run 

git config --global --get http.proxy

I get:

http://10.83.75.3:9090 

Note, the username and password details are not included.

Can you advise how I should configure my proxy from Sourcetree?

Thanks

1 answer

1 vote
Mike Corsaro
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 14, 2018

Hello! I can confirm this is an issue in the latest builds. I'll file a ticket internally for it. As a work-around you can use the git config command to set the proxy -- just uncheck the "add proxy server config to git" before running it.

Steve Macleod June 14, 2018

Thanks Mike. Can you confirm back when there is an ETA for a new build which fixes this bug?

Rajas Pandharkar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 29, 2021

Was there ever a fix for this ? In the latest builds of sourcetree, there is not even an option to set proxy details

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events