marjoh
(John Martin)
1
- ALM used = Azure DevOps
- CI system used = Azure DevOps
- Languages of the repository = English
- Error observed = serviceEndpointDetails.Url: null
- Steps to reproduce
- Create new analysis project in SonarQube Cloud
- Select the repository, and click through to the page where the token is generated
- Go to the project in Azure DevOps and add a new service connection (I am using Sonar in other projects just fine)
- Select “Global” as the region
- Paste the token into the “SonarQube Cloud Token”
- Click Verify
- Verification fails, and the error “serviceEndpointDetails.Url: null” is displayed
- Generating a new token
- Deleting all existing tokens for this repo, and generating again
- Confirming that the SonarQube Cloud extension is up to date (it was updated to 3.3.0 on 23rd April)
- Uninstalling and reinstalling the SonarQube Cloud extension.
- Confirm my account is ok in Sonar
- Confirm there are no organisational notifications in Sonar.
- 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
ganncamp
(G Ann Campbell)
2
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
marjoh
(John Martin)
3
Hello Ann, yes I can confirm that the error is Azure DevOps.
ganncamp
(G Ann Campbell)
4
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
marjoh
(John Martin)
6
Hi Ann,
I have just tried again (in the last minutes).
marjoh
(John Martin)
7
Hopefully something will appear in the logs
ganncamp
(G Ann Campbell)
8
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
).
Ann
marjoh
(John Martin)
9
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.
marjoh
(John Martin)
12
BINGO!
That workaround worked for me. Many many thanks Yacine
marjoh
(John Martin)
14
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