Bitbucket crashes when clicking "Authenticate with Bitbucket" inside JIRA

pirvulescu February 25, 2018

Hello to all,

As title says: I have installed Jira and Bitbucket server on same machine, then linked bitbucket to use Jira users. All went fine and smooth until I got a notification in JIRA to login with BitBucket for additional information to be displayed :) inside the "Activity Stream" widget. The exact message is:

"Additional information may be available, please authenticate for more information:

 

Now, the "COOL" thing is that when I click "Authenticate" the Bitbucket crashes and cannot be started anymore! How cool is that.

At first I was thinking I was crazy, but being a test VPS, I quickly reinstalled clean Ubuntu ( because it was impossible to restore Bitbucket ) and re-installed clean JIRA and BitBucket.

Got again the Jira notification, clicked Authenticate... and guess what ?!  Bitbucket crashed again :DD

 

 

There is almost nothing in logs! :( 

Anyone has any idea wt...hell is going on ?

 

Thanks in advance!

Adrian

 

 

 

1 answer

0 votes
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 26, 2018

Hi Adrian,

Are Jira and Bitbucket Server installed on the same machine? If so, how much physical memory do you have on that machine? I'm asking because Bitbucket Server crashing is very unusual, so I'm thinking you might be short on memory.

Cheers,

Christian

Premier Support Engineer

Atlassian

pirvulescu February 26, 2018

Hello Christian,

 

thanks for your reply!

Both products run as services on a Linux 16.04 VPS with 8cores and 16gb ram. Usage of ram is aprox 5gb out of 16 so I believe it is not a memory issue. I rebooted several times the VM and manually started Bitbucket without elastic search and last time i tried it did worked ok until I clicked the "Authenticate" link again :( afterwards I get timeout from bitbuclet. 

 

For now the workaround was not to click the authenticate button anymore and looks to be working.

I will get back if I find more things.

 

Best Regards!

Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 26, 2018

Hi Adrian,

Yeah, that sounds like plenty of memory. When you say that Bitbucket Server crashes, do you see that the JVM belonging to Bitbucket Server is just not running anymore, or do you see it running?

What do the logs (in <BitbucketHome>/log) say immediately after the crash? Anything of insight in /var/log/syslog perhaps?

Cheers,

Christian

Premier Support Engineer

Atlassian

pirvulescu February 26, 2018

Hi Christian,

The Bitbucket JVM is still running... after crash. It is just I cannot access bitbucket over ip:7990 or localhost:7990. Nothing in Logs except elastic search :( 

I am stating to think that this is not really  bitbucket/atlassian issue but more like an apache issue :( Since this is working now I will keep testing and let you know about it but at least for now this has low prio for me :)

Thanks a lot for you support!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events