Troubleshooting OpenCTI ingestion errors

A practical guide to diagnosing the common OpenCTI ingestion failures, the logs and settings to check, and when to bring in outside help.

On this page

Why OpenCTI ingestion errors stall threat intelligence and how to diagnose them

When a feed or connector stops landing data in OpenCTI, or objects are missing or duplicated, most ingestion failures can be classified from the worker and platform logs and a small set of settings. The work is to find which component is refusing, delaying or rejecting the data before anyone changes the configuration or adds capacity. A failure that looks like a missing feed is often a rejected bundle, a queue that has stopped draining, or a connector that is still running but no longer writing.

An OpenCTI deployment has several parts that can each fail in a different way. The platform serves the UI and GraphQL API. Python workers consume RabbitMQ messages to perform the asynchronous writes, so ingestion errors usually surface in worker logs rather than in the web application. Connectors bring data in, and Elasticsearch or OpenSearch holds the indexed knowledge that the platform reads back. Redis, RabbitMQ and the platform each keep their own state, so the first diagnostic step is to identify which part reports the error and whether the connector, the queue or the index is the place where the data stops. The OpenCTI deployment overview lists these components and their supported versions, which is the reference to check against your own build.

Teams need this work when a threat feed that feeds detection or prioritization goes quiet, when analysts report entities that should exist but do not, or when the same indicator appears several times. Confirm internally who owns connector configuration, who can read platform and worker logs in your environment, and which logs your team already retains. Those answers decide whether diagnosis stays in-house or goes to a partner, and they define what evidence a partner will need on day one.

How a connector write travels to the index and where it fails

A connector's write starts at the connector, which sends STIX bundles to the OpenCTI platform through its GraphQL API. The platform queues the work in RabbitMQ, where Python workers consume each message and write to Elasticsearch or OpenSearch, with Redis holding shared state along the way. Each hand-off is a place where a different class of error shows up in the logs, so check the component named in the error before changing any setting.

Path of a connector write from submission to the search index.

Which error classes appear most often and what each usually means

Most OpenCTI ingestion failures fall into a few classes, and each class leaves a different trail in the connector, worker and queue logs. Start with the symptom you see, then check the log source and the setting or data change listed here before you change connector schedules or worker counts.

Missing references

A bundle points to a STIX object, such as the target of a relationship or the object an indicator is based on, that OpenCTI does not hold yet. This often happens when a source sends relationships in a separate bundle that arrives first, or when an upstream object was never exported. Check the connector log for the bundle that failed, then confirm that the referenced object is present in the source bundle or already exists in the platform. Confirm the source's export order and whether it includes the full set of referenced objects.

Deployment overview

Too many resolved entities

During import, OpenCTI matches incoming entities against existing records. When one incoming name or observable matches many existing records, the importer cannot choose a single target and the object is skipped or fails. Common causes include generic names, such as a shared hosting domain, and duplicates already present from earlier imports. Check the worker and connector logs for the entity type involved, then search the platform for duplicates of that value. Confirm whether the source needs a narrower scope or a cleanup of the duplicate records.

Locking timeouts

Locking timeouts appear when several workers or connectors try to write the same entity at the same time, so one write waits for another. They are most likely when two connectors import overlapping feeds on identical schedules, or when a large bundle touches entities that busy feeds also update. Check the platform and worker logs for lock-related messages at the times the failures occur, and compare them with connector run schedules. Confirm whether the overlapping sources can be staggered or narrowed before you add more workers.

Malformed indicators

An indicator fails when its pattern, value or observable type does not conform to the STIX2 rules that the knowledge schema enforces. Typical causes are an invalid pattern expression, a value that does not match its declared type, or a STIX version the connector does not map correctly. Check the connector's output bundle and the worker validation messages for the rejected object, then compare the value against its declared type. Confirm the source's STIX version and fix the mapping in the connector or in a transformation step, not in the platform's stored data.

Queue backlog symptoms

