Skip to content

[Bug][Sonarqube] Missing endpoint /api/users/search in Sonarcloud #8812

@psturc

Description

@psturc

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

since yesterday collecting the data from sonarcloud projects stopped working due to /api/users/search endpoint returning 404:

Error running pipeline 9. Wraps: (2) Error running task 69. | Wraps: (2) subtask CollectAccounts ended unexpectedly | Wraps: (3) Error waiting for async Collector execution | Wraps: (4) Retry exceeded 3 times calling users/search. The last error was: Http DoAsync error calling [method:GET path:users/search query:map[p:[1] ps:[100]]]. Response: {"errors":[{"msg":"Unknown url : /api/users/search"}]} (404) | Error types: (1) *hintdetail.withDetail (2) *hintdetail.withDetail (3) *hintdetail.withDetail (4) *errors.errorString Error types: (1) *hintdetail.withDetail (2) *errors.errorString

What do you expect to happen

collecting the data for the sonarcloud project is successful

How to reproduce

  1. add a sonarqube connection
  2. select sonarcloud
  3. target your project
  4. add token
  5. save and add to your project, hit collect

Anything else

No response

Version

17e3ea4

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    component/pluginsThis issue or PR relates to pluginspriority/highThis issue is very importantseverity/p0This bug blocks key user journey and functiontype/bugThis issue is a bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions