I wanted to upgrade from 8.9.10 Developer Edition to 9.9 Developer Edition on my system:
-RHEL 8, OpenJDK 17 (updated from 11 as part of installation), PG 12
When running a new scan in Azure DevOps I am getting following error:
##[error]ERROR: Error during SonarScanner execution
ERROR: You’re not authorized to run analysis. Please contact the project administrator.
No permissions have been changed, I tried also a PAT with full admin permissions resulting in the same error.
After rollback to 8.9.10 and upgrade to 9.8 the scanning process stil works fine, so it must somehow be related to 9.9.
I’m not too surprised about a 404 on GET /sonar/api/analysis_cache because the analyzer expires after 7 days. So I wouldn’t say it’s indicative of anything.
What’s very interesting to me is the missing POST /sonar/api/ce/submit request. Are you running your SonarQube server behind a reverse proxy (to serve it over HTTPS, for example). If so, I would suggest checking if the request even makes it that far (to your proxy, like nginx or httpd).
the server is behind an Application Gateway. The WAF indeed blocked the POST request with error message ‘Multipart parser detected a possible unmatched boundary.’ When I disable the rule, it works. Not sure if it is a false positive or real issue.