Failed to request and parser

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
  • what are you trying to achieve
  • what have you tried so far to achieve this

Whats the problem this? i am using sonarqube 8.6 with project .net 46

Hi @Nino,

Welcome to SonarSource community! :wave:

Are you behind a corporate proxy? You may need to add proxy config as discussed here: Advanced Topics (scroll down to Using SonarScanner for .NET with a Proxy).

It will look something like this: SONAR_SCANNER_OPTS=-Dhttps.proxyHost=xxx -Dhttps.proxyPort=xxxx

See also: Run SonarCloud Analysis through corporate proxy

Give that a try and see how that works.


Hi @Joe

how does it work using

You need to set environment variable SONAR_SCANNER_OPTS like so:

C:\Windows\system32>set SONAR_SCANNER_OPTS=-Dhttps.proxyHost=xxx -Dhttps.proxyPort=xxx
C:\Windows\system32>echo %SONAR_SCANNER_OPTS%
-Dhttp.proxyHost=yourProxyHost -Dhttps.proxyPort=yourProxyPort

Then run your Sonar Scanner for MSBuild.

what should i do after this?

Now run the SonarScanner.MSBuild.exe command like you did in the first screenshot of your first post in this thread.

i found this

Hi @Nino,

Please read on how to use SonarScanner for .NET. You need to specify the path to the project or solution file. in the dotnet build step.