Can't 'Open in IDE' from SonarCloud

Doesn’t work to me, yet. I see an error on network tab

Same here.
image

I’m on macOS 14.6, Safari 17.6, Apple M1, IntelliJ Ultimate, SonarLint 10.7.0.78874: https://plugins.jetbrains.com/plugin/7973-sonarlint/versions/stable/565583.

That version of SonarLint is from July 2nd. Do we need a new version?

The browser console shows permission errors (with * replacements):

[Error] [Report Only] Refused to connect to http://localhost:64120/sonarlint/api/status because it does not appear in the connect-src directive of the Content Security Policy.
[Warning] [blocked] The page at https://sonarcloud.io/project/issues?author=****%40****.com&issueStatuses=OPEN%2CCONFIRMED&id=*****_****&open=********* was not allowed to display insecure content from http://localhost:64120/sonarlint/api/status. (WebApp-BYViO9Hk.js, line 3)

I’ve upgraded to SonarLint 10.8.0.79133 and have the same error.

1 Like

Thanks for the heads-up @Gleidson_Brito_Santa and @sodul! We’ve flagged this for the relevant team.

Hello!
We recently made a fix. Could you please try again?

I have the same issue. I am on the latest version of Visual Studio Code and the SonarQube for IDE plugin.

1 Like

Hi!
Thanks for your patience. http://localhost:[64120...64130] endpoints have been added to the connect-src directive of the CSP response header. The fix will be in SLCORE 10.13 release.

1 Like

Hello,
The fix has been released. Could you please install the latest release and try again?

1 Like