youngmon/atlassian-qna huggingface dataset:
git pull: OpenSSL/3.1.2: error:0A000152:SSL routines::unsafe legacy renegotiation disabled
Asked by Akshaan Khanna:

While trying to give the git command:  
git pull origin master  

I am getting the error as "OpenSSL/3.1.2: error:0A000152:SSL routines::unsafe legacy renegotiation disabled" due to which I am unable to pull the latest changes from master repository to my local repository.

How do I resolve this error ?


Answers:
author: Theodora Boudale
body: Hi Akshaan and welcome to the community!

Are you trying to pull from a Bitbucket Cloud or a Bitbucket Server repo?

The URL of a Bitbucket Cloud repo starts with <https://bitbucket.org/>, while a Bitbucket Server repo has a different custom URL.

Your question has the tag 'bitbucket-cloud', but your Bitbucket Cloud account doesn't have access to any repos and I've seen this error reported for Bitbucket Server.

In case this is a Bitbucket Server repo, you can check the following knowledge base article for diagnosis, cause, and solution for this error:

* <https://confluence.atlassian.com/bitbucketserverkb/git-clone-fails-with-unsafe-legacy-renegotiation-disabled-in-bitbucket-server-1216973867.html>

Kind regards,  
Theodora


Tags: atl-gruland

bitbucket-cloud

cloud
How do I delete files from the repository?
Asked by Max Cacchione:

I would like to stay under 2GB to remain on the free plan. How do I delete files from the repository?


Answers:
author: Mikael Sandberg
body: Hi [@Max Cacchione](/t5/user/viewprofilepage/user-id/5337500),

Welcome to Atlassian Community!

In order to delete files from the history in the repository (this is the only way to reduce the repository size) you have to use [git filter-repo](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository) or BFG Repo-Cleaner.


Tags: bitbucket-cloud

cloud

jira-cloud

jira-software
What happened to my WORKSPACE?
Asked by AntonySalas:

I am unable to see my WORKSPACE in my list, but I can still use the PUSH and PULL commands from my local client. Is anyone able to help me with this issue?


Answers:
author: Theodora Boudale
body: Hi Antony,

You can see all workspaces your account has access to via this link:

* <https://bitbucket.org/account/workspaces/>

You can also navigate to this page if you select your avatar (top right corner) on <https://bitbucket.org/> \> select **All workspaces** . You can then select a workspace from this list, and then select **Repositories** to see all repos that belong to this workspace.

In case you have a second Bitbucket account with a different email, you will need to log in to <https://bitbucket.org/> with that email to view the workspaces it has access to.

Please feel free to let me know if you can see your workspace and if you need further assistance.

Kind regards,  
Theodora

comments: author: AntonySalas
body: Hi Theodora.

<br />

