Failed to request and parse 'https://sonarcloud.io/api/server/version': Object reference not set to an instance of an object

Template for a good new topic, formatted with Markdown:

Azure DevOps
C#

The pipeline of my Azure DevOps project is not running because an error on the SonarCloudPrepare service giving us the message in the title. Seems like it fails because there is no version number in the URL ¿?
Here is our pipeline cource code:
trigger:

  • master

pool: ‘Servers CI’
variables:
solution: ‘**/*.sln’
buildPlatform: ‘Any CPU’
buildConfiguration: ‘Release’

steps:

  • task: UseDotNet@2
    displayName: ‘Install .NET Core SDK’
    inputs:
    version: 3.1.x
    performMultiLevelLookup: true

  • task: SonarCloudPrepare@1
    inputs:
    SonarCloud: ‘Sonarcloud SecCert’
    scannerMode: ‘MSBuild’
    organization: ‘XXXXXX’
    projectKey: ‘XXXXXX_SecCert’
    projectName: ‘SecCert’
    projectVersion: 1.0

Hi @mauro-maulini66712 and welcome to the community.

Can you please share the logs of this failing execution, in debug mode please ?

Thanks in advance.

Hi @mauro-maulini66712 and thanks.

Does it happen consistently since the first occurrence of this error ?

Is your agent behind a proxy by chance ?

Mickaël