Failed to request and parse <link> The underlying connection was closed: An unexpected error occurred on a send

Hi Team,

Our build pipelines are failing due to SonarQube task failure below are the error messages, when we try to re-run it works, sometimes it needs 3-4 restarts.
Failed to request and parse < link > The underlying connection was closed: An unexpected error occurred on a send.”
and
"##[error][SQ] API GET ‘/api/server/version’ failed, error was: {“code”:“ECONNRESET”,“errno”:“ECONNRESET”,“syscall”:“read”}
"
##[error]ERROR: SonarQube server [[Link)]] can not be reached

Earlier it was working smoothly but from the last few days, it is failing. What could be the reason?

Tagging Abhishek
@aanvekar001

Thanks
Sohail

Hi, which SQ version are you using? What scanner are you using? Did you have a look at SQ logs (sonar.log, web.log, ce.log, es.log)? Anything interesting there?

Hi, we are using the Azure DevOps pipeline, and in the pipeline SonaQube tasks are there,

  1. Prepare Analysis Configuration
  2. Run Code Analysis
  3. Publish Quality Gate Result

currently Version 8.4.1 SQ version in there in production.

Now this time it got break when publishing results to SQ Server.

Please find the below logs, every time we run the pipeline logs are different and error messages
log1.txt (23.2 KB) log2.txt (959 Bytes) log3.txt (18.0 KB) .

Any update?