Bitbucket Server Configuration Failing

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    9.8 SonarQube Community Edition
  • how is SonarQube deployed: zip, Docker, Helm
    HELM
  • what are you trying to achieve
    Create Bitbucket Server configuration

Do not share screenshots of logs – share the text itself (bonus points for being well-formatted)!

Hi Team,

Trying to Add our Bitbucket Configuration but getting below error back to back. I’ve tried to create HTTP access tokens/ Personal token with both read and write permission (User account was having admin permissions)
image

I found below commands to check connectivity from Sonar server > BB, Attaching query and output for your reference:

curl -H "Authorization: Bearer " https://bitbucket.domain.com/rest/api/1.0/repos

{“size”:0,“limit”:25,“isLastPage”:true,"valueclear

curl -H “Authorization: Bearer A2edasdkjalk2dA4dakdj21pwdc1412+LaaaffW” https://bitbucket.domain.com/rest/api/1.0/users

{“errors”:[{“context”:null,“message”:“You are not permitted to access this resource”,“exceptionName”:“com.atlassian.bitbucket.AuthorisationException”

curl -H "Authorization: Bearer " https://bitbucket.domain.com/rest/api/1.0/repos

{“size”:0,“limit”:25,“isLastPage”:true,“values”:,“start”:0}

Can you advise what is missing and what needs to be done?

Hi,

:warning: Make sure you upgrade to SonarQube v9.9 LTS soon, not only to benefit from our Best LTS Ever™, but because soon we will systematically ask users to upgrade when they ask questions about earlier versions of SonarQube, which are now considered unsupported. :smiley:

Regarding your question, have you talked to your network folks? There may be something “helpful” on the network interfering.

 
Ann