Skip to content

Ingestion silent

Symptom. An ingestion is live and not paused, data is arriving at its source, but no dispatch jobs or events appear. Or they stopped at some point.

Work through the stages in order: is the ingestion running anywhere, is it polling, is it reading anything, is the platform accepting what it sends, and are the resulting jobs being delivered. The ingestion’s Activity page (/ui/ingestions/{id}/activity) answers most of these at a glance. The troubleshooting guide covers the same ground from the ingestion author’s side; this runbook is for the operator.

  • The platform has ingestion on. With FC_INGESTION_ENABLED off the ingestion routes answer 404 and nothing runs.
  • A runtime carries its kind. An ingestion whose kind no live runtime reports shows “no runtime carries this kind”. An extension kind needs a runtime with that extension loaded; camel-route needs INGEST_CAMEL_ROUTES_ENABLED=true; a runtime with INGEST_INGESTION_ENABLED=false carries nothing.
  • Someone holds its lease (polled kinds: sftp, s3, database-poll, api-poll, extension kinds). fc_ingestion_unheld counts live polled ingestions no runtime has held for a lease and two minutes, and the ingestion shows “not running: no runtime has held it since …”. That means the runtimes are down, cannot reach the platform, or are refused:
    • Runtime logs with RUNTIME_ID_IN_USE: two processes share one INGEST_RUNTIME_ID. The second renews nothing and fails readiness until the first is gone. Give each process its own id.
    • 401 or 403 on every runtime call: the runtime’s credentials, or an account that is not an anchor-tier service account free of any application or client (INGESTION_RUNTIME_* error codes).
    • A route reported FAILED with “the lease is too short for the poll interval”: the runtime’s INGEST_POLL_INTERVAL is too long for the platform’s lease (FC_INGESTION_LEASE_SECONDS).
  • Its client is active. Ingestions of a suspended or deactivated client run nowhere.

On the Activity page, Last poll and the poll count per runtime. A polled source that polls but finds nothing shows “polling, nothing new”; one that does not poll at all has a problem before the source (above) or is being paced after failures:

  • After repeated failed polls a source waits 5 s × 2^(n−1), up to 5 minutes, before the next.
  • While the platform is not taking jobs (no answer, 5xx, 429, 401 or 403), every ingestion on that runtime is held and one probe tests the platform.
  • Failures are logged in full once, then once a minute with a count. Read the runtime’s log from the first occurrence.

If it polls but reads nothing, look at the source from the runtime’s point of view:

  • Failures on the ingestion (Failures tab, or GET /api/ingestions/{id}/failures): SOURCE failures name connection and read problems.
  • Route state FAILING or FAILED. A runtime that keeps failing an ingestion hands it to another runtime for FC_INGESTION_UNHEALTHY_COOLDOWN (10 minutes); if every runtime fails it, it stays put so the errors stay in view.
  • Secrets. A secret the runtime cannot fetch (not bound by the live definition, the client inactive, the runtime not holding the lease) stops the route. The ingestion’s Secrets view shows when each runtime last fetched each secret; refused fetches are audited and counted in fc_ingestion_secret_fetch_total{outcome="refused"}.
  • Network. A source host that resolves to a loopback, link-local or metadata address is refused, as is an SFTP server without a known host key. Both are reported as failures.
  • The watermark or cursor has moved past the data (a database-poll watermark ahead of the rows, an api-poll cursor at the end). Check the ingestion’s state.
  • A status-track database poll row set back to pending within 7 days of its last dispatch is not dispatched again: its idempotency key is still remembered. Give it a new key value.

Use a trace when the cause is not obvious. Switch tracing on for the ingestion (Activity page, or PUT /api/ingestions/{id}/trace with windowSecs 60, 300 or 900). Each runtime picks the window up at its next poll (about a minute) and records sampled poll cycles and exchanges, with the HTTP calls an API poll or extension made, their requests and responses (credentials redacted). Switching on needs platform:ingestion:trace:manage and platform:ingestion:trace:view-bodies. Records are kept for 7 days.

The runtime creates jobs through the platform’s jobs API. A refusal the platform would repeat (most 4xx) is permanent: the runtime lets go of the payload so the source keeps moving (a file moves to .rejected, an SQS message is deleted, a RabbitMQ message dead-letters, a watermark moves on), and reports a REJECTED failure with category rejected. That appears on the ingestion as an open notice until someone dismisses it. Common reasons: the target’s dispatch pool is suspended or archived, its connection is gone, the client is suspended.

Anything else (5xx, no answer, 409, 429) is transient: the batch is retried and, if it still fails, the payload stays at the source and is offered again.

GET /api/ingestions/{id}/failures?undismissed=true&category=rejected lists the open notices.

If the Activity page shows records and jobs made, the ingestion is fine and the jobs are waiting downstream. Look up a few of the jobs (their code is the ingestion’s target code) and follow stuck dispatch jobs. For an EVENT target, check that a subscription matches the event type.

A message an sqs source receives more than 5 times is reported (a warning and a SOURCE failure, at most once a minute per ingestion). It keeps failing or is not being deleted. Give every source queue a dead-letter queue: the platform remembers a record’s identity for 7 days, and a message that returns after that makes its jobs again.