Failed to request and parse 'https://sonarcloud.io/api/server/version': An error occurred while send

Dear Support,

we are using SonarScanner for .NET (.NET Framework 4.6+ ) downloaded from SonarScanner for .NET | SonarCloud Docs, the scanner is stopped working with below errors: our last success scan is on 06 Jul 23 13:15.

we are running the SonarScanner in Windows Server 2012 R2.

[10:16:47]**[Step 3/3]* 10:16:47.99 Failed to request and parse 'https://sonarcloud.io/api/server/version': An error occurred while sending the request.*

[10:16:48]**[Step 3/3]**

[10:16:48]**[Step 3/3]* Unhandled Exception: System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.*

[10:16:48]**[Step 3/3]* at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)*

[10:16:48]**[Step 3/3]* at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)*

[10:16:48]**[Step 3/3]* --- End of inner exception stack trace ---*

[10:16:48]**[Step 3/3]* at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()*

[10:16:48]**[Step 3/3]* at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)*

[10:16:48]**[Step 3/3]* at SonarScanner.MSBuild.PreProcessor.WebClientDownloader.<Download>d__7.MoveNext()*

[10:16:48]**[Step 3/3]* --- End of stack trace from previous location where exception was thrown ---*

[10:16:48]**[Step 3/3]* at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()*

[10:16:48]**[Step 3/3]* at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)*

[10:16:48]**[Step 3/3]* at SonarScanner.MSBuild.PreProcessor.SonarWebService.<>c__DisplayClass18_0.<<DownloadServerVersion>b__0>d.MoveNext()*

[10:16:48]**[Step 3/3]* --- End of stack trace from previous location where exception was thrown ---*

[10:16:48]**[Step 3/3]* at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()*

[10:16:48]**[Step 3/3]* at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)*

Hi,

Are your build agents self-hosted? Because this is the root problem?

 
Ann