Tim-laz
(Tim laz)
February 14, 2025, 12:53pm
1
I am using Bitbucket Pipelines with the SonarQube pipe (sonarsource/sonarqube-scan:3.1.0
). My pipeline script is:
script:
- pipe: sonarsource/sonarqube-scan:3.0.2
variables:
SONAR_HOST_URL: ${SONAR_HOST_URL}
SONAR_TOKEN: ${SONAR_TOKEN}
i’m encountering this error
java.lang.IllegalStateException: Failed to get server version
Caused by: java.net.SocketTimeoutException: Connect timed out
Colin
(Colin)
February 17, 2025, 12:53pm
3
Hey there.
Is your SonarQube Server accessible from your Bitbucket pipeline? Such issues are normally caused by the runner not having access to your SonarQube Server.
Hello everyone,
I am facing an issue when running SonarScanner in my GitLab CI/CD pipeline. The analysis fails with a connection error to the SonarQube server.
Context
Environment: GitLab CI/CD
Image used: sonarsource/sonar-scanner-cli:11
Java version: 17.0.12 Amazon.com Inc. (64-bit)
OS: Linux 5.15.0-79-generic amd64
SonarScanner CLI: 6.2.1.4610
SonarQube URL: http://sonarqube.wseils-dev.com:9000
Issue encountered
Running the following command fails:
$ sonar-scanner -Dsonar.host.url="${SON…
This can easily happen if you’re using a Bitbucket-provided runner, but your SonarQube server is on an network resource only accessible internally.