Template for a good bug report, formatted with Markdown:
versions used (SonarQube, Scanner, Plugin, and any relevant extension)
sonarqube version 6.0, scanner version 2.8, and sonar-scanner-cli-2.8.jar
error observed (wrap logs/code around triple quote ``` for proper formatting)
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.5.0.1254:sonar (default-cli) on project. Unable to load component class org.sonar.api.config.Settings: Unable to load component class org.sonar.scanner.repository.ProjectRepositories: Error 504 on https://develop.ampf.com/sonar/batch/project.protobuf?
steps to reproduce
potential workaround
P.S.: use the #bug:fault sub-category if you’re hitting a specific crash/error , or the #bug:fp sub-category for rules-related behaviour
You need to consider an upgrade to 6.7 LTS or 7.4, the current supported versions of SonarQube. You’ll have a hard time finding support for other versions.
That said, I would check your logs folder for any clues.
Please suggest the version to which we can upgrade to have the dashboard capability. As per the release notes the dashboard feature has been dropped since 6.2 version of Sonarqube. we are willing to go the latest version of sonarqube, but as we cannot leverage the dashboard feature we are unable to upgrade.
We do not plan to reintroduce the custom dashboard capability, therefore you may find yourself quite out of luck as we do not support any version of SonarQube with that capability. The current LTS is v6.7 and the Latest version is 7.4.
We think our dashboards in the latest versions are pretty nifty, we are always accepting feedback on them, and our Web APIs are extensive and should allow you to generate additional external reports if absolutely necessary.
Thank You Colin, we will look forward to upgrade to LTS version.
Please suggest if you found anything in the logs which i shared. If we can do some changes at our end to fix this as multiple build plans fails with this particular error.
A 504 is a timeout response, and the error in the logs indicate that the request was interrupted. Since you are using HTTPS, your SonarQube Server must be behind a proxy and I would recommend checking the access/error logs of your proxy to see if there’s anything relevant.
But our app is running on local and doesn’t need any proxy settings. please suggest if there is any other reason because of which we are seeing this error. exact error is this
[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.5.0.1254:sonar (default-cli) on project clientexperience-exposure-sit-config: Unable to load component class org.sonar.api.config.Settings: Unable to load component class org.sonar.scanner.repository.ProjectRepositories: Error 504 on https://develop.ampf.com/sonar/batch/project.protobuf?key=clientexperience-exposure-config%3Aclientexperience-exposure-sit-config%3Arelease-uplift -> [Help 1]