Sonar IDE not finding organization during connected mode setup

  • Operating system: Windows
  • SonarQube for VS Code plugin version: 11.7.1.36988
  • Programming language you’re coding in: JS
  • Is connected mode used: Yes
    • SonarQube Cloud, SonarQube Server, or SonarQube Community Build: SonarQube Cloud

I’m trying to establish the ‘connected mode’ between VSCode and SonarQube Cloud, but during the setup it fails on getting the organization name.

2026-01-26 10:51:35.256 [info] [SonarQube for IDE] [Error - 10:51:35.254] [sonarlint : SonarLint Server RPC request executor] Error while querying SonarCloud organizations
2026-01-26 10:51:35.256 [info] [SonarQube for IDE] [Error - 10:51:35.254] [sonarlint : SonarLint Server RPC request executor] org.sonarsource.sonarlint.core.serverapi.exception.NetworkException: Request failed

Is there any addresses that is needed to configure explicitly to establish this connection?

Hi,

Could you double-check your SonarQube for VS Code version? You’ve listed 11.7, which is a valid (but old) version for SonarQube for IntelliJ. But the current version of SonarQube for VS Code is 4.41.

 
Ann

Hi @ganncamp ,

I’ve checked here the version, and this is the right information:

- sonarsource.sonarlint-vscode-4.40.0-win32-x64

Seems like I’m only one update from latest (for VSCode).

Hi,

Would you mind bumping up to 4.41 and making sure this is still reproducible?

 
Thx,
Ann

Hi,

I upgraded the plugin, the issue is still ocurring.

I’ve checked my network, I hadn’t found any block to the connection.

Att,

Hi Att,

Thanks for checking!

Could you give us a verbose log from IDE startup through to the error?

 
Thx!
Ann

Hi Ann,

Here are the logs:

output.log (126.7 KB)

Thank you,

Hi,

Thanks for the log. I’ve flagged this for the team.

 
Ann

Hello @Eidil,

I can see this line from the logs:

Caused by: java.util.concurrent.CompletionException: org.apache.hc.client5.http.HttpHostConnectException: Connect to https://sonarcloud.io:443 [sonarcloud.io/143.204.194.3, sonarcloud.io/143.204.194.21, sonarcloud.io/143.204.194.9, sonarcloud.io/143.204.194.84] failed: Connection timed out: getsockopt

It seems to be a problem with your network. Can you access the SonarQube Cloud UI from the browser? Do you have some form of network restrictions in place on your machine?

You also have a strange message at the beginning:

Error: Unable to read file ‘c:\Users\cso4705.vscode\extensions\sonarsource.sonarlint_ondemand-analyzers\package.json’ (Error: Unable to resolve nonexistent file ‘c:\Users\cso4705.vscode\extensions\sonarsource.sonarlint_ondemand-analyzers\package.json’

Could you try to reinstall the extension maybe?

Hi @Damien_Urruty

I’ve already reinstalled the extension on VSCode and the behavior is still the same.

I’m checking my network, trying to find something that can be blocking this comunication.

Thank you.

Just to add some information:

  • I can connect to SonarCloud through this same machine, without problems; the process works, until the part when I need to configure the organization on the IDE’s plugin; it just don’t work, there is no organization listed on it, and I can’t write the organization name.

I tried different ways to do it (starting through the IDE, ‘following the wizard’ or creating the token directly on Cloud’s configuration page, but nothing seems to work.

Hey,

That’s unfortunate… For now I don’t have another explanation than a security software on your device that would block the outgoing traffic. We start a background process from the extension (listed as sonarlint-ls.jar if you run jps), and if you are in a restrictive environment, maybe this process is not allowed to make network requests?

Hi @Damien_Urruty ,

I’m in touch with my network team, checking; we haven’t found anything yet.

Is there any possibility of something wrong on cloud’s side?

Thank you!

Hi @ganncamp and @Damien_Urruty ,

After some work with my network team we’ve found a firewal rule that was blocking specifically the comunication coming from the IDE (and probably thats why the part related on the access through the browser worked without problems).

Thanks a lot for you help!

Good to know @Eidil! Thanks for keeping us informed.

Don’t hesitate if you have any other feedback. You can also leave us a nice review on the Marketplace :slight_smile: