Everything was fine and then I tried to clone a new repository today and there is a red X on my user name in the Remote window.
When I hover over it it says...
Unable to read memberships for the user from the remote host
Failed to list teams for user (my user name)
This endpoint has been removed.
I can go to the clone window and clone the repository from there by hand.
Please advise on how to fix.
Solution: This bug has been fixed in Sourcetree 3.4.8.
Although, for some reason, the website still lists the 3.4.7 version for Windows. Here's a direct link to the Windows 3.4.8 exe until they fix the link on the website.
Here are the release notes for 3.4.8.
Actually, updating to version 3.4.8 prevents the list of repos from loading entirely and now the program crashes at startup, so don't do that. Use the 3.4.7 workaround below until an actual fix is released.
Solution:
After updating to version 3.4.7, click the "Refresh" button next to your list of repos and it should call the new API instead of attempting to use the old broken one.
Other possible workarounds:
For the record, I'm having this problem, and I just started with version 3.4.7 that I just installed today, never had an earlier one. The "refresh" workaround appears to work, BUT, I have to do it EVERY SINGLE TIME I start the program.
That's still very broken to me and should be addressed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Alan Karna - Darn, looks like you're right. Thankfully it only take a few seconds to refresh, but that's really something that Atlassian needs to fix.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This looks like a breaking bug - the Bitbucket API endpoint has changed but SourceTree has not been updated to match. I don't think there's anything we can do until SourceTree is updated or the API is modified.
Personally I'm going to look around for a new Git client.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After updating to version 3.4.7, click the "Refresh" button next to your list of repos and it should call the new API instead of attempting to use the old broken one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot!
Yesterday was a frustrating first day due to this bug
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Facing the same problem.
Am I the only one that find it extremely unprofessional, that they would deprecate their API, but not change it in their own software?
Luckily it's easy to migrate repositories to Githhub, takes a couple of minutes a piece, so that's what we'll be doing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thankfully, the workaround appears to be simple. Update Sourcetree to version 3.4.7 and then click Refresh next to your list of repos, at which point it should start using the new API endpoint.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just upgraded both of my machines to 3.4.8, problem is gone. The remote repositories now auto-populate without having to click on Refresh. Woo hoo!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, this appears to have made the program even worse on my end.
The repo list still won't load and I now have to uncheck and recheck the checkbox instead of just clicking "Refresh".
Also, the program now frequently crashes at startup, so I'm going to have to revert to 3.4.7 for now...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Anyone else still getting this error on their Mac?
I'm on version 4.1.6 and I still can't create or clone remote repos.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I was able to work around this by switch from OAuth/SSH to Basic/HTTPS. Not ideal, but at least it's working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How do I understand this tool is abandoned?
Judging by the dates on the messages, this critical bug has not been resolved for so long.
This is my first time using git, and I wanted to work with GUI right away, so as not to waste time memorizing console commands, this tool was advised to me as the best option for a beginner, under Windows, but i realizing that it is probably better to start with another one.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No, it had a bug that affected some people using it. Later versions fixed it (you can't call it "abandoned" if new versions with bug fixes are being released)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist- - To clarify, the solution that I posted above (the one that you accepted) is just a reliable workaround for the immediate problem but doesn't fix the underlying bug that's still present in the program.
The latest version of Sourcetree (3.4.7) still requires you to regularly click the "Refresh" button due to the broken API calls that haven't been fixed after over three months. This is something that Atlassian needs to address and the lack of an official response after all this time hasn't been reassuring. So while the program may not be truly abandoned, it's definitely not a good look that it doesn't currently work right out of the box.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, that's exactly what I'm talking about, the first report of this (or similar?) error was more than a year ago, and since then there has not been an update to fix it, usually this is the case in abandoned applications. The release date of the penultimate version (3.4.6): 13-Aug-2021 is more than a year ago. I can't see the release date of the latest version in the version archive.
But in general, this is not so important, how important is the fact that many users can still use the program, which means I need help to explain to me how to set it up so that it starts working normally?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Er, all I was pointing out was that the software is not "abandoned", and I don't have the issue. I am a light user though, so I might not have seen it. I'm not commenting on whether there is a bug here or not.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Updating manually to the latest Sourcetree fixed this issue for me (ver 3.4.7). If you still have a red cross on your Avatar icon, re-check the pop-up tooltip error, it might be a secondary issue and not the original issue discussed here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After updating to 3.4.7.0, I still get the red X overlay with no repositories shown. Here is the tooltip I see:
Clicking on Refresh will then show the repositories.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I should clarify - I've cleared the first error "Unable to read memberships for the user from the remote host" and am now just getting the "Failed to list teams for user" which I'm continuing to troubleshooting to resolve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For me, that does make the red X overlay go away, but the repositories are still not shown. With "Show Organizational Repos" unchecked, clicking on Refresh does not show them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have this issue as well, it won't list my remote repos when I deselect show organization repos. But when i selected it again and refreshed it worked
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It looks like you just have to click the "Refresh" button next to the list of repos. The checkbox doesn't seem to matter.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any suggestions? I am using sourcetree 3.4.7 on a new PC and 3.4.6 on my laptop. It used to work on the laptop, then stopped working, strangely enough at the same time as when I tried to install sourcetree on the new PC. Gives the message "Failed to list teams for user [username] This endpoint has been removed"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have no idea why, but when I got both of my laptops on 3.4.7, it magically worked. When I try to add a remote repository, it still shows an X overlay over my avatar and no repositories listed. But, when I click on Refresh, the overlay goes away and the repositories appear.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Holy sh*t! My avatar had the red X, and then I pressed refresh like you said and magically the red X was removed and all the repos were listed.
Had to work out some credential helper section thing, but it seems to work now.
Thanks very much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have no idea what the root cause was/is. This cost me days of time and worry. Manually getting both laptops on 3.4.7 magically got it working for me. Every time I start SourceTree, it will still show the red X overlay, but I can live with it.
Glad it helped someone.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
the red x has now magically disappeared for me ?! It would be nice to get an explanation from Atlassian, has eaten up a lot of people's time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Even though it said program had the latest version, this was not correct. Once I updated from 3.3 to 3.4 it started to work properly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had the same problem for days. Tools / Options / Updates reported SourceTree was up to date on version 3.3. Went to Atlassian site and manually downloaded and installed 3.4.7, problem went away.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It now works. Didn't change anything. I'm still on Sourcetree version 3.4.7.0
Looks like they changed something online.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FYI, I am also experiencing the same problem too, Can you please suggest the solution?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.