- Ubuntu 20.04
- VSCode 1.71.0
- SonarLint 3.9.0
When setting up connected mode, I can’t connect to the server. Our SonarQube instance is running in the cloud, so that we need a proxy, which is running at http://127.0.0.1:3128 to connect to the service.
HTTP_PROXY, HTTPS_PROXY, http_proxy, https_proxy, are all configured.
curl can access the SonarQube instance.
SonarLint has the following error message in the logs:
Caused by: java.net.UnknownHostException: : Name or service not known
Since host resolution works with curl, this seems to be an issue that sonarlint does not support proxy servers.
I can also not find any proxy settings for sonarlint to configure it directly.
Maybe setting useSystemProxies in the plugin would help: