Error :You're not authorized to run analysis. Please contact the project administrator

  • which versions are you using (SonarQube)
  • how is SonarQube deployed: , Docker
    Hi,

User trying to Run Analysis on a Project in Sonarqube, while running analysis user getting error saying: [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.9.1.2184:sonar (default-cli) on project tcc-import: You’re not authorized to run analysis. Please contact the project administrator.

User having the access to do the analysis but still facing authorized issue

Command used to run the analysis : mvn clean deploy -DskipTests ‘-Ddependency.surf.version=6.3’ sonar:sonar -s settings.xml

Sonar analysis log from Jenkins pipeline attached , please check and assist us.
Sonar_Run_Issue.txt (16.0 KB)

Hi,

Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

8.9.10 → 9.9.1 → 10.1 (last step optional)

You may find these resources helpful:

If you have questions about upgrading, feel free to open a new thread for that here.

If your error persists after upgrade, please come back to us.

Hi Colin,

We are planning to upgrade by end of this month, but before that we would like to fix this issue. Could you please assist us to fix this issue now.

Hi @Colin

Could you please provide an update?

Hi @Colin ,

Please let us know how to fix this issue , we have planned to update to LTS version 9.9 on 30th September