Sonarlint doesn't work with VS Code remote

Please provide

  • Operating system: RHEL7, win10
  • SonarLint plugin version: 3.12.0
  • Programming language you’re coding in: python
  • Is connected mode used: yes
    Connected to SonarQube Enterprise Edition -Version 8.9.6 (build 50800)

And a thorough description of the problem / question:

I have VS Code v1.69.1 on Win 10 connected to a rhel7 host using remote SSH. SonarQube connection is configured and correct project key is setup in .vscode/settings.json. But reported issues are not highlighted in VS Code. I checked Sonarlint output. I can see ‘GET 200’ messages with connection to SonarQube server and some ‘Queuing analysis of file xxxxx’ messages and then it stuck with below.

[Debug - 16:55:36.481] fetchServerIssues projectKey=dzone:dzlabs, ideFilePath=/dzlabs/fitting_run.py, branchName=master
[stderr] Nov 23, 2022 4:55:57 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation
[stderr] WARNING: Unmatched cancel notification for request id 9

Besides, the ‘Sonarlint Connected Mode’ view on bottom left keeps loading.
image

The same setup works fine with ssh connection to another rhel7 host. Could you advice what might cause issues on this one?

Hello, welcome to the community! And thanks for your question.

Is there any difference between the rhel7 hosts, e.g in the SSH configuration, VSCode server version, JRE version, firewall/proxy settings?

Also, could you please enable verbose logging in VSCode and upload extracts from the SonarLint output?

sonarlint_output.txt (57.5 KB)

Thanks for your reply. Please find Sonarlint output attached.
I can confirm VSCode server version, JRE version and remote-ssh extension version are the same on both connection.
These two hosts are owned by another team where I don’t have admin access. I will reach to them about different firewall/proxy settings. Are there anything else on the hosts I should ask them to check? Any specific resources or configs are needed for Sonarlint and the language server to run, like ports, network?