The remote server returned an error: (407) Proxy Authentication Required

Sonar version : 7.7

Hi Team,

One of the App team were facing- The remote server returned an error: (407) Proxy Authentication Required, they are using http://sonarqube.broadridge.net:9000/

Error message-
C:\Program Files\IIS\Microsoft Web Deploy V3>ECHO Built and copied files to C:\jenkinsagent\workspace\FXL\Dev\q\Installation\source
Built and copied files to C:\jenkinsagent\workspace\FXL\Dev\q\Installation\source
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (SonarQube Analysis)
[Pipeline] bat
C:\jenkinsagent\workspace\FXL\Dev\q>"C:\Program Files (x86)\MSBuild\SonarQube"SonarScanner.MSBuild.exe begin /k:FXLTwoFourCore /n:FXLTwoFourCore /v:1.0 /d:sonar.host.url=http://sonarqube.broadridge.net:9000 /d:sonar.login=41c83d8ad841570ece6285e88349e3400b96f6079999
/d:sonar.cs.dotcover.reportsPaths=“C:\jenkinsagent\workspace\FXL\Dev\q\TwoFourCoreCoverageReport.html”
SonarScanner for MSBuild 4.10
Using the .NET Framework version of the Scanner for MSBuild
Pre-processing started.
Preparing working directories…
11:52:14.826 Updating build integration targets…
11:52:15.288 Fetching analysis configuration settings…
11:52:15.442 Failed to request and parse 'ht
from Nemade, Sandeep to everyone: 12:37 PM
11:52:15.442 Failed to request and parse ‘http://sonarqube.broadridge.net:9000/api/server/version’: The remote server returned an error: (407) Proxy Authentication Required.
Unhandled Exception: System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at SonarScanner.MSBuild.PreProcessor.SonarWebService.<>c_DisplayClass15_0.b_0()
at SonarScanner.MSBuild.PreProcessor.SonarWebService.DoLogExceptions[T](Func1 op, String url, Action1 onError)
at SonarScanner.MSBuild.PreProcessor.SonarWebService.DownloadServerVersion()
at SonarScanner.MSBuild.PreProcessor.SonarWebService.GetServerVersion()
at SonarScanner.MSBuild.PreProcessor.SonarWebService.GetProperties(String projectKey, String projectBranch)
at SonarScanner.MSBuild.PreProcessor.TeamBuildPreProcessor.Fetch

Not sure what could be the reason and any properties we need to add here as javaopts or any ?

Please could you check and assist us here ?

Thanks

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

7.7 → 7.9.6 → 8.9.8 → 9.4 (last step optional)

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes 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.