I am using SonarQube where as an administrator , cannot save any configuration (Permission, Create Project). Every time I am getting HTTP 401 status code.
But I am able to login with the default credentials (admin/admin). I can visit every page but not able chnage any configuration.
Version - SonarQube 8.4
Kindly suggest me what should I do in this scenario.
You shouldn’t be getting the interface if you’re truly unauthorized. However, in my testing I’ve seen that I can get unauthorized access to the interface under these conditions:
log in with all perms
while you’re logged in, your perms are reduced (by another user? by you in another browser?)
without logging out you load an admin interface & submit changes
-> unauthorized error
Can you do a force/hard refresh in your browser to make sure the interface reloads properly and/or double-check your permissions? Additionally, it might be worth checking SonarQube’s access logs to verify that this is a 401 coming from SonarQube rather than from some intermediary on your network.
I tried with your steps. Unfortunately those are not working.
I logged in with default admin (admin/admin) and found Project create permission is not checked. So I tried to give the access but redirected to login page.
Hi, i have the same problem, it’s like i can’t create a user, anyone can assign a issue to himself…
all we got is a redirect to login page with a 401 status.
all users admin or developers have the same issue, sonarqube 8.0 Community Edition
Yeah, thanks, we solve it, it was the HttpOnly; condition in the cookie, you just need to disabled it, i used a curl -u user:password “https://sonar…/api/change_log_level” with level=DEBUG.
then i saw a error: login failure [cause|Wrong CSFR in request]
this derivate to: Wrong CSFR in request