When I look at a PR the sonar widget seems to work fine like so:
But some (maybe all) of my teammates are just getting a blank space like this:
Following this guide it seems like everything should be setup properly https://sonarcloud.io/documentation/reference/bitbucket-integration/
Not sure if it’s relevant but the side menu widget seems to work fine
Not sure how to debug from here
Thanks!
I’ve also been experiencing this issue. When I monitor the console (via Dev Tools), I noticed the following error being reported:
Failed to load resource: the server responded with a status of 401 ()
The URL that generates this error:
SonarCloud …
The same occurs whether I’m viewing a recent (still open) merge request, or an older (already merged) one.
I’ve also tried removing the SonarCloud app from BitBucket & configuring it again from scratch - but this did not resolve the issue.
[Edit]
I have since found the following posts, but none of these yielded anything that has resolved the issue for me:
for me and my team it all worked fine till a week ago. See Bitbucket pull request widget is no longer working
Hello and thanks for the report.
We are currently investigating a very similar issue on this thread, so don’t hesitate to follow the progress there:
The company i work for uses bitbucket cloud, my team and i switched to sonarcloud almost a year ago because of the integration with bitbucket cloud and of course the cost reduction compared to self host.
Since last friday the bitbucket pull request integration no longer works. The repository overview widget is still showing data from sonar. It seems that the widget itself is loaded but the api call to https://api.bitbucket.io/addons/sonarcloud/slug/repositories/%ID}/pullrequests/1653/code_quali…
The fix has been deployed, the widget should load correctly again on your PRs!
We would like to apologize again for the long waiting time, thank you for your patience with this issue.
@Gregoire_Aubert I’ve confirmed that this has fixed the issue for our PRs.
Much appreciated!
1 Like
system
(system)
Closed
April 26, 2021, 7:43pm
9
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.