youngmon/atlassian-qna huggingface dataset:
Please change my plan from free to standard free trail for 1 month
Asked by Jaydeep Kapure:

Hi team,

We are migrating bitbucket cloud to cloud for that purpose we have created a sandbox instance and we need a free trial of the standard plan please help us with that.

Thanks,  
Jaydeep kapure


Answers:
author: Mayur Jadhav
body: Hello [@Jaydeep Kapure](/t5/user/viewprofilepage/user-id/4915785) ,

I hope you are doing good,

I would suggest you to raise a ticket with Atlassian support, check with them if they extend the trial license for month or two.

Regards,  
Mayur


Tags: bitbucket-cloud

cloud
Many 500 errors on bitbucket-pipelines
Asked by Micha? ?McFly? Kasprzyk:

I have a Bitbucket pipelines runners on my own hosting and a plan that runs scheduled. Unfortunately, in last time, a most part of launches ends with an error:

```
Status 500: {"message":"Get \"https://k8s-docker.packages.atlassian.com/v2/\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)"}
```

What is the cause of this problem?


Answers:
author: Theodora Boudale
body: Hi Micha?,

We would need some additional details to figure out what is happening. Could you please provide the following details, so I can better help you?

**1.** What kind of runner are you using? Is it a Linux Docker Runner, Linux Shell Runner, MacOS Runner, or Windows Runner? What is the version of the runner?

**2.** Is your runner running in one of the supported platforms and does it meet the minimum requirements listed on the following page?

* <https://support.atlassian.com/bitbucket-cloud/docs/runners/>

**3.** Does the scheduled build start and then fail? Or does it not start at all?

**4.** If the build starts, can you download the build log (from the Bitbucket website, while viewing the build) and copy-paste its content here, after sanitizing any private/sensitive info in the build log?

**5.** Can you provide all the entries from the runner log around the time of this failed build, after sanitizing any private/sensitive info? The location of the runner log depends on the type of runner, you can see more details depending on the runner you use here:

* <https://confluence.atlassian.com/bbkb/troubleshooting-runners-1167819666.html>

Please feel free to let me know if you have any questions.

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Semantic release
Asked by lgLindstrom:

Hi

First,, I am a nebbie to this, so let me apologize in advance for "stupid questions"

I am using Bitbucket for two repositories. One monorepo for Dart/Flutter programming and one repotository for c/C++.

In both cases I have a hard time managing releases.

Then I run into the concept of "semantic-releases".

I've seen a number of tutorials how to integrate semantic-release int Github actions but have not found anything about how to use it with Bitbucket.

Probable are the answers out there, but I am unable to see it.

Can anyone help me out ??


