dosubot[bot] commented on issue #8710: URL: https://github.com/apache/incubator-devlake/issues/8710#issuecomment-3883290387
<!-- Greeting --> Hi @ajoecker1! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the incubator-devlake team. <!-- Answer --> DevLake does not explicitly mention support for SonarQube Enterprise Edition v2025.1.3, but there are no restrictions in the code that would prevent it, and the plugin is actively maintained for recent SonarQube versions. Officially, only SonarQube 8 and 9 are listed as supported, with requests open for version 10 and above support, so compatibility with v2025.1.3 may depend on API compatibility—especially with the /api/projects/search endpoint used to fetch projects for data scope selection [(source)](https://github.com/apache/incubator-devlake/issues/8290). The empty data scope issue after a successful connection is most often caused by insufficient token permissions (the token should be created with a system admin account), endpoint misconfiguration (the URL should end with a `/` and point to the correct SonarQube API), or network/proxy/firewall issues blocking API calls. Some SonarQube APIs require admin rights to list all projects; using a token without these rights can result in an empty list [(source)](https://github.com/apache/incubator-devlake/issues/8312). There is also a suggestion to try the /api/components/search_projects endpoint, which may work without admin rights [(source)](https://github.com/apache/incubator-devlake/issues/8514). To troubleshoot: 1. Ensure your token is generated by a system admin account. 2. Double-check the endpoint URL formatting. 3. If possible, test the /api/projects/search and /api/components/search_projects endpoints directly on your SonarQube instance with your token to confirm they return your projects. 4. Check for any proxy/firewall issues that might block API calls. 5. Review DevLake and SonarQube logs for errors when fetching repositories. If these steps don't resolve the issue, sharing relevant logs or error messages will help with further diagnosis. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/b620444c-d6f2-438b-bcc9-5c5f8623c91d?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/b620444c-d6f2-438b-bcc9-5c5f8623c91d?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/b620444c-d6f2-438b-bcc9-5c5f8623c91d?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/b620444c-d6f2-438b-bcc9-5c5f8623c91d?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/b620444c-d6f2-438b-bcc9-5c5f8623c91d?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/b620444c-d6f2-438b-bcc9-5c5f8623c91d?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/b620444c-d6f2-438b-bcc9-5c5f8623c91d?feedback_type=other)</sup> [](https://app.dosu.dev/b4e8e847-d479-4541-83a8-d88d83fea5c9/ask?utm_source=github) [](https://cursor.com/link/prompt?text=DevLake%20does%20not%20explicitly%20mention%20support%20for%20SonarQube%20Enterprise%20Edition%20v2025.1.3%2C%20but%20there%20are%20no%20restrictions%20in%20the%20code%20that%20would%20prevent%20it%2C%20and%20the%20plugin%20is%20actively%20maintained%20for%20recent%20SonarQube%20versions.%20Officially%2C%20only%20SonarQube%208%20and%209%20are%20listed%20as%20supported%2C%20with%20requests%20open%20for%20version%2010%20and%20above%20support%2C%20so%20compatibility%20with%20v2025.1.3%20may%20depend%20on%20API%20compatibility%E2%80%94especially%20with%20the%20/api/projects/search%20endpoint%20used%20to%20fetch%20projects%20for%20data%20scope%20selection%20%5B%28source%29%5D%28https%3A//github.com/apache/incubator-devlake/issues/8290%29.%0A%0AThe%20emp ty%20data%20scope%20issue%20after%20a%20successful%20connection%20is%20most%20often%20caused%20by%20insufficient%20token%20permissions%20%28the%20token%20should%20be%20created%20with%20a%20system%20admin%20account%29%2C%20endpoint%20misconfiguration%20%28the%20URL%20should%20end%20with%20a%20%60/%60%20and%20point%20to%20the%20correct%20SonarQube%20API%29%2C%20or%20network/proxy/firewall%20issues%20blocking%20API%20calls.%20Some%20SonarQube%20APIs%20require%20admin%20rights%20to%20list%20all%20projects%3B%20using%20a%20token%20without%20these%20rights%20can%20result%20in%20an%20empty%20list%20%5B%28source%29%5D%28https%3A//github.com/apache/incubator-devlake/issues/8312%29.%20There%20is%20also%20a%20suggestion%20to%20try%20the%20/api/components/search_projects%20endpoint%2C%20which%20may%20work%20without%20admin%20rights%20%5B%28source%29%5D%28https%3A//github.com/apache/incubator-devlake/issues/8514%29.%0A%0ATo%20troubleshoot%3A%20%0A1.%20Ensure%20your%20token%20is%20generated%20by% 20a%20system%20admin%20account.%0A2.%20Double-check%20the%20endpoint%20URL%20formatting.%0A3.%20If%20possible%2C%20test%20the%20/api/projects/search%20and%20/api/components/search_projects%20endpoints%20directly%20on%20your%20SonarQube%20instance%20with%20your%20token%20to%20confirm%20they%20return%20your%20projects.%0A4.%20Check%20for%20any%20proxy/firewall%20issues%20that%20might%20block%20API%20calls.%0A5.%20Review%20DevLake%20and%20SonarQube%20logs%20for%20errors%20when%20fetching%20repositories.%0A%0AIf%20these%20steps%20don%27t%20resolve%20the%20issue%2C%20sharing%20relevant%20logs%20or%20error%20messages%20will%20help%20with%20further%20diagnosis.) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-devla ke/issues/8710) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
