Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HouseKeeping] HTTP error 403 - Insufficient permissions to perform operation: Insufficient privileges while getting background tasks of component #1490

Open
BessNeox opened this issue Nov 4, 2024 · 4 comments

Comments

@BessNeox
Copy link

BessNeox commented Nov 4, 2024

Hello,
I have this issue , I verified that the token is ok and when using curl to perform the same GET query it works :(
Using CE 9.9.4 and the latest (3.6) version of sonar-tools.

@okorach
Copy link
Owner

okorach commented Nov 5, 2024

Hi @BessNeox

Thanks for reporting this.
Could you send the logs of the sonar-housekeeper execution (redacted if necessary) and the final stacktrace if any.

@okorach okorach added the bug label Nov 5, 2024
@okorach okorach added this to the 3.7 milestone Nov 5, 2024
@BessNeox
Copy link
Author

BessNeox commented Nov 6, 2024

Hi @okorach ,
image
and no final stacktrace, it just stuck for hours.

@okorach
Copy link
Owner

okorach commented Nov 6, 2024

Hi @BessNeox,

  1. I reproduced the permission problem BUT only if the used token indeed had insufficient permissions, ie it's a token that neither had Global Admin permission nor Project Admin permission, so I am a bit puzzled if you tell me that the equivalent Curl command ends successfully.

  2. I don't think that the error that you get is the reason for the freeze of the tool, it's just the last displayed log but probably the problem happens later. Can you rerun the tool in DEBUG and attach the redacted logs:

sonar-housekeeper -v DEBUG -l debug.log -u ... -t ...

Then attach the debug.log file

@okorach
Copy link
Owner

okorach commented Nov 23, 2024

Hi @BessNeox,
Any update on this?

@okorach okorach removed the bug label Nov 23, 2024
@okorach okorach removed this from the 3.7 milestone Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants