Unable to Import GitHub Projects – "We couldn't load any organizations"

Hi everyone,

I’m currently testing out SonarQube Community Edition v25.4.0.105899, deployed via Docker on an Azure VM using a custom domain. Everything is accessible publicly over HTTPS.

Here’s what I’ve done so far:

  • Created and configured a GitHub App
  • Set up the DevOps Platform Integrations with the App ID and Private Key
  • Configured the Authentication settings to allow GitHub sign-in
  • Verified that GitHub login works correctly — I can log into SonarQube using GitHub successfully
  • “Check configuration” in the “DevOps Platform Integrations” shows its valid.

GitHub App Permissions:

  • Read access to:
    • Administration
    • Code
    • Members
    • Metadata
    • Organization administration
    • Organization events
    • Organization projects
  • Read & write access to:
    • Checks
    • Pull requests
    • Organization projects
    • Repository projects

The GitHub App is installed in my organisation (which owns the repositories I’m trying to scan), and I’ve granted access to “All repositories”.


The Problem:

When I go to “Projects→ Import from GitHub”, I get the following error:

Error:
We couldn’t load any organizations. Make sure the GitHub App is installed in at least one organization and check the GitHub instance configuration in the DevOps Platform integration settings.

Docker logs show:

WARN  web[...][o.s.a.c.GenericApplicationHttpClient] GET response did not have expected HTTP code (was 502): {\n  "message": "Server Error"\n}

Screenshot:


Hi,

502 is a “bad gateway” error. You should double-check your proxy.

 
HTH,
Ann