A backlog shows up as messages accumulating in RabbitMQ queues while ingestion runs slowly or appears stalled in the UI. It can follow from too few workers for the volume of writes, from Elasticsearch becoming slow, or from a failing message that is retried repeatedly. Check the RabbitMQ queue depth and the worker logs together, since a queue that grows while workers log errors points to a failure rather than to load. Confirm the worker count against the documented guidance of at least one platform node for every 3 workers, and check Elasticsearch health before adding workers.

Deployment overview

How to triage an ingestion failure step by step

This sequence moves from the failing connector to the root cause, so you can tell whether the fault lies in the source data, the settings or the platform's dependencies before you replay any work.

  1. Identify the failing connector and its state

    Start in the OpenCTI interface by opening the connector list in the settings area and noting which connector shows an error, a stopped status or no recent activity. Record the connector name, its type (import, enrichment or stream), the work items it reports as failed, and the time of the first failure. Confirm the connector's configuration values, such as the platform URL, token and scope, against its own documentation before going further. The step is complete when you have a single named connector and a first-failure timestamp to search for in logs.

  2. Read the platform and worker logs for the failing work

    Using the timestamp and the connector name, search the platform logs and the worker logs for error entries tied to the failed work item. Look for the message that names the failing entity, reference or field, and note whether the error is a validation or reference problem, a lock or timeout, or a connection failure. Logs are emitted as JSON when configured for it, so filter by level and connector identifier to keep the search narrow. The step closes when you can state the error class in one sentence and have identified the entity or work item it affects.

  3. Check dependency health for Elasticsearch or OpenSearch, Redis and RabbitMQ

    Before blaming the data, confirm that the platform's dependencies are answering. Check the health of the search cluster (Elasticsearch 8.0 or later, or OpenSearch 2.9 or later), Redis (7.1 or later) and RabbitMQ (3.11 or later) using their own status endpoints and logs, and look for cluster red or read-only states, memory pressure, connection refusals and disk warnings. If every dependency is healthy and the errors name a specific entity, the problem is most likely in the data. If one dependency is failing or timing out, treat the ingestion errors as a symptom and address the infrastructure first.

  4. Separate data problems from infrastructure problems

    Compare the pattern of failures against the dependency results. Data problems tend to repeat for the same bundle, object type or source, and survive a restart. Infrastructure problems tend to affect many connectors at once, appear in bursts, and clear when the dependency recovers. Sort the failing items into these two groups and write down the evidence for each. The output is a short decision: either the source data needs correction, or the dependency needs repair and the affected work will be replayed afterward.

  5. Check queue depth and worker activity

    Open the RabbitMQ management view or its queue metrics and compare the depth of the queues tied to the connector and to the platform workers. A queue that keeps growing while workers show no processing means messages are stalled, while a queue that drains slowly may reflect throughput limits rather than a fault. Confirm the number of running workers against the sizing guidance in the deployment overview, which recommends at least one platform node for every 3 workers. The step closes when you know whether the backlog is growing, stable or shrinking.

  6. Correct the source data or settings

    For a data problem, fix the cause at its source: add the missing referenced object, correct the malformed indicator or field, or adjust the connector's scope or filters so it stops requesting or generating oversized results. For a settings problem, change only the value the logs point to, such as a connector scope, a timeout or a worker count, and record the old and new values. Confirm each change in the connector's own documentation, because option names and behavior differ between connectors. The step is complete when the corrected input passes validation on a small test sample.

  7. Replay the work and confirm the outcome

    Replay only the failed work items, not the whole connector history, and watch the logs and queue depth while the work runs. Confirm that the previously failing entities now appear in the platform, that no new errors match the same pattern, and that the queue drains as expected. Where a connector offers a state reset, use it only after you have confirmed the cause, because a reset can cause large reprocessing. Record the root cause, the fix and the replay result so the same failure can be recognized next time.

Which fix fits which ingestion symptom

This table maps common OpenCTI ingestion symptoms to the first check, the likely fix and the point at which to escalate. Read it from the symptom column, confirm the first check in the platform and worker logs, and only change settings once the log message points to a specific cause. The main takeaway is that most ingestion symptoms trace back to a small number of causes, and that adding workers rarely fixes a data or reference problem.

SymptomFirst checkLikely fixWhen to escalate
Objects missing after importWork status and error entries for the import job in the platform UI, then the worker log for the same work IDRe-run the import after the missing referenced objects are ingested, or correct the source bundle so references resolveMissing objects persist after a clean re-run with the same source file
Duplicate entities createdCompare the STIX IDs and the identity or name fields of the duplicates in the platform, and check which connectors wrote themAlign the connector's identifiers with the source, then merge duplicates through the platform's merge workflow after confirming the targetsDuplicates reappear after merge, or several connectors write the same entity type with different IDs
Queue backlog keeps growingRabbitMQ queue depth per connector and worker log lines showing the current work and its errorsClear poison or repeated messages, fix the failing payload, then review worker count against Elasticsearch throughputBacklog grows even when workers are healthy, or Elasticsearch shows write rejections or disk pressure
Repeated lock errors in the worker logLog lines naming the locked entity and the time of each retry, and whether the same entity appears in parallel importsStagger parallel imports that touch the same entities and avoid running several connectors on one entity set at onceLock timeouts continue after imports are sequenced, or they affect unrelated entities
Indicators rejected as malformedThe error text in the work log and the pattern field of the rejected indicator in the source fileCorrect the pattern syntax or the observable type at the source, then re-import the corrected objectsValid STIX patterns from a trusted source are rejected, which may point to a schema or version mismatch
Work stuck in progressWork status in the UI and whether the worker that claimed it is still runningRestart the affected worker or connector after confirming no other job is writing the same dataWork repeatedly returns to in progress after restart or the same ID appears across workers
Too many resolved entities warningThe number of entities in the bundle and the connector's own log of resolution stepsSplit the bundle into smaller batches or filter out low-value objects at the connector before ingestionSingle batches still fail, or the source cannot be filtered without losing required relationships

What to check on Docker Compose, Kubernetes and air-gapped installs

On a Docker Compose install, every OpenCTI component runs as a container on one host or a small set of hosts, so the first step is to identify which container is failing. The platform, the Python workers and each connector normally appear as separate services, and their output is read through the container runtime rather than a central log store. Confirm the service names and the logging driver in your own Compose file before you rely on any command, because these differ between deployments.

  • Find the failing service: List running containers and compare their status to the expected set of platform, worker and connector services. A connector that restarts repeatedly usually points to a configuration or credential problem.
  • Read connector output first: Ingestion errors are often logged by the connector that sent the bundle, so start with that container's log before the platform log.
  • Check worker logs for write failures: Worker output shows whether queued writes to the search cluster or other dependencies are failing, which separates data problems from infrastructure problems.
  • Confirm dependency health: Check that Elasticsearch or OpenSearch, Redis, RabbitMQ and the S3-compatible storage are up and reachable from the containers, since errors from these can look like ingestion errors.
  • Compare container configuration: Verify environment variables for the connector, such as the platform URL and token, against the values in the platform.

Check that the connector and worker versions match the platform version you run before you change any data-side setting.

When adding workers or raising limits makes ingestion errors worse

Adding workers to a struggling OpenCTI platform can make ingestion errors worse, not better. When the Elasticsearch or OpenSearch cluster is already saturated, each extra worker sends more concurrent writes into the same indices. Those writes compete for the same entities, which raises lock contention and locking timeouts, and the errors you see in the worker logs can shift from a backlog problem to a write-conflict problem. Before you raise a worker count or a concurrency limit, check whether the search cluster is the bottleneck. Watch its indexing latency, its rejected write requests and its heap and disk pressure while the queue is draining, not only the RabbitMQ depth.

