Connected Mode - Authentication Fails

Please provide

  • Operating system: Windows Server 2019 Datacenter
  • Visual Studio version: Microsoft Visual Studio Professional 2022 (64-bit) - Current Version 17.10.6
  • SonarLint plugin version: 8.4.0.10426
  • Programming language you’re coding in: C#
  • Is connected mode used: Yes
    • Connected to SonarCloud or SonarQube (and which version): SonarQube Enterprise Edition
      ** Version 8.9.7 (build 52159)**

Hello.
Whenever we attempt to bind a project to the SonarQube Server, it fails. In the output window, we see the following:

[ThreadId 1] [DEBUG] [SharedBindingConfigFileProvider] Unable to read shared sonarlint config file: Could not find file ‘F:\Source\.sonarlint\MYPROJECT.json’.
[ThreadId 86] [DEBUG] [SLCORE] GET 200 https://sonar.corp.MYCOMPANY.com/api/system/status | response time=43ms
[ThreadId 86] [DEBUG] [SLCORE] Downloaded server infos in 43ms

In the authentication details screen, when we provide a token just freshly created in the sonarqube application, we get the following

Validating the connection failed. Please see the Output window for more information.

The output window shows message above. What is going on and how to get past this?

Thank you.

Hey there

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:

8.9.7 → 9.9.6 → 10.6 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.