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]@bitbucket.org/[USER]/[REPONAME].git

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

Completed with errors, see above.

--

I'm running SourceTree version 1.4.1.0 and Windows 7.

Thanks a million in advance!

Henrik Hermansson

2 answers

1 accepted

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!

Henrik

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

29,200 views 26 12
Join discussion

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