The search cluster itself must meet the documented minimums before it can absorb more parallel writes. OpenCTI's deployment overview lists Elasticsearch 8.0 or OpenSearch 2.9 or later, 2 cores, 8 GB RAM and 16 GB SSD for the search node, and recommends at least one platform node for every 3 workers. Confirm your cluster sizing against those figures, and confirm the current requirements for your chosen version in the same overview, before you change any worker settings. If the cluster is below those figures or is running close to its limits, scaling workers is the wrong first move, and the fix belongs in cluster capacity.

Treat worker and limit changes as a controlled experiment. Change one value at a time, record the error rate and queue behavior for a full ingestion cycle, and roll back if locking timeouts rise. The backlog and index topics in this group cover how to balance worker count against Elasticsearch throughput and how to plan capacity before the cluster blocks writes, so use those procedures for the capacity decision itself. This section is about recognizing the pattern: more parallel workers that produce more timeouts and conflicts usually mean the write path has reached the cluster's limit, not that the workers are too few.

Security and data handling risks during ingestion troubleshooting

Troubleshooting ingestion means reading logs, replaying bundles and changing settings, and each of those steps can expose credentials or sensitive indicators. The cards below cover the controls that keep troubleshooting from becoming a data leak or an unreviewed change to a production platform.

Keep connector credentials out of logs

Connectors authenticate to OpenCTI with a token, and import connectors also hold keys for the external feeds they pull from. When an ingestion error is logged with full configuration or request details, those secrets can end up in log files, support tickets and chat threads. Check the connector's log level and any debug output before you share a log, and rotate a token if it was pasted anywhere outside your secrets store.

Limit who can replay ingested data

Replaying a failed work item or re-running an import can duplicate entities or push stale bundles into the knowledge graph. Restrict replay and deletion rights to a small operator group, and record who triggered each replay. Confirm in your own environment which platform roles can delete entities, workbenches and works, since the Community and Enterprise editions differ in their access controls.

Keep indicator content out of exports

Error messages often quote the indicator, file hash, URL or domain that failed to parse. Those values can be sensitive, such as an unpublished victim domain or a sample from an active investigation. Redact observable values before sharing logs with vendors or colleagues outside the threat intelligence team, and avoid copying raw bundles into tickets.

Treat authentication strategies as Enterprise settings

Since OpenCTI 7.260224.0, defining and using authentication strategies, including SSO, is an Enterprise Edition feature. If your team uses SSO for operators, confirm that your license covers it before you change login settings during an incident. Keep local administrator accounts documented and tested so troubleshooting can continue when the identity provider is the failing component.

Authentication docs

Put settings changes under change control

Connector settings, worker counts and platform configuration are often changed live while an ingestion queue is backing up. Record each change with its reason, the person who made it and the rollback value, and apply it in staging first where you can. Without this record, a later ingestion problem is hard to trace back to the change that caused it.

Common questions about fixing OpenCTI ingestion errors

How long does it take to diagnose OpenCTI ingestion errors?

Diagnosis time depends mostly on how many distinct failure types are present, how much of the log history you can access, and whether the failing connector can be reproduced on a non-production instance. A single recurring error with clear logs can often be traced quickly, while mixed failures across several connectors take longer because each source has its own data quality problems. Expect the first step to be classifying errors by type, such as missing references, locking timeouts or malformed indicators, and by connector. Ask any partner to state what they need from you before they start, since missing log access or an unavailable connector owner is the most common reason diagnosis stretches out. No fixed duration applies to every environment, so request a timeline in the written scope.

Can our internal team troubleshoot OpenCTI ingestion errors on its own?

Often yes, if the team can read platform and worker logs, understands how connectors send STIX bundles, and has someone who can change connector settings. The work is mainly methodical: identify the failing connector, read the error in the platform and worker logs, check whether the referenced entities exist, and adjust the connector or its input. Teams struggle when they lack a test instance, cannot safely replay data, or have no one who knows the source feed's data model. Check whether your team has log access across platform, workers and RabbitMQ, a non-production OpenCTI to test fixes, and a named owner for each connector. If any of those are missing, a partner can fill the gap, or your team can build them first.

