You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am trying to sync my local repository to remote but I get this error. My browser (firefox) is set as default in windows. I get this error when I try to view repository online or when i hit the remote button in the task bar.
I assume this is why my files in the online repository are really old? I need to get this project onto MacintheCloud so I can publish ios version of project so would really appreciate some help in getting this sorted.
How do i fix?
I found this on another post. Seems to work:
That fixed it for me. It seems to me that re-setting the URL of the repository to the same address is what does the trick. I hope it works for you as well.
When you clone a project you can choose among 2 protocols: either using git over ssh, or https. I always use git, because I can just use an ssh key and forget about passwords management.
I just tested with a project cloned with https, and the browser is opened correctly. On the other hand, when using git I get the same error as lz7cjc. Looking at the log messages I cannot believe that they are really trying to open a browser at the URL firstname.lastname@example.org:repository/path.git without even checking how the project was configured, and if that string is a valid URL or not.
My Sourcetree still has this problem and I have the latest version (3.4.4). Please fix this.
"Unable to open your web browser to 'email@example.com:repo/project.git' ", it also incorrectly attributes the problem to not having a default web browser (I do have a default web browser == Firefox 78.10.1ESR)
Note I'm obscuring the actual url, but the point is that it's showing it in "firstname.lastname@example.org:repository/project.git" URL format. I do not want to set my git clone urls to https format, I want 'git' (ssh) format. Sourcetree should really manage a separate https repo link for the Remote button to use with the browser.
Its not really a problem but rather a misleading error message. The solution has to do with setting the Repository Details so that when you click on the Remote Icon you will bring up a Bitbucket browser-viewer of your repository.
The error is misleading because it suggests you haven't setup your default browser.
It should suggest that you setup a https:// url that points to your bitbucket-server.
Search this site for my recently posted fix of this problem.