Hi, since the update this morning to 5.3.0 our scans are now failing (error below). Our last successful scan was on Friday evening which leads me to believe it is related to the changes today.
- ALM used: Azure DevOps
- CI system used: Azure DevOps
- Languages of the repository: VB, C#, Typescript, JS
- Error observed: (wrap logs/code around with triple quotes ``` for proper formatting)
Starting: SonarCloudPrepare
==============================================================================
Task : Prepare Analysis Configuration
Description : Prepare SonarCloud analysis configuration
Version : 1.25.0
Author : sonarsource
Help : Version: 1.25.0. [More Information](https://sonarcloud.io/documentation/analysis/scan/sonarscanner-for-azure-devops/)
==============================================================================
C:\agent\vsts-agent-win-x64-2.160.1\_work\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.25.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe begin /k:accesscorp_software_aspen_batch_process /o:accesscorp
SonarScanner for MSBuild 5.5
Using the .NET Framework version of the Scanner for MSBuild
Pre-processing started.
Preparing working directories...
12:41:53.893 Updating build integration targets...
##[error]Unhandled Exception:
##[error]System.NotSupportedException: The requested security protocol is not supported.
at System.Net.ServicePointManager.ValidateSecurityProtocol(SecurityProtocolType value)
at SonarScanner.MSBuild.PreProcessor.SecurityProtocolHandler.set_SecurityProtocol(SecurityProtocolType value)
at SonarScanner.MSBuild.PreProcessor.WebClientDownloader..ctor(String userName, String password, ILogger logger, ISecurityProtocolHandler securityProtocolHandler, String clientCertPath, String clientCertPassword)
at SonarScanner.MSBuild.PreProcessor.PreprocessorObjectFactory.CreateSonarQubeServer(ProcessedArgs args)
at SonarScanner.MSBuild.PreProcessor.TeamBuildPreProcessor.<DoExecute>d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SonarScanner.MSBuild.PreProcessor.TeamBuildPreProcessor.<Execute>d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SonarScanner.MSBuild.BootstrapperClass.<PreProcess>d__9.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SonarScanner.MSBuild.BootstrapperClass.<Execute>d__8.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at SonarScanner.MSBuild.Program.<Execute>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)