Error setting up service connection in Azure DevOps "serviceEndpointDetails.Url: null"

  • ALM used = Azure DevOps
  • CI system used = Azure DevOps
  • Languages of the repository = English
  • Error observed = serviceEndpointDetails.Url: null
  • Steps to reproduce
  1. Create new analysis project in SonarQube Cloud
  2. Select the repository, and click through to the page where the token is generated
  3. Go to the project in Azure DevOps and add a new service connection (I am using Sonar in other projects just fine)
  4. Select “Global” as the region
  5. Paste the token into the “SonarQube Cloud Token”
  6. Click Verify
  7. Verification fails, and the error “serviceEndpointDetails.Url: null” is displayed
  • I have tried
  1. Generating a new token
  2. Deleting all existing tokens for this repo, and generating again
  3. Confirming that the SonarQube Cloud extension is up to date (it was updated to 3.3.0 on 23rd April)
  4. Uninstalling and reinstalling the SonarQube Cloud extension.
  5. Confirm my account is ok in Sonar
  6. Confirm there are no organisational notifications in Sonar.
  7. Checked Organization binding is setup correctly and personal access token is valid

I am surprised to find there is no documentation on this error.

Any and all suggestions would be welcome at this point

Hi,

Welcome to the community!

To be clear, you get this verification error on the ADO side? (I’m wondering if the error would show up in their logs or ours. Or both?)

 
Ann

Hello Ann, yes I can confirm that the error is Azure DevOps.

Hi,

Can you provide the approximate date/time of the error? It will help to spot anything that may be showing up in our logs.

 
Thx
Ann

Hi Ann,

I have just tried again (in the last minutes).

Hopefully something will appear in the logs

Hi,

Thanks for that. (I’m assuming here that you replicated the same error on the ADO side.)

I’m not sure where to go with this, so I’ve flagged it for folks who will hopefully have more insight (and log access :sweat_smile:).

 
Ann

Hi Ann,

That is correct; I got the same “serviceEndpointDetails.Url: null” error in ADO.

I too am unsure what to do next with this. Thank you for escalating.

Cheers
John

1 Like

I have the exact same error, were you able to solve it?

Hi Alejandro, I’ve found a workaround. In the drop down list, select US, then select back the global. You will be able to verify your token.

BINGO!

That workaround worked for me. Many many thanks Yacine

I guess from this that the issue is in the SonarQube Cloud extension itself? Not setting the URL when a new service connection is made.

Anyway, I am working so thank you for your help @Yacine.Maghezzi and @ganncamp

1 Like

FYI I have created a ticket to fix this issue:

Thanks for reporting it!

1 Like