SonarLint for VSCode can't connect to SonarQube

Please provide

  • Operating system: Windows 11 22H2 (OS Build 22621.1265)
  • SonarLint plugin version: 3.15.1
  • Programming language you’re coding in: Apex
  • Is connected mode used:
    • Connected to SonarCloud or SonarQube (and which version): SonarQube Enterprise Edition Version 8.9 (build 43852)

And a thorough description of the problem / question: I’ve configured SonarLint to connect to SonarQube in connected mode. But the connection seems to be not possible.

I’m working behind a corporate VPN. I also have the server certificate installed in my system. Java is allowed through my Windows Defender firewall for both Private and Public networks.

Below is my SonarLint config:

    "sonarlint.connectedMode.connections.sonarqube": [
            "serverUrl": ""
    "": "C:\\\\Program Files\\\\Zulu\\\\zulu-11",
    "sonarlint.connectedMode.project": {
        "projectKey": "SIT"

The Error I’m getting in VSCode SonarLint output window:

[Info - 10:48:04.451] Started request handler on port 64120

Initializing file:///c%3A/Users/debna501/repos/team-guinness on branch feature/SMEE-58798-integrate-with-servicenow-for-creation-of-complaints

[Warn - 10:49:01.172] Failed to request SonarLint notifications

[Warn - 10:49:01.172] java.lang.IllegalStateException: Permission denied: no further information



at org.sonarsource.sonarlint.core.serverapi.ServerApiHelper.rawGet(

at org.sonarsource.sonarlint.core.serverapi.developers.DevelopersApi.getEvents(

at org.sonarsource.sonarlint.core.serverconnection.smartnotifications.NotificationChecker.request(

at org.sonarsource.sonarlint.core.serverconnection.smartnotifications.NotificationTimerTask.requestForServer(


at java.base/java.util.TimerThread.mainLoop(

at java.base/

Caused by: Permission denied: no further information

at java.base/ Method)

at java.base/

at org.apache.hc.core5.reactor.InternalConnectChannel.onIOEvent(

at org.apache.hc.core5.reactor.InternalChannel.handleIOEvent(

at org.apache.hc.core5.reactor.SingleCoreIOReactor.processEvents(

at org.apache.hc.core5.reactor.SingleCoreIOReactor.doExecute(

at org.apache.hc.core5.reactor.AbstractSingleCoreIOReactor.execute(


at java.base/

I can open the SonarQube URL from on Chrome just fine. So my pc can connect to SonarQube server. While I’m almost sure that some firewall or network connectivity issue is probably causing this, I don’t know what to describe to my IT support team to check. Could you please help me? Let me know in case any other details are required.

SonarLint comes with bundled java jre and thus uses it’s own certificate store. You will need to add your certificate chain to sonarlints jre cacerts