##[error][SQ] API GET '/api/server/version' failed, status code was: 502

Hi Team,
Receiving error as “##[error][SQ] API GET ‘/api/server/version’ failed, status code was: 502” while performing SonarQubePrepare task in Azure devops pipeline

And i also found that sonar qube server was not responding.

It sounds like those two things are linked!

Is the SonarQube server back up and running?