youngmon/atlassian-qna huggingface dataset:
aws-cloudfront-invalidate got error IncompleteSignature
Asked by Hiroki Shiotsuka:

* the version of the pipe  

  ```
  atlassian/aws-cloudfront-invalidate:0.6.0
  ```

* relevant logs and error messages  

  ```
  ERROR: Error creating a cloudfront invalidation
  ? Failed to create a cloudfront invalidation: An error occurred (IncompleteSignature) when calling the CreateInvalidation operation: 'AKIA4LZ7CWVXOKZ3RLXH/20221221/us-east-1/cloudfront/aws4_request' not a valid key=value pair (missing equal-sign) in Authorization header: 'AWS4-HMAC-SHA256 Credential=$AWS_ACCESS_KEY_ID/20221221/us-east-1/cloudfront/aws4_request, SignedHeaders=host;x-amz-date, Signature=9049558d7c9cb5c790b5cc51638a91add394d385128dae6e37300bae62680891'.
  ```

* steps to reproduce  

  ```
  - pipe: atlassian/aws-cloudfront-invalidate:0.6.0
    variables:
      AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
      AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
      AWS_DEFAULT_REGION: 'us-east-1'
      DISTRIBUTION_ID: '{my-distribution-id}'
      PATHS: '/*'
  ```

  Please help.


Answers:
author: Igor Stoyanov
body: [@Hiroki Shiotsuka](/t5/user/viewprofilepage/user-id/1529911) hi. Thanks for your question. Please, [check this issue.](https://github.com/aws/aws-sdk-js/issues/3313)

Maybe there is a whitespace in the KEY value.

Seems like the [same problem here.](https://community.atlassian.com/t5/Bitbucket-questions/Cloudfront-Invalidation-Pipe-Error/qaq-p/1234405)

Regards, Igor


Tags: aws

bitbucket-cloud

bitbucket-pipelines

cloud

cloudfront
Is there any slackbot or hubot for notifying a reviewer when a PR is stale or needs updated?
Asked by CanS:

Hello,

As the title says, I'm working on automating some of the Bitbucket capabilities with Slack especially on PullRequests. So is there any existing tool or app that can send notifications on Slack when a PR is stale (not updated for a week) or send an alert to add comments on why this is getting delayed?

FYI - I already have Slack integration where it shows a PR is created but I need more details on reviewers perspective.

Thanks!


Answers:
author: Theodora Boudale
body: Hi [@CanS](/t5/user/viewprofilepage/user-id/5105795) and welcome to the community!

I'm afraid that this is not possible with the official Bitbucket Cloud - Slack integration.

I had looked at the Marketplace apps and I found the following app that mentions sending notifications when PRs are not reviewed or merged:

* [https://marketplace.atlassian.com/apps/1219691/code-dog-for-slack?hosting=cloud\&tab=overview](https://marketplace.atlassian.com/apps/1219691/code-dog-for-slack?hosting=cloud&tab=overview)

Please note that this app is not developed by Atlassian. I haven't used it and I am not sure if it can do what you're looking for, I am just posting it here as something available in case you want to explore it.

In case you would like to contact the vendor, you can find details here: [https://marketplace.atlassian.com/apps/1219691/code-dog-for-slack?hosting=cloud\&tab=support](https://marketplace.atlassian.com/apps/1219691/code-dog-for-slack?hosting=cloud&tab=support)

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud

pull-request

slack
To List the Repos in a Bitbucket Project with the Last modified timestamp/Creation Timestamp
Asked by alistair ramakrishnan:

Hi All,

Am Trying to List all the Repository in a Project with the creation Timestamp/Modified timestamp,

First I tried to list all repository in a Project using the below API

==========================================

1 ) curl -s -k --request GET --user \<"username:password"\> "https://\<host\>/rest/api/1.0/projects/\<projectkey\>/repos"

It gives the output in a single line(that is near to not readable)

Please suggest on how to make the output in a readable format, I tried running it from Gitbash and from Bash Shell in a Linux Server.

2) once I get the List of Repos in a good format , I shall send it in a loop to get the Creation/Modified time, BUT I need to have the API options to get the creation/modified Timestamp .

Any suggestion/Advise would be of much help..


Answers:
author: Erez Maadani
body: Hey [@alistair ramakrishnan](/t5/user/viewprofilepage/user-id/5104098)

For the format, try adding *--header* *'Accept: application/json'* to the curl command.

For iterating and querying the input, try using [jq](https://www.baeldung.com/linux/jq-command-json)

Hope that helps


Tags: bitbucket-server

server
Unable to login Bitbucket - We couldn?t log you in EDITED
Asked by Christyowidiasmoro:

Hello,

I am getting following error when login to bit bucket account on every browser.

"You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again."

All of other products (JIRA, Confluence) are working properly. i am having issue with Bitbucket alone.

Thanks.


Answers:
author: Ben
body: Hey Christy,

I could see that your personal workspace was de-activated as it was marked as DORMANT, meaning it was not logged into for a considerable amount of time.

I have re-activated your workspace so you should be able to log in now :)

Cheers!

- Ben (Bitbucket Cloud Support)

comments: author: Christyowidiasmoro
body: Great,

Now I'm able to access to my account.

Thanks.


author: Rrrr
body: So much time lost.

Please [vote](https://jira.atlassian.com/browse/BCLOUD-22664) to have them provide a better error message:

<https://jira.atlassian.com/browse/BCLOUD-22664>


Tags: bitbucket-cloud

cloud
Bitbucket pipelines: Checkout a different branch than master
Asked by wvargas:

Hello,

I've been trying to checkout a "develop" branch using the pipeline but when I execute the git commands, there's no way for me to see any of my other remote branches.

My idea is to trigger a pipeline to merge from develop to master.

Thanks


Answers:
author: wvargas
body: I have resolved the command below:

```
- git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
```

Thanks to a similar question here: <https://community.atlassian.com/t5/Bitbucket-questions/Can-t-checkout-master-on-a-branch-pipeline/qaq-p/1004778>


Tags: bitbucket-cloud

cloud
Container 'Build' exceeded memory limit.
Asked by Timur Aminev:

Hi community,

How to fix the \`Container 'Build' exceeded memory limit.\` issue on the Test step? The yml config:

![Screenshot 2022-12-19 at 19.12.33.png](https://community.atlassian.com/t5/image/serverpage/image-id/231185i30AD888C0341460F/image-size/large?v=v2&px=999 "Screenshot 2022-12-19 at 19.12.33.png")

Please pay attention that no services is used.


Answers:
author: Patrik S
body: Hello [@Timur Aminev](/t5/user/viewprofilepage/user-id/5104687) ,

Welcome to Atlassian Community!

The error "Container 'Build' exceeded memory limit." is returned when the commands you are executing as part of your step have exceeded the memory allocated to the build container where this step is running. Normal steps receive 4GB of memory, while large steps (**size: 2x**) have 8GB of available memory. This memory is shared with any services you are using in this step, so the actual value available to the Build Container might vary depending on the services you are using in the step (such as docker service, or a database, for example).

As you mentioned no services are being used (we cannot confirm from the screenshot as the pipelines definitions are collapsed), all the available memory for the step should be available for the Build container, and it seems like 8GB is not being sufficient for your tests to complete.

In such cases, I would suggest following the instruction covered in [Troubleshooting Bitbucket Pipelines - Container Build exceeded memory limit](https://confluence.atlassian.com/bbkb/troubleshooting-bitbucket-pipelines-1141505226.html#TroubleshootingBitbucketPipelines-scenario2) to debug your pipelines and observe which process is consuming more memory.

In case you identify you need more than 8GB of memory, an alternative is to run the build in your own infrastructure by using [self-hosted runners](https://support.atlassian.com/bitbucket-cloud/docs/set-up-and-use-runners-for-linux/), where you can configure up to 32GB of memory (**size: 8x**).

Let me know in case you have any questions.

Thank you, [@Timur Aminev](/t5/user/viewprofilepage/user-id/5104687) .

Patrik S


Tags: atl-gruland

bitbucket-cloud

bitbucket-pipelines

cloud
How do I search for my own questions in the community support site
Asked by Keith Smith:

How do I search for my own questions in the community support site


Answers:
author: G subramanyam
body: Hi [@Keith Smith](/t5/user/viewprofilepage/user-id/5074344) welcome to the Atlassian community.

You can see all your posts (questions, answers, likes, comments) by clicking on your profile image (top right corner) on this portal \>\> click view profile \>\> you will be landing on the "**posts" page that has all your activities.**

comments: author: Keith Smith
body: Well now I know why a post of mine was not responded to, it's because it never posted. Thanks!!


Tags: bitbucket-cloud

cloud
Cant login in installation step, Win 10
Asked by Alex:

Used to read all stack overflow, but still cant login. After extraction of .exe file (admin mode), no matter of what login and password was in login panel, preloader get frozed.

![mail.png](/t5/image/serverpage/image-id/18977i8E8441BB2495F47C/image-size/large?v=v2&px=999 "mail.png")

In all versions (!) and old ones.

Thy message in confic was:

"ERROR \[2018-04-08 19:30:33,903\] \[1\] \[SourceTree.App\] \[.ctor\] - finish EnsureSquirrelExecutionStubIsCopied  
ERROR \[2018-04-08 19:46:52,403\] \[1\] \[SourceTree.App\] \[.ctor\] - finish EnsureSquirrelExecutionStubIsCopied  
"

and in latest version like:

<https://community.atlassian.com/t5/Sourcetree-questions/Source-Tree-suddenly-is-failing-to-start/qaq-p/642624>


Answers:
author: Alex
body: Can't login even in google account and so on. Thy login step just dont work!


Tags: windows
Sourcetree: 2 accounts, 2 different ssh keys, sourcetree always defaults to id_rsa.pub
Asked by DHB / FP:

Hi everyone,

well I have been looking through most of the community posts etc, but I could not find anything that would help me with my seemingly small problem:

Basically I have two Bitbucket accounts, one private and one for work. Both should use their dedicated ssh key (since you also can't use the same ssh key for different accounts on the bitbucket.org site).

However when adding/editing the accounts, I do not have the option to select or even generate an ssh key, instead, Sourcetree always defaults to id_rsa.pub. This means that I can work with my private repos, but I cannot clone nor use the ones from work.

Has anyone come across this and might know a way to fix this?

Running on MacOs High Sierra 10.13.3 with Sourcetree 2.7.1.

Thanks in advance!

Frank


Answers:
author: bgannin
body: Hi Frank,

Sourcetree's visible SSH integration works like so:

* check for a Sourcetree generated key
* check for a public key

Currently we don't parse out the configuration file to do further mapping in the UI. Under the covers Git/Mercurial will use the SSH configuration you've specified, we're not overriding anything... just not displaying a more custom set fully.

As always, please provide feedback with votes, comments, or new tickets at <https://jira.atlassian.com/browse/SRCTREE> for us.

Brian Ganninger  
Senior Mac Developer, Sourcetree


Tags: account

mac

ssh
fatal: could not read Password for 'https://[account-name]@github.com': Device not configured
Asked by Ryan Sherman:

Started receiving this error directly after updating to Sourcetree 2.7.2 when trying to push or pull. I have read a bunch of responses and tried everything recommended. My github account is currently setup with OAuth / HTTPS. I can view all of the remote accounts not push or pull.  

I have tried removing the keychain, removing the account, restarting SourceTree and then restarting my MacBook Pro. I have tried this on existing repositories and cloning new repositories as well. Nothing has worked so far.  

I have also tried using Basic with HTTPS and when I look at the keychain file the password shows only a single character. I even tried updating the keychain directly to no avail. I have lost 1.5 days trying to debug this issue now and I am not seeing any resolutions or responses to questions I have asked on other posts so I am trying to create another question in hopes of a response since I'm getting desperate. Please help!


Answers:
author: bgannin
body: Please don't create additional questions to elicit a more immediate response; it makes things more difficult for us as a small team trying to support our users.

If you are having difficulties with 2.7.2 and it's mission critical *right now* then I recommend using an older release from the [Download Archives](https://www.sourcetreeapp.com/download-archives) and monitoring the question you replied to earlier in the day.

comments: author: Ryan Sherman
body: Downgrading did the trick! Thanks so much [@bgannin](/t5/user/viewprofilepage/user-id/744444)
Permission denied (publickey) (sourcetree mac)
Asked by hawkun:

```
Pushing to git@bitbucket.org:(my repo).git

git@bitbucket.org: Permission denied (publickey).

fatal: Could not read from remote repository.

?

Please make sure you have the correct access rights

and the repository exists.
```

I suddenly started getting this, if I try to change everything thing back to default and try again, I get "device not configured".

This suddenly started happening after upgrading to High Sierra


Answers:
author: Manju
body: Please check if the ssh-agent has your keys loaded. If not, please add them to the agent.

Run below commands in terminal to do so,

To check if keys are loaded:

```
ssh-add -l
```

To add keys to agent:

```
ssh-add <path_to_key>
```

more like,

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

Key in the passphrase used while generating the ssh key and you should be good to go.

comments: author: hawkun
body: It appears this isn't the solution, there's a bug in the latest version of sourcetree.

Downgrading to the previous stable build fixed everything.


author: Andrey Streltsov
body: [@hawkun](/t5/user/viewprofilepage/user-id/545383) can you tell which version does work for you?


author: hawkun
body: 2.7


author: Manju
body: Could you please confirm what version you used earlier and what was the result of running those commands on your machine?


author: Anatoliy Podkladov
body: It helps me.  
Thx a lot.


author: Alex Grafe
body: Thanks, this worked for me:

```
ssh-add ~/.ssh/_PATH_TO_SOURCETREE_KEY_
```


author: Andrey Streltsov
body: What I did just yesterday to fix this problem:

1. Create "config" file in \~/.ssh

2. Put in this config:

```
Host = *
   UseKeychain yes
   AddKeysToAgent yes
   IdentifyFile path/to/your/private/key
   IdentityFile path/to/your/another/private/key
```

After that authentication goes smoothly(with help of "ssh-add -K identity"). This seems to be a change related to macOS update: required for Sierra or High Sierra.

comments: author: Eric Herrmann
body: ```
IdentityFile, not IdentifyFile
```


author: trevortwining
body: Using this on Mojave fixed my problem. I thought those identities got added automatically but I guess that's wrong. Thanks for the suggestion!


Tags: mac
Unable to connect to BitBucket via Source Tree
Asked by Vishwanatha Nayak:

Hi,  
Suddenly my source tree unable to connect to BitBucket. I have tried uninstalling and installing different version, tried login with HTTPS/SSH, OAuth/Basic and still no luck.  
I have also reset my Atlassian password and still no luck. We had license expiry recently with Atlassian/BitBucket and after its renewed by my organisation, I have started facing this issue.Kindly request you to assist me urgnelty. Thank you  
My Atlassian account: vishwanatha.nayak@aurecongroup.com


Answers:
author: bgannin
body: What version of Sourcetree are you using? What OS?

comments: author: Vishwanatha Nayak
body: I have tried source tree with following versions:

2.4.7.0

2.3.50

2.2.4.0

2.1.11.0

My Windows OS version is - Windows 10

When I launch Source Tree and click on add account (remote), the Refresh Token opens up a browser and shows authentication successful, but source tree shows following error

![2018-04-09_9-15-31.png](https://community.atlassian.com/t5/image/serverpage/image-id/18983iE88E510D905A2C17/image-size/large?v=v2&px=999 "2018-04-09_9-15-31.png")
Sourcetree 2.x documentation
Asked by Csaba Balogh:

Hi,

I'm on Sourcetree 2.4.8 and any time I try to find solutions to my problems I run into documentation that is close to describing a different product.

Can you please advise on the following?

1., In the View menu I don't have "Show hosted repositories". Where can I find the same in Sourcetree 2.x?

2., I'd like to add a new Account. So I go to Tools-\>Options-\>Authentication-\>Add account. Then an "Edit account" window pops up with Github, Bitbucket, etc. but I could never save any new account since I can't auth myself since there is no way neither in this window, nor in the previous and my User and Password to "Git Saved Passwords".

I had version 1.x before and these things worked, the only reason why I can still access my old repos is that the update did not delete my settings, but since 2.x I can't add any new.

Thanks,

Csaba


Answers:
author: minnsey
body: Hi  

1. The equivalent is to open a new tab, the +, and then select the Remote option  

2. The same Edit Account dialog is used to edit existing accounts or add new ones. After clicking Add Account and opening the dialog, select the right host and then, if you are using Bitbucket or GitHub just click the refresh token button to go through the OAuth process and get a new token.
Why doesn't SourceTree clean up git.exe processes on exit.
Asked by dan landau:

ST Windows 2.4.8 starts multiple git.exe in the back ground and never closes them. The more times you run Source tree the more version of git.exe run and they all take the same about of CPU and resources, quickly make the system unresponsive.


Answers:
author: minnsey
body: Hi  

Sourcetree does track and attempt to shutdown all child processes when it closes down. However it sounds like it is showing problems for you.  

Can you check if there is anything in the %localapddata%/Atlassian/Sourcetree/sourcetree.log indicating problem closing spawned processes.  

You can also use the Tools/Process Viewer to see what git process are being run by Sourcetree.
I can't install SourceTree
Asked by Marcelo L?pez:

In the installation process, I use my Atlassian account and I get the following message:  

We tried to load scripts but something went wrong.  
Please make sure that your network settings allow you to download scripts from the following domain:  
<https://common-admin-cdn.atlassian.com/atlassian-id/front-end/2.4.27>  

I enter that address and I get:  
This XML file seems to have no associated style information. The tree of the document is shown below.  
\<Error\> \<Code\> AccessDenied \</ Code\> \<Message\> Access Denied \</ Message\> \<RequestId\> 1B3D632D0C17F9A4 \</ RequestId\> \<HostId\> UnmfVQbwl9IQFF3kFCIE + mKDBS39T + F7BL2XkUsfVIr / 6FrouqsgVN7zxxDx12BKVjnqDbtWmZE = \</ HostId\> \</ Error\>  

I do not really know what to do.  
Thank you for helping


Answers:
author: minnsey
body: Hi  

If you are on Sourcetree for Windows the registration process uses a component that relies on Internet Explorer and its configuration.  

Can you check if you can login to <https://id.atlassian.com> using Internet Explorer? If you can Sourcetree registration should work.  

Best advice as of today for registration webview issues with IE::

1. open Internet Explorer
2. open the Developer tools, f12
   1. set the Browser Mode 10
   2. set the Document Mode Standards
3. open Cog/Internet options
   1. ensure the following settings are enabled
   2. Misc/Access data sources across domains
   3. Misc/Allow META_REFRESH
   4. Scripting/Active Scripting

comments: author: Marcelo Ariel L?pez
body: I can not install sourcetree at all. I delete the program and started a new installtion from scratch but i still have the same message. I tried to create a new account and the problem persists. With IExplorer the problem is the same
How to pull data from bitbucket through sourecetree
Asked by DevTesting:

Hi My self rohit raj i am using sourcetree to pull and push data from bitbucket , i want to know how exactly user will pull code from bitbucket.

please mail below id

@rohitraj@eonesourceservices.com


Answers:
author: minnsey
body: Hi  

If the project is private in Bitbucket your other users will need to have Bitbucket accounts with permission to read/write to the repository.  

They should then just be able to use Sourcetree or commandline git.
Could not read from remote repository.
Asked by Boris Kuzevanov:

Hello,

i've server with centos 7. I've generate key and copied him to bitbucket-\>account-\>settings-\>ssh keys.   
If i try to do ssh -T git@bitbucket.org from my server, i have success

logged in as Myusername, but when i do deploy with capistrano i've error like in subject of this ticket.

What can i do wrong?  
Thanks


Answers:
author: minnsey
body: Hi   

Is the issue with Sourcetree or with capistrano ?  

And if Sourcetree, which version?
Trigger git hooks written in shell through rational application developer IDE using eclispe neon Win
Asked by cpotti:

Hi

I have installed e-git in my rational application developer which uses eclipse neon version. I have installed cygwin for windows 10 64 bit . Installed git also and set the bin folder of cygwin in environment variables. However my git hooks are still not triggered through Rational application developer IDE , git functionality works fine when running the hook in git bash.

Can some one suggest what am I doing wrong and how to go about and I want the git hooks to be triggered especially commit-msg when I am trying to commit my changes through eclipse.

The hook gets triggered perfectly while commiting the change using source tree.

I want the same hook to be triggered when commiting changes through RATIONAL APPLICATION DEVELOPER IDE which is using eclipse neon version running in Windows 10.


Answers:
author: minnsey
body: Hi  

I'm afraid we can't assist in configuring Rational IDE


Tags: git
Trigger git hooks written in shell script through rational application developer IDE in Windows10
Asked by cpotti:

Hi

I have installed e-git in my rational application developer which uses eclipse neon version. I have installed cygwin for windows 10 64 bit . Installed git also and set the bin folder of cygwin in environment variables. However my git hooks are still not triggered through Rational application developer IDE , git functionality works fine when running the hook in git bash.

Can some one suggest what am I doing wrong and how to go about and I want the git hooks to be triggered especially commit-msg when I am trying to commit my changes through eclipse.

The hook gets triggered perfectly while commiting the change using source tree.

Hook script is written in shell

I want the same hook to be triggered when commiting changes through RATIONAL APPLICATION DEVELOPER IDE


Answers:
author: minnsey
body: Hi  

I'm sorry we can't help with configuring Rational IDE