After upgrade of SourceTree to ver. 2.5.3 and 2.6.3 I cannot browse BitBucket repos anymore. SourceTree shows the error "The operation couldn’t be completed. (SDNetDomain error 7."
I've checked this with two BitBucket servers (both running ver. 4.12)
I captured authentication request and noticed that SourceTree doesn't send my password in Basic auth header (as seen it sends only base64-encoded username and colon):
GET /rest/api/1.0/users/ypetrov/repos?limit=%32%35 HTTP/1.1
Host: devbitbucket.netsertive.local:7990
Connection: keep-alive
Accept: */*
User-Agent: Sourcetree/134 CFNetwork/760.2.6 Darwin/15.3.0 (x86_64)
Accept-Language: en-us
Authorization: Basic eXBldHJvdjo=
Accept-Encoding: gzip, deflate
HTTP/1.1 401 Unauthorized
Server: Apache-Coyote/1.1
X-AREQUESTID: @X1HX1Kx121x3405x0
X-ASEN: SEN-4920128
WWW-Authenticate: Basic realm="Atlassian Bitbucket"
Content-Type: application/json;charset=UTF-8
Content-Length: 197
Date: Wed, 20 Sep 2017 06:01:12 GMT
{"errors":[{"context":null,"message":"Authentication failed. Please check your credentials and try again.","exceptionName":"com.atlassian.bitbucket.auth.IncorrectPasswordAuthenticationException"}]}
I wiped SourceTree preferences, then installed latest SourceTree. This didn't help.
Rollback to version 2.4.1 fixed the issue.
Hi @Yury Petrov,
I just tried adding a bitbucket server account and was able to get a list of remotes in the repo browser window. I am guessing that there was an issue saving your password while adding the account.
Can you please remove the account from accounts tab in preferences and any keychain item with the given host? And add the account again in preferences. This should ideally work.
Thanks,
Manjunath
Sourcetree Mac Developer
That was my initial guess - that something is wrong with keychain. So I removed all entries related to bitbucket servers from keychain - still no luck. I even reproduced the problem on two different OS (Maveriks and El Captain) connecting to two different Bitbucket servers.
Need to note that after downgrade to 2.4.1 or 2.6.2 remote browsing works like a charm.
Is there any logs I can check in SourceTree app?
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.