SourceTree + Bitbucket = HTTP code 405

Dear all,

I've just reinstalled SourceTree after some annoying connection problems between SourceTree and Bitbucket (they seem to be resolved). Now it seems I've found a new type of error and would much appreciate your help, since I can't figure out what to do. At pushing my committed changes to the repo I get the following error message:


git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin [BRANCHNAME]:[BRANCHNAME]

Pushing to https://[ACCOUNT][USER]/[REPONAME].git

fatal: unable to access 'https://[ACCOUNT][USER]/[REPONAME].git/': Received HTTP code 405 from proxy after CONNECT

Completed with errors, see above.


I'm running SourceTree version and Windows 7.

Thanks a million in advance!

Henrik Hermansson

2 answers

1 accepted

This widget could not be displayed.

Dear Aafrin,

Thanks for your help! I was able to solve the issue by a bit of experimenting. Apparently, unchecking the "Add proxy server configuration to Git / Mercurial" under the Options/Network tab did the trick.

Thanks again!


This widget could not be displayed.

Hi Henrik,

Can you verify that you are able to reach out the remote repository by running the git-ls-remote using the git command line from your machine not the built in git command line tool inside the SourceTree.

If you are able to get reponse from the git command line, the problem would be with your firewall settings that preventing from the files being pushed to the remote repositiory.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,319 views 8 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you