Answers:
author: Igor Stoyanov
body: [@lgLindstrom](/t5/user/viewprofilepage/user-id/859384) hi. Thanks for your question.   
Please, check [this answer.](https://community.atlassian.com/t5/Bitbucket-questions/Adding-release-tags-automatically-based-on-semVer-versioning/qaq-p/2256572#M90027)

Regards, Igor


Tags: bitbucket-cloud

cloud
Active Directory/LDAP connection fails after upgrade from 7.8.1 to 7.21.10
Asked by warecm43:

I'm hoping to find a solution to the issue of my Active Directory/LDAP (using Microsoft Active Directory) connection not working after upgrading to the latest LTS version 7.21.10.

The host machine is running Linux.

This is on my test server. Making sure I find the pitfalls before applying to my production server. Test and production servers are configured the same (except for hostnames and certificates).

I verified that the bitbucket.properties file did not change from pre-upgrade to post-upgrade. Are there any other files I should check for that could affect this connection?

Everything was operational prior to the upgrade (running 7.8.1).

I am able to login with my local admin account for Bitbucket and make changes if necessary. I've compared the User Directories information between my test and production servers, and found no differences.

This is the error when testing the connection:

Test basic connection : Failed  
ActiveDirectory-ADDRESS:636; nested exception is javax.naming.CommunicationException: ActiveDirectory-ADDRESS:636 \[Root exception is javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target\]

I can't figure out where it's looking for a certification path from, since no config files have changed, as far as I can tell, unless there's one somewhere I don't know about.

I haven't yet tried to roll back to the previous version. Hoping to figure this out before having to roll back.

If there is any other information that is required that I haven't provided, please let me know and I'll do my best to provide it.

Any assistance is appreciated.

Thanks,

Chris


Answers:
author: warecm43
body: I found the issue. While Nicolas Grossi's answer was not the solution it did provide a starting point for the answer.

With the newer version, the way the JRE_HOME/JAVA_HOME was set was changed from the previous version of 7.8.1, thus it pointed to the bundled installation of Java instead of the version that I installed and used.

Once I made the change to set-jre-home.sh to point to the location of the installed Java, the application was able to connect to my AD/LDAP server using the existing settings.


Tags: bitbucket-server

server
Any Microsoft.NET Framework constraint for SourceTree 2.6.10
Asked by Cignali, Giovanni:

I want io Install SorceTree 2.6.10, is it related to any specific Microsoft.NET Framework?


Answers:
author: bgannin
body: Sourcetree 2.6.10 requires .NET framework 4.7.1 or higher.

Brian Ganninger  
Product Manager, Sourcetree
Cloning over SSH Doesn't Work for a Remote Account When Repo Has a Submodule
Asked by Ian Smithers:

I hope that subject line isn't confusing. :)  

I am using Sourcetree and am pretty familiar with Git having used it via Bash for several years now. In Sourcetree if I take the repository URL that is hosted in Bitbucket which looks like:  

git@bitbucket.org:team/repository.git

Then select Clone, add in the URL, choose Advanced Options and select Recurse Submodules - this will clone successfully.

If instead I add a Remote Account (which Sourcetree tells me makes cloning even easier (!)), search for my repository and then select Clone, it will clone the supermodule, but fail on the submodule with the error "fatal: error in sideband demultiplexer"

Which I have no idea what it means.

My Sourcetree settings are:

SSH Key is loaded via SSH Client PuTTY/Plink. This loads automatically and I enter my passkey and I can see it in the taskbar process. My public key is added to Bitbucket. I am on Sourcetree version 2.6.10.0 and Authenticaion is set to:

* Hosting Service - Bitbucket
* Protocol: SSH
* Auth: OAuth
* Username: iansmithers
* With Authentication: OK showing and a green tick.

I've spent a few hours trying to figure out what this may be, and have cloned several submodule enabled repositories to see if it is isolated, but it isn't. It happens on them all - only when selecting 'Clone' from the Remote repositories screen. If I manually paste the clone URL in it works fine. Very confused.


Answers:
author: Pravin
body: Hi Ian,   

As discussed through the Support Ticket.  

After several testing, I'm suspecting that error "error in sideband demultiplexer" appears related to Putty SSH Agent. Git Bash uses Open SSH by default and Source Tree uses Putty SSH Client by default.   

Since it works on Git Bash which uses Open SSH, changing Source Tree to use Open SSH for its SSH Client works as you have tested. I would suggest to changing it to use OpenSSH as the SSH Client moving forward.   

To change SSH Client on Source Tree, navigate to : **Tools \> Options \> General \>\> SSH Client Configuration \>\> SSH Client \>** Select OpenSSH.   

Thanks.  
Pravin

comments: author: Ian Smithers
body: Thanks Pravin, pleasure dealing with you btw and much appreciated the assistance. :)


author: Femi Ojemuyiwa
body: There is no Tools \> Options \> General on source tree for mac version 3.2.1

Been searching on how to resolve and hope someone somewhere has an answer as to why cmd line clone works and sourcetree doesn't


