Quality Gate check timeout exceeded - View details on https://sp-sonarqube01/dashboard?id=*****

sonarqubelog.txt (50.2 KB)

Repo line code count:109k
Sonarqube server: 16cpu 64gbram
azureagent server: 32cpu 32ram
sonar preparanalysis: sonar.qualitygate.timeout=1000 → seted
Sonarqube Version: v2025.4.3 (113915)

We are getting timeout errors at regular intervals.
sonarqube scan takes too long.

1 Like

Hello,

I recommend reviewing your instance’s background tasks for potential performance issues. Are the tasks generally taking a long time to complete, is there a significant queue of pending tasks (which can be parallelized in Enterprise Edition and above), or is a particular task causing a bottleneck for others?

Hi @Hatip_Ekenek

From your logs this is what i see :

ime (UTC) Event
09:10 Azure DevOps task starts “Run Code Analysis”.
09:10–09:11 SonarScanner initializes, loads config, connects to server, detects branch, indexes code, and runs core sensors.
09:10–09:11 Security analysis and other language sensors complete.
09:11 Analysis report is generated, compressed, and uploaded successfully.
09:11:56 Scanner begins Quality Gate polling (wait mode).
09:28:42 Quality Gate wait times out (configured max reached); task exits with failure.

Did you check the background tasks results as Colin mentionned ? Can you share details ?