Azure Sonar Server publish failing as "Error message: Fail to execute es request"

  • Sonar Server version: 2026.3.1.123439
  • what are you trying to achieve: Azure pipeline sonar report publish

Until yesterday my azure pipelines are working fine and all of my sonar reports are published to my sonar server. But suddenly my pipelines are breaking on the sonar publish step, consider I am running 4 times in that 3 of them got passed and 1 got failed. During that time i am getting the following error,

==============================================================================
Task         : Publish Quality Gate Result
Description  : Publish SonarQube Server's Quality Gate result on the Azure DevOps build result, to be used after the actual analysis.
Version      : 8.2.3
Author       : sonarsource
==============================================================================
[INFO]  SonarQube Server: Server version: 2026.3.1.123439
##[error][ERROR] SonarQube Server: Error while executing task Publish: Task failed with status FAILED, Error message: Fail to execute es request
##[error]Task failed with status FAILED, Error message: Fail to execute es request

The only configuration we have done in my pipeline template for the publishing is as follows, (we skipped on failure for unblocking the team)

# Sonar Publish
- task: SonarQubePublish@8
  continueOnError: true
  inputs:
    pollingTimeoutSec: '300'

Hi @sridhar1495,

The error Fail to execute es request originates server-side in the Compute Engine background task, the Azure DevOps publish step is just surfacing what the server reported. The pipeline itself is not the issue.

To confirm this, please check your ce.log at the time of the failed run. Could you share the relevant section of your ce.log from around the time of the failing run? That will let us confirm the root cause.

Best regards,

Stevan

Hi this is working fine it seems some issue with my setup caused this after resetting the configuration it is working fine. Thank you for your time on this.