Hello. I have around 20 projects running and executing analysis. Suddenly one project that has been working for a long time starts to throw an error:
ERROR: Error during SonarScanner execution
##[error]You’re not authorized to run analysis. Please contact the project administrator.
I set up debug mode and it seems the post-call to Sonarcloud is throwing a 403. I checked permissions and the user that setup the job (which is myself) has Execute Analysis permissions.
The post call that is throwing errors is (I changed the organization / project_key / project_name values because of privacy):
Can you verify that the token used for analysis of that project is either not revoked and/or the same one that’s used for the projects that still succeed?
@Marcin_Majewski@ganncamp we had this problem also for last 2 days but only in 1 repo (out of 20 repos) and only for analysis on ‘master’ branch, not for PR branches. It’s working now for us too. What was the root cause?
We deployed a new firewall recently and unfortunately, one rule blocked one of your analyses. The impact was very low and we did revert the change. We will do a thorough investigation before moving forward and re-enabling rules.