Connection between VS 2022 and SonarQube is not working

Please provide

  • Operating system: Windows 11
  • Visual Studio version: Microsoft Visual Studio Enterprise 2022 (64-bit) - 17.14.13 (August 2025)
  • SonarQube for Visual Studio plugin version: SonarQube Ide 8.30.0.15605
  • Programming language you’re coding in: C#
  • Is connected mode used: SonarQube Server Enterprise

And a thorough description of the problem / question:

I’m trying to connect SonarQube from VS to Server using the IDE, however, I’m receiving this error when trying to connect.

And there is no more information in the console.

Hi,

Welcome to the community and thanks for this report!

Can you give us a verbose log from IDE startup through to this problem?

 
Thx,
Ann

Here is the log, the last line is generated after closing the Connection Wizard
log.txt (46.6 KB)

Hi,

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

 
Ann

Thank you. I’ll be waiting for your answer..

@cchevez unfortunately, the logs you provided do not contain any trace of the connection error. Could you please provide verbose logs using this how-to Troubleshooting | Sonar Documentation ?

Hi, that’s how the logging level is set. But it seems there is no more information related with the issue, I’m attaching a log generated today, however, I think it will be pretty much as the previous one.

log.txt (27.0 KB)

Sorry, just to be sure, you’re capturing logs after you’re it’s failing create a connection in the ui, right?

Yes,
[DEBUG] [ThreadId 37] [SLCore] [sonarlint > SonarLint Server RPC request executor] Downloaded server infos in 33ms
the previous line is the last one generated during the process, there are no more info after that, but the wizard displays the error shown in the first image.

@cchevez Hi. We’ve recently released a few changes to our extension. Could you give version 9.0 a try?

Hi, I’m using the latest version and still have the same behavior.

May the issue be related with the firewall or something else? If that’s the case, what should I review with the IT team?? A specific port or something else?

It could be due to firewall, yes, but the weird part is that there are no errors in the logs. I will try to add some additional logging next week and provide a custom build for you.

Thank you, I’ll be waiting for it.

Hi, I’ve actually found the bug with missing error message. Could you try this build? SLVS-2710 Fix: Validate Credentials response message is ignored · SonarSource/sonarlint-visualstudio@c954221 · GitHub

1 Like

Hi, I’ve used this version and now I have this error.

image

Is there a way to use SonarLint without updating the SonarQube Server? Or should I ask the IT team to update it?

Hi @cchevez

According to our support policy, the lowest version we support in our IDE plugins at the moment is SonarQube 9.9

The upgrade path from 9.3 is

9.3-> 9.9.9 → 2025.1.4 → 2025.5 (last step optional)

I’ll ask the IT team to update the SonarQube server and try the connection again.

So I think this thread can be closed as we already found the main issue.

Thanks for your support.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.