I checked the link you sent me (<https://bitbucket.org/account/workspaces/>), and I can't see my WORKSPACE. As I explained earlier, I can perform git PULL / PUSH without any issues with my regular account on the WORKSPACE projects from my local client.


author: Theodora Boudale
body: Hi Antony,

Could you please let me know:

1. How many workspaces do you see listed in <https://bitbucket.org/account/workspaces/> ?  

2. The last two letters of each workspace name that you see in <https://bitbucket.org/account/workspaces/>

I would like to compare that with the workspaces I see listed for your account in our system.

Kind regards,  
Theodora


author: AntonySalas
body: two workspaces:

...as

...ch

My lost workspace is called "...ft"


author: Theodora Boudale
body: Hi Antony,

I also see in our system that your account has access to these two workspaces. I don't see this third workspace.

* Do you have a second Bitbucket account with a different email that may have access to this workspace?  

* You mentioned that you can pull and push to repos of this workspace. How do you authenticate for these operations?  
  * HTTPS with username and app password? If so, is the username the same one as listed here <https://bitbucket.org/account/settings/> ?
  * SSH keys that are added to your account?
  * SSH keys that are added to the workspace?
  * Repository Access token or Workspace Access token?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Webhook migration
Asked by Abdulqudus Oladega:

What approach should be taken to efficiently migrate repository webhooks from Bitbucket Server to Bitbucket Cloud?


Answers:
author: Theodora Boudale
body: Hi Abdulqudus,

You could use our APIs to write a script that gets the webhooks from Bitbucket Server and then creates them in Bitbucket Cloud repos.

Bitbucket Server has an endpoint to get repository webhoooks:

* <https://developer.atlassian.com/server/bitbucket/rest/v811/api-group-repository/#api-api-latest-projects-projectkey-repos-repositoryslug-webhooks-get>

Bitbucket Cloud provides the following API endpoint for creating a webhook:

* <https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-repo-slug-hooks-post>

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-server

cloud

migration-customer-care

server
remote: Invalid credentials fatal: Authentication failed for 'https://bitbucket.org/praise-workspace
Asked by Praise Ainembabazi:

Missing or invalid credentials.  
Error: connect ECONNREFUSED /run/user/1000/vscode-git-341042e3c6.sock  
at PipeConnectWrap.afterConnect \[as oncomplete\] (node:net:1494:16) {  
errno: -111,  
code: 'ECONNREFUSED',  
syscall: 'connect',  
address: '/run/user/1000/vscode-git-341042e3c6.sock'  
}  
remote: Invalid credentials  
fatal: Authentication failed for '<https://bitbucket.org/praise-workspace/devclone.git/>'


Answers:
author: Theodora Boudale
body: Hi Praise and welcome to the community!

Based on the error you posted here, it looks like you are using a VSCode terminal. Can you please confirm if that's the case?

I found a post in StackOverflow where this error is reported by other users:

* <https://stackoverflow.com/questions/61730851/git-clone-i-get-a-strange-authentication-error>

I see in the answers that the issue was solved for many users when they closed the VSCode terminal and then opened a new one. Could you please give this a try and let me know if it works?

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
Why does my build take so long?
Asked by Lenon Calsavara:

I merged a PR with just one file and sftp-deploy:0.7. seems to replace all of them in the repository.

My configuration:  

```
image: php:8.0

pipelines:
  branches:
    development:
      - step:
          name: Deploy to development
          script:
            - pipe: atlassian/sftp-deploy:0.7.1
              variables:
                USER: $USER_SFTP
                SERVER: $IP_SERVER
                REMOTE_PATH: $PATH
                PASSWORD: $PASSWORD
      - step:
          name: Run Composer
          caches:
            - composer
          script:
            - apt-get update && apt-get install -y unzip
            - curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer
            - composer install
```


Answers:
author: Theodora Boudale
body: Hi Lenon and welcome to the community!

I believe that this is standard behavior of sftp. You can try using the rsync pipe instead:

* <https://bitbucket.org/atlassian/rsync-deploy/src/master/>

The [man page of rsync](https://manpages.ubuntu.com/manpages/trusty/en/man1/rsync.1.html) mentions the following:
> Rsync finds files that need to be transferred using a "quick check" algorithm (by default)  
> that looks for files that have changed in size or in last-modified time. Any changes in  
> the other preserved attributes (as requested by options) are made on the destination file  
> directly when the quick check indicates that the file's data does not need to be updated.

Kind regards,  
Theodora


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
My backend is missing
Asked by Jyfrimpong:

Hello,

my backend to my app is missing from bitbucket. I've been trying to get in contact with them but no avail. Who can show me how to recover it? It's been over 3 months and no help and no email to contact directly!


Answers:
author: Jyfrimpong
body: Hello,

i used to have access to two repositories. I still have access to the other one but one is missing. I hope this helps. Is there a way to recover the other one or it can be accessed by the creator of the repo?

comments: author: Syahrul
body: Hey [@Jyfrimpong](/t5/user/viewprofilepage/user-id/5337030)

Unfortunately, if it's related to access, only the workspace admin has permission to grant you access. my suggestion is to contact the workspace owner to re-grant you the repository access.

Regards,  
Syahrul


author: Syahrul
body: G'day [@Jyfrimpong](/t5/user/viewprofilepage/user-id/5337030)

Welcome to the community.

Could you please provide me with additional context? It seems like something is missing, but I'm not sure if it's a repository name like 'backend' or something else.

If it's related to a missing repository, could you share the repository URL so that I can quickly check and assist you further?

Regards,  
Syahrul

comments: author: Jyfrimpong
body: Thank you very much. I hope this link helps

https://bitbucket.org/\<redacted\>/workspace/repositories/

Joseph.


author: Syahrul
body: Hi [@Jyfrimpong](/t5/user/viewprofilepage/user-id/5337030)

Thank you for the update. I can see that the email you used to create these community questions does not have access to the workspace. This is likely the reason why it's missing from your end.

To resolve this, I recommend contacting the workspace administrator to request access to the workspace.

I hope this helps.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Branches are different
Asked by Laxman Rao Vokkerla:

When I checked the one repository branches in bitbucket and same repository branches in git looks different.

Please help me to solve.

thanks in advance.


Answers:
author: Patrik S
body: Hello [@Laxman Rao Vokkerla](/t5/user/viewprofilepage/user-id/5336919) and welcome to the Community!

I think we will need a few more details about your issue in order to assist you further, so let me ask you some additional questions :

* What command you are using locally with git, and to which page in Bitbucket UI you are comparing?
* Could you share some examples of the differences you have noticed including what was **the result you got** and what was **the expected result**? If you could share some screenshots that would also help.

If you have any questions, feel free to ask.

Thank you, [@Laxman Rao Vokkerla](/t5/user/viewprofilepage/user-id/5336919) !

Patrik S


Tags: bitbucket-cloud

cloud
Does BCMA Tool transfers the resources from BB server to cloud by copying or moving them?
Asked by cm devops:

Hi Team,

Does the Bitbucket Cloud migration tool transfer resources (i.e., Repo, PR, Users) to Bitbucket Cloud by copying or moving them permanently? Also, when users are included in the migration process, does this have any impact on the Bitbucket Server?


Answers:
author: Syahrul
body: G'day [@cm devops](/t5/user/viewprofilepage/user-id/5276179)

Welcome to the community!

If you haven't already raised a migration ticket with us, I highly recommend doing so. This will enable us to respond to your inquiries promptly.

That being said, BCMA will only copy the data from your Bitbucket server to the cloud and will not overwrite or make any changes to your existing data on the server. Consequently, it will have no impact on your Bitbucket users on the server.

In short, they can continue to use the Bitbucket server as usual without any interruptions.

Regards,  
Syahrul


Tags: bitbucket-cloud

cloud
Has anyone implemented SSO for FishEye using OpenAM?
Asked by Michael Townsend:

Hi all!

We're trying to extend our OpenAM SSO solution to include FishEye/Crucible. We already have integration with Jira and Confluence, and I figured the FishEye/Crucible integration would be similar... It's not.

I'm guessing that we'll need to implement a custom authenticator for FishEye that uses the OpenAM API, but I want to make sure I'm not reinventing the wheel before I dive in.

[This page](https://confluence.atlassian.com/display/FISHEYE/Custom+Authentication) explains the basics of custom authenticators for FishEye, but it really is just the basics.

If anyone here has done this before, or has some insight on the best way to proceed, it'd be mighty helpful.

Thanks!

- Michael


Answers:
author: Felipe Kraemer
body: Hi Michael,

There unfortunately isn't much documentation on this particular integration with FishEye. Since this is not officially supported by Atlassian we don't offer any documentation on it.

You may find useful information in the [FishEye and Crucible Development Hub](FishEye%20and%20Crucible%20Development%20Hub). For example, this may be useful:

<https://developer.atlassian.com/display/FECRUDEV/Authentication+Plugins>

Please let us know if this helps.

comments: author: Michael Townsend
body: Thanks for the reply. In the time since I originally posted this question, I managed to hack together a functional OpenAM authenticator for Fisheye/Crucible. There's only one thing keeping me from calling it complete... If you've got the time, I'd really appreciate it if you'd weigh in on my followup question: <https://answers.atlassian.com/questions/72435/is-it-possible-to-create-cookies-in-fisheye-custom-authenticators>


Tags: authentication

sso
Fisheye startup fails silently
Asked by pcimring:

I installed fisheye - as per the instructions provided here: [https://confluence.atlassian.com/display/FISHEYE/Installing+FishEye](https://confluence.atlassian.com/display/FISHEYE/Installing+FishEye%20)

The Java JRE IS installed.

I HAVE added the path to the Java 'bin' directory to the PATH environment variable.

When I fire up a console window and type in "java -version", it DOES find the Java executable.

When I run "bin\\start.bat" a new console window opens for a split second and then closes. If I check the Windows processes, 'java.exe' or similar is NOT running.

There are no files under var\\log - except for a file called deleteme.txt (which I deleted :)

OS: Windows Server 2008

Java bin: C:\\Program Files (x86)\\Java\\jre7\\bin

PLEASE ADVISE!

Thanks


Answers:
author: rverschoor
body: Try starting FishEye with "bin\\run.bat --debug".  
Using "run.bat" will start FishEye in the same console, so any output will not disappear in the blink of an eye.  
Adding "--debug" will tell FishEye to log extra debug level information. That probably won't happen in your case, as it looks like the application isn't getting very far, but it won't hurt.

comments: author: pcimring
body: That did the trick, thanks. It came up with this error in the console:

Error occurred during initialization of VM  
Could not reserve enough space for object heap  
Error: Could not create the Java Virtual Machine.  
Error: A fatal exception has occurred. Program will exit.

I'll free up some memory on the server :)


Tags: startup
Can Crucible be set to run as aplugin within JIRA
Asked by Eman Jado:

Hi,

Crucible version 2.7.14 is running as a stand alone application on port 8060 on our server. We also have JIRA running on the same server on port 8080.

We received this question from our users:

Can Crucible be added as a plugin to JIRA in order to be able to access it from the same URL instead of having to open two URLs with two different ports?

Would you be able to help us answer this question please?

Can we configure/install Crucible to run under JIRA application instead of running as stand alone application? and what are the implications of running it this way?

Thank you,

Eman


Answers:
author: JamieA
body: They are separate applications. Proxy both jira and fisheye through port 80 using Apache or IIS, so jira is accessible at /jira, fisheye at /fisheye. Lots of info on this on atlassian's and this site.
find undeleted files
Asked by Thomas Richter:

I try to find undeleted directories named .settings:

```
select revisions from dir "/" where (is head and path like "**/.settings" andpath like "**/trunk/**") order by date  desc  group by directory return path
```

But I find also deleted dirs ...


Answers:
author: Sergey Svishchev
body: Add "not is deleted" clause, like this:

```
select revisions from dir "/"where (is head andpath like "**/trunk/**/.settings" andnot is deleted) order by date desc group by directory return path, date, isDeleted
```


Tags: eyeql
Review status change to 100%
Asked by Eman Jado:

The status of the review changes to 100% even though the reviewer did not complete the review.

Is this a known issue in Crucible version 2.7.14?

Please let me know if you need screenshot of this issue.


Answers:
author: LeonardoL
body: There's a bug report created to this behavior at <https://jira.atlassian.com/browse/CRUC-6176>.

Cheers,

Leonardo.
Copy and Paste from Crucible Diff Screen?
Asked by Brent Villalobos:

Is there a way to copy code from a crucible code review? If you highlight lines of code then it takes you to a comment window. I can then select "quote source" and copy from there. I was just wondering if there is anything more elegant. Is it possible to download a file from the code review so that I can open it in a text editor? That's another way people could copy and paste code I guess.


Answers:
author: jhinch _Atlassian_
body: Yes. One of the hidden features of crucible is that you can **alt+select** text to copy and paste it. The comment box won't show when you alt+select it.

comments: author: Brent Villalobos
body: Good answer with just one hitch -- it also copies and pastes the line numbers which isn't good if you're trying to run a snippet of pasted code.


author: Chii
body: you can hide the line numbers by going to the prefs menu in the toolbar above the source, and uncheck the 'Line numbers' option.


author: Todd Davenport
body: I have version 3.1.3. The "Line Numbers" option does not appear in that toolbar. I only have:

1. **Source comments:**
2. Inline
3. Above
4. Hidden

<!-- -->

1. Side-by-side Diffs
2. Unified Diffs

<!-- -->

1. Soft Wrapping
2. No Wrapping

<!-- -->

1. Show Source


author: Aniraj Kesavan
body: Is there a method to do this in versions 3.6+ preference to not show line numbers or another method to copy source all at once would help


author: Andrei Merenkov
body: Have Crucible 4.7 of 2018 but still very unpleasant to use it. Still no normal way to select and copy text. Thats by the way one of the main code review needs that used constantly. That makes me sad every day I use Crucible.


author: Andrii Abumuslimov
body: I have developed a custom style for a browser extension Stylish that allows to apply custom CSS styles to sites by url pattern. Custom style hides service table cells, including line numbers, and allows to copy from fisheye code blocks without formatting issues. You can find it at <https://userstyles.org/styles/156826/fisheye-no-formatting>, just change the url patter to your domain.
Can you link Fisheye and Crucible onDemand to BitBucket?
Asked by RMCloudOne RMCloudOne:

Can you link Fisheye and Crucible onDemand to BitBucket?

I have tried searching and reading online. It sort of looks possible from BitBucket but not once I'm logged into the Jira/FishEye/Crucible admin area.


Answers:
author: Mark Snelling
body: I've created a JIRA issue for this. Feel free to vote on it.

<https://jira.atlassian.com/browse/FE-4324>


author: Harry Chan
body: Hi, the OnDemand version of Fisheye/Crucible only work with the local SVN repository provided by OnDemand as well. It's not possible to link them at this point.

You can link Bitbucket to JIRA though.


Tags: cloud

fisheye-crucible-svn-ondemand
Unable to link multiple JIRA issues to a review
Asked by Javier Ortiz Bultron:

It seems that you can only link one issue to a review in Crucible. In my case I have 5 issues part of the same change set. JIRA recognizes all of them related to the review created in Crucible (It was created from Crucible from the changeset). I'm using the validation of no unfinished reviews at certain parts of my workflows but it only works for the one issue I have linked to the review, the others can progress.

Am I wrong or is there a way to link multiple issues to the review so the validation works correctly?


Answers:
author: Martin Burger
body: There is an open issue: <https://jira.atlassian.com/browse/CRUC-5837>


author: Mikhail Kononov
body: Hi, Javier.

I cannot link even one issue to a review: I see no option. Can you guess my mistake?
SVN question- where do i start
Asked by BMS samant:

I just bought few products from Altassian. And I am completely lost.

I dont know from where to start. If I want to check in / check out a file. Where do i go? Is there a web based UI? What is the URL for SVN?


Answers:
author: NikE
body: The link below should get you started and covers the basics:

<https://confluence.atlassian.com/display/AOD/Source+and+Review+Bundle>


Tags: cloud

fisheye-crucible-svn-ondemand
Can't see diff files on Fisheye.
Asked by Catarina Bernardino:

Hello!

I'm trying to access some changelogs on Fisheye but am not able to open the link that shows the difference between the files. This is what I get on the "Source" tab that opens after clicking "View diff to previous":

### Your request was unable to be processed {#toc-hId-1456535268}

#### java.io.IOException - Too many open files {#toc-hId--1292135198}

You are running release FE2.6.5 (20110824064938 2011-08-24), please report your release number when reporting bugs.  

#### __________________________ {#toc-hId-450675137}

One of the changelogs is the following:

<http://svn.liferay.com/changelog/portal?cs=28500>

Eventually, I get a different error, or the page just stays loading for countless minutes. Anyway, I can't access any of the files.

Thanks,

Catarina


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Try the same resolution explained here: <https://confluence.atlassian.com/pages/viewpage.action?pageId=137265407>

If it is onDemand, you might want to raise a support case since you don't have access to the server.

comments: author: Catarina Bernardino
body: Thanks Jobin, but I really have no access to configuration files of the Fisheye in question.

Maybe I'll try accessing it on different times of day to try and find a time that few users access it. I've tried it from several locations (work, home, friend's) but couldn't open the files anywhere.


Tags: cloud

fisheye-crucible-svn-ondemand