author: Femi Ojemuyiwa
body: So for anyone out there, I found the [user account SSH key](https://confluence.atlassian.com/bitbucketserver0414/ssh-user-keys-for-personal-use-895367596.html) and not local machine key resolved my issue. as using command line git works fine with local machine, but source tree account being used wouldn't clone unless configured properly.


author: Andrew Britton
body: I was having a similar problem with cloning failing. Capturing network traffic showed that the Bitbucket server was simply dropping the SSH connection.

Upgrading the embedded version of Plink to 0.73 fixed the issue for me.
SourceTreeForMac keeps asking me for github authentication
Asked by cedoucette:

I am trying to list my available remote repositories to find one to clone.

I am prompted for my github password because:

* I had to reset my login keychain
* My github password was changed recently

When I attempt to refresh the list, I get an error:

message: Requires authentication

Sometimes I get a small popup with username/password. I fill in the password (which I have verified is correct), and I still get the same error message.

Other times, I get a large dialog to allow SourceTreeForMac from Atlassian access to my github account. Again, I put in the same username and password.

I still get an error message saying that it failed; however, I also got an email implying that it succeeded.

One thing to note is that my list of accounts is using an ssh key, not a username/password (basic/ssh/default).

I recently switched all of my repositories from using https to ssh.

P.S. I realize that there are at least a few issues with similar (or identical) titles, but none seemed to be the same problem and/or there were no clear solutions.


Answers:
author: Manju
body: Hi there,

Very sorry for the inconvenience caused by Sourcetree. Have you tried removing your github account and adding it back?

Before you do so, please make sure you also remove any keychain items that might have been not cleaned up by Sourcetree. We see these issues sometimes when there is a problem accessing keychain or there are duplicates in the keychain which aren't visible when inspected. Many a times, a restart of the Mac also has helped get around permissions in keychain.

Should this not resolve the problem, please feel free to get back here and we'll help you out.

comments: author: cedoucette
body: I tried removing my github account and then re-adding it.

I also removed my github password from my keychain, and then tried removing/re-adding my github account in sourcetree.

I am still unable to view my repositories in the remote repository browser.
Cant login to Atlassian via. BitBucket
Asked by gramb0t:

Hi there, running the latest versions of GIT, Git Credential Manager for Windows and SourceTree.  

Ive reset my password and CAN login via web

everytime i try to do ANYTHING with sourcetree, it fails to login with the credentials that I have confirmed are accurate.

Super frustrating.

Specs:

Windows 10 (clean install)

SourceTree 2.6.10

Git version 2.17.0.windows.1

GCMW 1.16.3

Here is output from SourceTree: (sanitized)

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks -c credential.helper= -c credential.helper="C:/Users/MyUser/AppData/Local/ATLASS\~1/SOURCE\~1/GIT_EX\~1/GIT-CR\~1.EXE" fetch origin  
fatal: HttpRequestException encountered.  
An error occurred while sending the request.

remote: Invalid username or password. If your organization manages your account or you've enabled two-step verification, create an app password to log in: <https://confluence.atlassian.com/x/9DJmMQ>  
fatal: Authentication failed for 'https://MYUSERNAME@bitbucket.org/MYUSERNAME/MYPROJECT.git/'


Answers:
author: Ana Retamal
body: Hi Graham! Are you trying to log in to an individual account or to a team account? If you're using a team account, then you'll need to generate an App password as suggested in the message above. You can find the instructions at [App passwords](https://confluence.atlassian.com/bitbucket/app-passwords-828781300.html).

If you're using an individual account, or are using the App password and still fails, please double check that you're on the latest version of Internet Explorer as Sourcetree relies on it for authentication.

If after trying the above you're still having issues, let us know so we can investigate further.

Best regards,

Ana

comments: author: KSK Payments
body: Even I am facing the issue for SourceTree as git client

On registering the product I picked the Atlassian Account however when I try to Push / Pull from repository, it authenticates with BitBucket account (user name less domain name appears instead of email) and fails with below error

```
git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks fetch origin
fatal: HttpRequestException encountered.
?? An error occurred while sending the request.
```

I tried with other client as well and still facing issues - not to do with SourceTree but with GIT Credentials I suppose... not sure.

Can you please guide me to resolve this?

> [https://help.github.com/articles/changing-a-remote-s-url/](https://help.github.com/articles/changing-a-remote-s-url/?)
>
> doing this resolved - but not sure if that is correct solution.


Tags: windows
Can't install SourceTree 2.7.6a on Mac 10.13.6
Asked by sdronam:

I have a MacBook Pro 2017 running MacOs High Sierra Version 10.13.6. When i download the Sourcetree 2.7.6a zip file from SourceTree site and unzip it, I get a .app file. I double-clicked on the file and it says cannot open this file. I tried copying the file to Applications and then clicked in it, it gave me the same issue. I also tried to restart the system and check, it gave me the same issue. The only version that i am able to run on my machine is version 2.1 because its installation file was a .dmg file. Need help to troubleshoot this issue.


Answers:
author: bgannin
body: Does the app update once installed?

comments: author: sdronam
body: No. Even the updates fail. I installed version 2.1 using the .dmg download file. After that, whenever I try to run an update, it fails because the next version comes in a .zip file and because of that, the upgrade fails.


Tags: mac
Can add bitbucket account to source tree but cannot clone repository using same credentials.
Asked by jjschweigert:

Hello,

I can successfully add my bitbucket account to sourcetree using a username and password. However, when I try to clone a repo in the account I get a login prompt for bitbucket. When I use the same username and password that was used to add the account I get an invalid username/password exception.

I have tried changing my password with the same result. Anyone else experienced or have insight on this issue?

Thanks!


Answers:
author: jjschweigert
body: When I downgraded to a further back release, I was able to successfully clone my repo. I have since tried the last to latest version, 2.6.9 and I am still able to clone. However, when I try the newest version, 2.6.10 I get that issue.


author: Ana Retamal
body: Hi John, welcome to the Community!

We'll need more information to help you solve this issue:

1. Are you trying to clone a repository that belongs to your account?
2. Do you have the right permissions to access that repo?
3. When you try to enter your credentials, are you trying to connect to an individual account or to a team account?
4. Are you using Windows or Mac? If Windows, please make sure Internet Explorer is updated to the latest version as Sourcetree relies on it for the authentication steps.
5. If you try logging in from the web UI, do you get any error?

Let us know!

Ana

comments: author: jjschweigert
body: Hello,

1. Yes, the repo belongs to my account

2. Yes I have full permissions to the repo.

3. I am not sure, I believe it is an individual account where I have given permissions to the repo to a collegue.

4. I am using windows and IE is up to date.

5. I can successfully log in from the web ui

Please see my answer as I have since resolved this issue.
Can't Install Mac App - Log in stalls
Asked by Christian Dorion:

Hi,

I am trying to install sourcetree on macOS 10.13.6 and the log in stalls once I enter my email. Any clue what is the issue? I validated that my account is accessible on the website, and there's nothing in my keychain access regarding atlassian or sourcetree.

Christian

![Snapshot-Sourcetree.png](/t5/image/serverpage/image-id/30783iF0782D18AFE454E4/image-size/large?v=v2&px=999 "Snapshot-Sourcetree.png")


Answers:
author: bgannin
body: Hi Christian,

Sorry for the hiccups. For some reason Atlassian account is not completing the sign-in via the embedded browser and we aren't able to proceed until then. My suggestion would be to try out our [public beta](https://bitbucket.org/atlassianlabs/sourcetree-betas/downloads/) for Sourcetree 3.0 which uses Bitbucket for registration.

Brian Ganninger  
Product Manager, Sourcetree

comments: author: Christian Dorion
body: Thanks for answering Brian.

I just tried and did not succeed. I clicked the bitbucket cloud option, entered my email and password and, when I click the log in button, my info is simply erased and nothing happens...
Fatal error remote not found
Asked by Simone Durante:

git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin master:master  
remote: Not Found

Hi,

I'm admin and since 6 month working on a repo, bitbucket remote and local worked fine until 1 month ago...  
Today I tried pull from macOs and push from windows and get this error (same on both OS).  
What is changed?


Answers:
author: bgannin
body: Hi Simone,

Is the remote properly configured in the repository's settings? (nothing should have changed but that's my first stop)

Brian Ganninger  
Senior Mac Developer, Sourcetree

comments: author: Simone Durante
body: Hi Brian, thank you for your reply and sorry for the delay.  

Anyway i solved using ssh auth protocol instead of HTTPS, I created a SSH key and now all works fine  

have a nice day

Simone D.
Save correct Bitbucket password in Mac Keychain
Asked by Daniel Klein:

I keep getting the following message using Sourcetree with Bitbucket:
> remote: Too many invalid password attempts. Log in at <https://id.atlassian.com/> to restore access.

If I delete the entry in my MacBook's Keychain and manually type the password when prompted it works, but if always fails as soon as it tries to use the password from Keychain.

How can I fix this?


Answers:
author: bgannin
body: Hi Daniel,

Sourcetree isn't directly writing credentials (password, token, etc.) to Keychain in that entry for a number of reasons. We've tried to identify the sources of mismatch which cause it to get out of sync and spuriously prompt for 3.0.

Your best bet is to close any open windows, quit Sourcetree, delete the appropriate Keychain entries, and then relaunch. Then edit your account to set the password. Alternatively you can delete and re-add the account without relaunching and it should work fine.

Hope that helps,

Brian Ganninger  
Senior Mac Developer, Sourcetree

comments: author: Daniel Klein
body: When I go into Sourcetree -\> Preferences -\> Accounts -\> Edit... I see the number of dots for my MacBook password, not for my Bitbucket password. They have different lengths, so it's easy to check. I can set the password manually there, but when I try to use it, it asks for my MacBook account password for the keychain, and sets that as my Bitbucket password. It won't let me continue until I've supplied my keychain password, i.e. the Bitbucket password is rejected.


Tags: bitbucket-cloud

mac
Github Permission denied (publickey)
Asked by ayuhime:

**Hi, I downloaded SourceTree** 2.7.6 today,**and encountered below error, so I am denied access to all remote git operations with sourcetree** **.**

```
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree fetch origin

git@github.com: Permission denied (publickey).

fatal: Could not read from remote repository.

?Please make sure you have the correct access rights

and the repository exists.
```

**FYI, my** github**account is added in SourceTree with Oauth, my ssh keys are well** setted**in** local**directory and in** github**account,** **and I can do all remote git operation in terminal using commands.**

Please help me with this issue, Thank you!

**EDIT:**

**problem solved after adding the key to** ssh agentusing below command

```
$ ssh-add -K ~/.ssh/id_rsa
```

**BUT!!!!!!!!!!**

after some experiment I think **the private key must be named id_rsa for SourceTree to work**, which is an inconvenience and should be solved by sourcetree developers!!!!!!!


Answers:
author: Grant Viklund
body: What you need to do is set it in the config file in your .ssh folder to use the right key when talking to the right domain. 'config' is just a plain text file that the SSH Agent uses to know which keys to use where.

In the case of GitHub you should have something that looks like this:

Host GitHub  
HostName github.com  
IdentityFile /\<path\>/\<to\>/.ssh/\<YOUR KEY TO USE\>  
UseKeychain yes  
AddKeysToAgent yes  

You can then set different keys to use with different domains and servers.

The other thing that is critical is to make sure you add the key you create to the Agent's list of keys like you did in your edit.

- Grant

comments: author: Grant Viklund
body: As a followup to the answer above, anytime I go to a repo on GitHub.com (HostName) it will use the key I provide a path to (IdentityFile) to make the SSH connection.


author: bgannin
body: Sourcetree will respect whatever keys are loaded in your user environment and the configuration file contents, it isn't doing anything special beyond that. The SSH key management we introduced will generate and configure SSH keys for each service + account and use that if configured, otherwise it will default to *id_rsa.* Unfortunately macOS has a habit of forgetting loaded SSH keys which is a quirk [introduced in 10.12](https://developer.apple.com/library/archive/technotes/tn2449/_index.html).

Brian Ganninger  
Senior Mac Developer, Sourcetree

comments: author: ayuhime
body: Thanks for the reply. Unfortunately, I couldn't find where to configure the ssh keys. There are no ssh key management options in the preferences\&settings.


Tags: github

mac
Trouble getting authentication when fetching
Asked by Kellan Grant:

I am trying to fetch from our repository but it keeps prompting me to input my password and saying that the username/password is incorrect. I've reset my password and also have tried using both my email and my username in the popup box so I know that information is correct. I also have Oauth set up as well so it shouldn't be prompting me to log in anyways. What can I do to fix this? Thanks.


Answers:
author: bgannin
body: Hi Kellan,

We need a few more details to help debug this situation:

1. what OS are you on?

2. what version are you using?

3. what hosting service is the account for?

4. what is the authentication configuration for the account and repository (they can be independent, i.e. - OAuth + SSH or U/P + HTTPS)

Brian Ganninger  
Senior Mac Developer, Sourcetree

comments: author: Kellan Grant
body: I'm on windows 10. Using Sourcetree version 2.6.10.0 trying to pull from bitbucket. And I'm using HTTPS + OAuth. Let me know if you need anything else. Thanks!


author: Kellan Grant
body: Any update on this? It's critical because I can't work with the rest of my team.