Indexing and source problems
Act on each indexing alert: failing jobs, stale indexes, webhook gaps, refused credentials, held jobs, full disks and late purges.
Each section starts with the Prometheus alert and the banner Overview shows under Needs attention.
Refused credentials
SynaxisUpstreamAuthFailing · "connection refuses Synaxis's credentials: check the connection's key, token or
certificate."
| Cause | Fix |
|---|---|
| The GitHub App was uninstalled from an organization, or its key was deleted | Reinstall the App, or store a new private key (GitHub) |
| An Azure DevOps token, client secret or certificate expired | Store a new one under the connection's credential name. Connections shows when a certificate expires |
| The service principal lost its access to the organization | Add it back in Azure DevOps |
Select Test on Connections to check the fix: "The upstream answered (…)" or "The test failed: …".
Webhook gap
SynaxisWebhookGap · "No webhooks from connection for hours although its repositories were pushed: check its
webhook or service hooks."
The nightly reconcile found pushes that no webhook announced, so changes arrive only once a day.
- GitHub: in the App's settings on GitHub, check the webhook URL (
<public URL>/hooks/github), that it is active, and its recent deliveries. - Azure DevOps: check the project's service hook subscriptions (
<public URL>/hooks/ado/<connection>). The audit log recordsconnection.hooks_failedwhen a sync could not keep them, usually a missing permission. - Check that your proxy or ingress lets requests of 25 MB through to
/hooks, and that the firewall admits the upstream. - If inbound requests cannot be allowed, switch the connection to polling.
Stale indexes
SynaxisIndexStale · "Indexes lag their upstreams: 95% of waiting refs within n hours, more than allowed."
| Cause | Look at | Fix |
|---|---|---|
| Jobs failing | Jobs, Failed, Last error | See Failing jobs |
| Jobs held | Jobs, Held, and the reason | See Held jobs |
| The upstream throttles Synaxis | The Sources and upstream dashboard, rate limits remaining | Throttled jobs wait for the upstream's reset time; spread the load or raise the upstream's limits |
| Not enough worker capacity | The Indexing and jobs dashboard, queued jobs per shard | Add workers (worker.replicas) or raise Worker:Concurrency |
| A new generation is building | Generations | Wait; searches use the serving generation meanwhile |
Repositories shows each repository's Freshness, and Overview how many are current, behind or failing.
Failing jobs
SynaxisJobFailuresHigh · "kind jobs keep failing: n failures in the last 30 minutes."
- Open Jobs, filter to the Kind and State Failed, and read Last error.
- Common causes: the embedding endpoint is down or its key is wrong (select Test on Models for model routes; check the embedding endpoint), a repository's git fetch fails (its error shows on Repositories), or Qdrant is not answering.
- Fix the cause, then Retry the failed jobs, or Fetch the repository again.
Held jobs
"n jobs are held (budgets or limits)." Jobs shows each held job's reason:
| Reason | Fix |
|---|---|
budget:<job kind> |
Raise the job kind's limit on Budgets and usage, or wait for next month. Held jobs resume within the hour |
limit:files |
The ref has more files than maxFiles; raise the limit, or exclude the repository |
| The license | Install a valid license |
A repository held with limit:size (shown on Repositories) is larger than repoMirrorMb.
Full mirrors volume
SynaxisMirrorDiskHigh · "Worker n's data volume is n% full."
- Grow the volume (Helm:
worker.persistence.size, if your storage class allows expansion), or add workers so each holds fewer repositories. - Lower
outOfScopeMirrorDaysso the mirrors of repositories that left scope go sooner. - Exclude very large repositories you do not need, or lower
repoMirrorMb.
Late purges
SynaxisPurgeLate · "A purge has waited n minutes (purges must finish within an hour)."
Purges run on the worker that owns the repository. Check in Jobs (kind repo.purge) that the purge is not
failing, and that the worker for its shard is running and claiming jobs.
A repository is not indexed
- Find it in Repositories and read its Scope and reason:
no-rule,project:<name>,manual:exclude,unreachableorlimit:size(Repositories). - If it is
inbut not indexed yet, look at its Sync state and error, and its Jobs. - A GitHub repository the App is not installed on does not appear at all: install the App on it.
The GitHub App setup fails
| The console says | Fix |
|---|---|
| The GitHub App setup expired or did not start here. Start it again. | Start again from Add a connection, in the same browser |
| GitHub did not accept the App's code. Start the setup again. | Start again; the code from GitHub works once |
| The App's secrets could not be stored. | Check the key ring and the database; then start again |
| The App was created on GitHub, but the connection could not be added. | Add it under An App that already exists with the App's id and the stored secrets, or delete the App on GitHub and start again |