What does our team need to provide for an ingestion troubleshooting engagement?

The work depends on access and people more than on tooling. Plan to provide:

  • Read access to platform logs, worker logs and RabbitMQ queue status for the affected period
  • A test OpenCTI instance on the same version as production, so fixes can be checked before they touch live data
  • Named owners for each connector, who know the upstream feed and can confirm expected data shapes
  • Connector configuration files and any recent changes to feeds or settings

Also confirm who approves changes to production and how data that has already been written will be handled. Missing any of these items usually adds time because each one requires a separate request.

What does a partner scope and bill for on a fixed-scope ingestion troubleshooting engagement?

A fixed-scope engagement is priced from a written scope that names the connectors, error types, environments and deliverables in advance. Typical scope items include reviewing logs for named connectors, reproducing failures on a test instance, recommending configuration or data changes, applying agreed fixes, and documenting the causes and remediation steps for your team. Work that falls outside the written scope, such as adding new connectors or reworking the data model, is usually quoted separately. Ask for the quote to show which connectors and error classes are covered, whether test-instance setup is included, what the handover documentation contains, and how a retest is handled. DeployOpen does not publish a price list, and the quote follows from the agreed scope.

What drives the cost of fixing OpenCTI ingestion errors?

The main cost drivers are the number of connectors involved, the number of distinct error types, how much of the environment must be reproduced, and how many people from your side must be available for review. Costs rise when feeds are poorly documented, when the test environment must be built from scratch, or when errors are caused by upstream data problems that require coordination with other vendors. One-time costs cover the initial diagnosis and fixes. Recurring costs appear only if you move into ongoing support. Ask any quote to separate these two categories and to state which items depend on your own teams' availability.

When should an OpenCTI ingestion engagement move to a retainer?

Move to a retainer when ingestion problems recur, when new connectors are added regularly, or when upgrades and continuous monitoring need steady attention. A one-time fixed-scope fix suits a defined set of errors that will not return once corrected. Retainers suit teams that need ongoing support, upgrades and testing across connector changes and platform releases. Consider the retainer option when the same error types return after each fix, when several connectors change every month, or when your team cannot absorb regular review work. DeployOpen offers ongoing support, upgrades and continuous testing as retainers, and the terms follow from a written scope agreed with your team.

Does a partner guarantee that our ingestion errors will stop?

A partner can commit to defined work, such as reviewing named connectors, applying agreed fixes and retesting them, but outcomes depend on upstream feed quality, which the partner does not control. Ask for the scope to state exactly what is delivered, what is tested, and what remains with your connector owners. That gives you a clear basis for judging the result without relying on promises about future feed behavior.

How DeployOpen works on this

DeployOpen starts by reading the ingestion errors in your own OpenCTI logs and connector settings, then agrees in writing which failures and connectors are in scope. The work runs inside your infrastructure, with fixes tested against your data before they reach production and documented so your team can run them afterward.

How we scope

  • Review the connectors, worker logs and error types your team sees during ingestion before quoting.
  • Agree in writing which connectors, data sources and error classes the fix covers.
  • Engagements are fixed-scope, with deliverables and timelines set in the written scope before work starts.

How we build

  • Reproduce each failure on a copy of your platform using the same connector versions and settings.
  • Tune connector import settings, reference handling and indicator validation where the logs point to the cause.
  • Test each change against representative bundles and check that queues drain without new errors.

How we hand over

  • Document the diagnosis steps, log locations and settings checked for each error class in the scope.
  • Walk your platform and operations staff through the runbook and the changes made to connectors and configuration.
  • Deliver a record of every change with its test evidence so your team can audit and repeat the fix.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • Retainers can cover re-checking ingestion after OpenCTI or connector upgrades, which change behavior between releases.
  • Ask for the support boundaries, response arrangements and upgrade handling in the written quote.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.