Failed to load quality profiles

Must-share information (formatted with Markdown):

  • Latest docker community v10.7 (96327)
  • sonar-maven-plugin 5.0.0.4389
  • Podman
  • I try run sonarqube with maven

It was working a month ago, everything is the same, maybe sonarqube is different (I have set autoupdate podman). Also java sonar plugin for maven is probably newer.

mvn clean verify sonar:sonar -Dsonar.projectKey=xxx -Dsonar.projectName='xxx' -Dsonar.host.url=xxx -Dsonar.token=xxx

I’m getting the same error message.

What I tried so far:
completely reinitialize sonar - remove database and all files, reinit tokens etc.It still do the same. I have done that, because I have seen, there are no rules at all in sonarqube. Now there are rules, but it haven’t changed the result. Sonar is accessible, I tried to change token to invalid and it failed earlier.

Attaching error message from maven:
sonar.log (14.1 KB)

I have no more ideas left. Can you help me?

Hey there.

First things first, can you go ahead and try to force a reindexing?

If that doesn’t work, I"d be curious to know if you have any community-supported plugins installed.

Do you think reindexing will do anything, when I removed all data, run the docker (podman) containers absolutely clean and still got the same message after I set up the project and run maven with that project and token? I removed even all elastic search data and data in database.

And I haven’t installed anything in sonarqube. Just created project and set maven client. No additional plugins at all

I would expect someone else got the same error, because I expect it is in sonar image itself or in maven plugin. Maybe they just didn’t upgrade yet.

It seems to be badly set proxy, which doesn’t pass all the data to/from maven. Without it it is working. Closing

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.