SonarQube Setup Details:
- SonarQube Version: Community Edition 25.7.0.110598
- SonarScanner CLI Version: 7.2.0.5079
- Jenkins Setup: Jenkins agent running inside AKS Kubernetes pod
- Java Version: Java 17.0.13 (Eclipse Adoptium)
- OS: Linux (5.15.0-1091-azure amd64)
We are experiencing intermittent timeout errors while running SonarQube analysis from our Jenkins Kubernetes agent pods. Some builds pass successfully, but others fail with the following error trace during sonar-scanner
execution:
sonar_error_logs.txt (19.1 KB)
Additional Observations:
- The issue is not consistent—sometimes the scanner completes successfully.
- Failing builds mostly show failure when fetching from this endpoint:
https://sonar.xxxx.com/api/settings/values.protobuf
- The scanner command is executed within a Jenkins pod on Azure Kubernetes Service (AKS).
- The error suggests a networking or timeout issue, possibly during plugin or settings resolution.
AKS Outbound Access: Open to all
SonarQube Server Inbound: Port 443 open to all