Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bitbucket server - Communications link failure

Bitbucket self-hosted gives this error:

 

The following problem occurred, which prevents Atlassian Bitbucket from starting:

  • The database, as currently configured, is not accessible.
    Communications link failure

 

This just started happening the other day, no changes to the server or to the database. I can connect to the database manually via mysql client...

2 answers

1 accepted

0 votes
Answer accepted

I was able to resolve, or at least work around the issue. I found the following in /var/atlassian/application-data/bitbucket/log/launcher.log :

WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.

Adding &useSSL=false to the end of the JDBC connection string in /var/atlassian/application-data/bitbucket/shared/bitbucket.properties allowed bitbucket to restart successfully.

It is still not clear to me what caused this issue. The MySQL RDS configuration and the Bitbucket Server configs have been the same for months, if not years.

Bitbucket Server is end-of-life, the guides recommend against using MySQL as a backend with it, and now the configuration is less secure. But at least we are able to use the product while we come up with a plan to migrate away from it.

Hi Sam.

Your description of the issue matches one of our articles. Could you please check the article below and let us know if it helps?

Bitbucket Server as a service and the database as currently configured is not accessible error 

 

Douglas Gnoato

Atlassian team

I did try doing this. The error persists after restarting bitbucket server.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

264 views 2 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you