Skip to main content

Troubleshooting and FAQs

This page covers issues most often reported on the GitHub Enterprise Server connector. For setup steps, see the GitHub Enterprise Server setup guide.

Setup and installation

Connector validation fails right after setup

Symptoms:

  • Setup cannot complete: Validation returns an error instead of transitioning the connector to a healthy, crawling state.
  • Error messaging: The error references fetching users or organizations, the GitHub App installation, the admin token, or connectivity.
CauseFix
GitHub App not installed: The GitHub App was created but not installed in any organization on your GitHub Enterprise Server instance, so Glean cannot list organizations or mint an installation token.Install the GitHub App in at least one organization on your instance, then rerun validation. See GITHUB_9 for the full troubleshooting steps.
Admin token scopes or ownership: The admin classic personal access token is missing required scopes, or its owner lacks the privileges needed to read enterprise members and organizations.Provide a classic personal access token owned by an enterprise owner with the user:email, read:enterprise, and read:org scopes, then rerun validation. See GITHUB_7 for the full troubleshooting steps.
No readable resources: Glean cannot fetch members, repositories, or issues from an organization — for example because the organization has no resources of a given type, or the App is not installed on it.Confirm the organization contains at least one member, repository, and issue, and that the GitHub App is installed on it. See GITHUB_2 for the full troubleshooting steps.
Credential mismatch: The App credentials entered in Glean (App ID, private key, Client ID, or Client Secret) do not match the GitHub App on your instance.Copy the correct values directly from the GitHub App's settings page and re-enter them in the Glean admin console. See GITHUB_5 (Client ID or Secret) and GITHUB_9 (App ID or private key) for the full troubleshooting steps.

Still not resolved? Contact Glean Support with your GitHub Enterprise Server instance domain and the exact text of the validation error.

Network and connectivity

Glean can't reach your GitHub Enterprise Server instance

Symptoms:

  • Connectivity errors: Validation or crawls fail with errors referencing DNS resolution, connection timeouts, or an unknown host.
  • No content is ingested: The connector never transitions to a healthy crawling state, or content stops updating.
CauseFix
Instance unreachable from Glean: Because GitHub Enterprise Server is self-hosted, Glean's crawler must be able to reach your instance over the network. A firewall, private network, or missing IP allowlist entry is blocking the connection.Confirm your GitHub Enterprise Server instance is reachable from the Glean crawler. Contact Glean Support for the IP addresses assigned to your Glean tenant, then allowlist them on your network firewall and on your instance.
TLS interception or proxy disruption: A corporate proxy is breaking TLS encryption or rewriting HTTP headers between Glean and your instance.Confirm with your network team that traffic between Glean and your GitHub Enterprise Server instance is excluded from inspection and is not being intercepted.
note

GitHub Enterprise Server is self-hosted, so the Glean crawler must be able to reach your instance's API over the network. Verify network reachability before debugging credentials or scopes.

Still not resolved? Contact Glean Support with your instance domain and the exact text of the connectivity error.

Missing content

Users don't see private or internal GitHub content until they authorize

Symptoms:

  • A user sees no private or internal GitHub content, even though public content appears normally.
  • Other users who have authorized the connector see their private and internal content.
CauseFix
Per-user OAuth not completed: On GitHub Enterprise Server, a user must individually authorize the connector before they can see private and internal repository content. Authorizing maps their GitHub identity to their Glean identity so Glean can enforce their repository access. Public repository content appears without OAuth.Have the user authorize GitHub once by navigating to Glean → Settings → Connectors → GitHub Enterprise Server. Their aliases sync on the next identity crawl, after which their private and internal content appears.
Limitation

Until a user completes per-user OAuth, private and internal GitHub Enterprise Server content doesn't appear in their search results. Public repository content appears regardless.

Only some repositories are searchable in Glean

Symptoms:

  • Content from some repositories appears, but specific repositories that should be indexed are missing.
CauseFix
Organization or repository filtering: An organization allow or block list, or a repository inclusion or exclusion list, is excluding the content.Review the connector's organization and repository lists under Admin console → Connectors → GitHub Enterprise Server → Manage Data. After adjusting them, allow the next discovery crawl to reflect the change.
Private repository access: The repository is private, so only its collaborators can see it.Confirm the user is a collaborator on the repository in GitHub and has completed per-user OAuth.

Symptoms:

  • Documentation hosted on GitHub Pages doesn't appear in Glean search results.
CauseFix
Unsupported Pages deployment: Glean indexes GitHub Pages only for repositories that publish from the legacy gh-pages branch workflow, and only HTML and Markdown content.Confirm the site uses the legacy gh-pages branch workflow, and add the repository to the GitHub Pages repository inclusion list under Admin console → Connectors → GitHub Enterprise Server → Manage Data.
Limitation

GitHub Pages indexing supports only the legacy gh-pages branch workflow and only HTML and Markdown content. Sites built with custom GitHub Actions workflows aren't indexed.

Still not resolved? Contact Glean Support with the repository name and, for a missing document, its exact URL.

Real-time updates

New or updated content is slow to appear

Symptoms:

  • New pull requests, issues, or commits do not appear until a later scheduled crawl.
CauseFix
Webhook delivery blocked: GitHub webhook events from your instance are not reaching Glean, so updates wait for the next incremental crawl.Confirm your network allows webhook delivery from your GitHub Enterprise Server instance to Glean. Glean also picks up new and updated content through scheduled incremental and full crawls, so content still syncs without webhooks — just less quickly.

FAQs