Authentication fails

We are using JIRA user directory for bitbucket user authentication which seems to be broken. We always get the error message: "Der Remote-Authentifizierungsserver ist nicht verfügbar" (german error message). 

Even trying to authenticate with a local user fails with error message: "Sie sind nicht berechtigt, auf Bitbucket zuzugreifen." (german as well).

I have already tried to create a temporary local bitbucket user, without success. Following guide couldn't fix my problem as the table bitbucket_user isn't available.

Bitbucket is running on a MSQL server.

Do have any ideas how to resolve this situation?


Btw: JIRA is still working properly

1 answer

0 votes

Hi Martin! For the record and for other people that will try to help with this issue, this is what the error messages mean (according to Google Translator 🙂 ):

The remote authentication server is not available 

You are not authorized to access Bitbucket

Back to this issue, in previous similar cases this is the solution that worked:


  1. Disable and then Remove the JIRA Server directory. In Bitbucket administration > Accounts > User directory.
  2. Click Add Directory and re-enter all of the necessary details.
  3. Delete the connection between Bitbucket and JIRA and then, reconnected, as per Connecting Bitbucket Server to Jira for user management.

If this doesn't solve your issue, can you check the logs and see if you find any error? Log files can be found at <HOME_FOLDER>/logs/atlassian-bitbucket.log. Also let us know which version of Jira and BB Server are you using.


Hope that helps!




Thank you for you reply.

At least for our confluence instance your solution helped. It really seems that our Jira authentication is broken.

But unfortunatly for bitbucket, even the local user credentials are not working and I am not "authorizied" to access bitbucket.

For testing I have installed another bitbucket which also connects to Jira properly again.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Thursday in Bitbucket Pipelines

Building a Bitbucket Pipe as a casual coder :  #!/bin/bash source "$(dirname "$0")/" enable_debug extra_args="" if [[ "${DEBUG}" == "true" ]]; then extra_args="--verbose" fi # mandatory variables ROLLBAR_ACCESS_TOKEN...

162 views 0 11
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you