SonarQube analyze task is failing to publish report to SonarQube server

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    SonarQube Enterprise edition - 9.6.1.59531.
    Azure Devops Services.
    SonarQube extension installed on Azure Devops Services is 5.8.1. But the task when run in the pipeline is displaying as 5.8.0
  • what are you trying to achieve
    Do a Sonar scan of .Net project in a Azure Devops agent which is hosted in our internal data center
  • what have you tried so far to achieve this
    The task is failing from last week.

What is the specific failure? Logs would be a great help here.

Thank you Colin for the response.

The SonarQube Analyze task is now failing for .Net projects. Attaching the error log from the SonarQube Analyze task.
SonarQube-Analyze-err.txt (23.5 KB)

It looks like the scanner is having trouble communicating with your SonarQube server over HTTPS

Received fatal alert: bad_record_mac

This exception normally happens when these is a mismatch between SSL protocol version used between the client and the server.

If this error just started in the last week, I would suggest checking if anything changed with the server certificate in the last week (a renewal, a change in reverse proxy configuration, etc…)

Thank you Colin for taking time and analyzing the issue.

But this issue is not happening on all the projects. Only on the .Net projects which we are building on the build servers hosted in our datacenter, this issue is happening. From the same build servers I am able to submit scans for a test dotnet project. So the issue is not a connectivity issue. The SonarQube extension in our Azure Devops organization is 5.8.1. But in the pipeline run the task version is showing as 5.8.0. Not sure if it matters.