SonarScanner Fails values.protobuf

Our team has been running into an issue of connecting to our on premise SonarQube Server. We are running a Bamboo script to connect to the local sonarscanner cli for connections to our SonarQube. It was working 2 months ago, went to publish earlier this month and stopped working. There have been no changes to certificates, network or servers (that we have been made aware of).

SonarQube: Version 9.9.2 (build 77730) LTA
SonarScanner on Bamboo Server: 6.1.0.4477

When reviewing the logs we see the following error:

error 16-Dec-2024 19:15:21 Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘GlobalServerSettings’ defined in org.sonar.scanner.bootstrap.GlobalServerSettingsProvider: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.sonar.scanner.bootstrap.GlobalServerSettings]: Factory method ‘provide’ threw exception; nested exception is java.lang.IllegalStateException: Fail to request url: https://sonarqube.protected url/api/settings/values.protobuf

I have attached the logfile when we ran this today with the -X option.

sonarqube_error_to_share.txt (27.5 KB)

Any help or thoughts on why this is failing would be appreciated.

Hey there.

These issues don’t come out of nowhere, so probably something has changed. Do you have logs from a successful run two months ago? At least, it would be interesting to compare some common culprits (Scanner version, Java version).