SonarQube community 25+ CSP problems and others web issue

Good evening,

I am writing because my SonarQube community installation on Openshift 4 has some strange issues catched on Web console like :

Object { msg: “Project is not bound to any DevOps Platform” }

In additions some Constraint Security Policy problems during login/logout.
How can I manage those problems?

Thank you in advance.

Hi,

Welcome to the community!

Sorry, but I’m going to need a lot more context.

 
Ann

Those errors during logout and both login:

This error below every time I select the single project:

immagine

Hi,

A 401 is a permissions error. Do you have permissions to what you’re trying to access? If so, can you clear your browser data and try again?

 
Ann

The user logged in is the administrator.

Hi,

The question stands. It’s quite possible to be “admin” and not have permissions to everything.

 
Ann

Ok, so what kind of permission I have to set in order to avoid this kind of problem?

Thank you in adavance.

Hi,

Well what are you trying to access?

 
Ann

I can share the API invoked :

*/api/alm_settings/get_binding?project=crypto

I had 404 error with this response:

“Project ‘crypto’ is not bound to any DevOps Platform”

but I really don’t know what kind of permission is needed

Hi,

That looks like project admin stuff. For that you would need both Browse and Administer on the project in question.

 
HTH,
Ann

Ok, both permessions are present.
Maybe it could be possible that there is a bug related to sonar upgrade process?
Because the database used has been created since Sonar version 8 (if i remember correctly) in any case both permission are present.

Hi,

Did you ever clear your browser data?

Are you logged in to SonarQube? And if so, what do you get if you hit the URL directly?

 
Ann