For AI agents: the documentation index is at /docs/interbox/llms.txt. A Markdown version of this page is available at /docs/interbox/operate/troubleshooting.md or by requesting it with the Accept: text/markdown header.
Interbox Docs

Troubleshooting

Find what you see on this page, then read the cause, the check and the fix. Each entry is short and links to the page that explains the area in full. The page covers start-up and readiness, the workspace, sign-in, inputs and units, files, and outbound webhooks.

For any failure, start with two screens: the Instances page shows each engine's reload error and refused inputs, and the Repository screen shows what the workspace service could not publish. The server log records the reason behind a message that the browser shows only in part.

Start-up and readiness

The engine stops at start and says Postgres is missing extensions

The log message begins Postgres is missing extensions Interbox needs (pg_trgm, btree_gist), so no migration was run. and names the extensions that are missing.

Causepg_trgm or btree_gist is not installed and the DATABASE_URL role cannot create it
CheckThe message gives one reason per extension: not available on the server, not allowlisted, or the role lacks CREATE on the database
FixUse a PostgreSQL build that ships its contrib extensions. On Azure Database for PostgreSQL, set the azure.extensions server parameter to the value the message gives. Otherwise run the GRANT CREATE ON DATABASE statement it prints. An administrator can also create both extensions beforehand

See PostgreSQL extensions in System requirements.

A pod stays unready, or /api/ready answers 503

The Service sends no traffic to the replica, and a rolling update stops at the new pod. /api/health still answers 200, so the pod is not restarted.

CauseCheckFix
No build is published yet, or the published one fails to loadInstances page: the instance's reload error. Repository screen: Last publish failed:Fix the error the page names. See A build is not published
Dashboard sign-in is parked by a missing or malformed variable/api/auth/status names the variablesSet them. See The dashboard is parked and names a variable
The chart's probe checks /api/health or an older pathThe probe path in the pod specWith an image tag older than 2.5.0 the chart probes /api/health. With a tag such as edge, which names no version, set the readiness probe path to /api/ready yourself

A pipeline in backoff, a parked pipeline and a standby replica do not make a pod unready. See Readiness in Deployment.

A migration logs "gave way" during a rolling update

The warning reads a migration gave way to the database's other sessions and will retry. During a rolling update the old pods keep writing, so a migration that cannot get a table lock soon rolls back and tries again. Wait. The migration continues on its own, and nothing needs fixing.

A migration that fails for another reason stops the container with an error that names it. The migrations before it stay applied, and the next start continues from the failed one. See Updating the engine.

The workspace

A build is not published, or the replicas keep the old one

The Repository screen shows Last publish failed: with the error. The replicas keep the build they run.

CauseCheckFix
The commit fails a check of the whole workspace: a missing ChainRegistry export, an SDK outside the engine's version range, two pipelines on one webhook pathThe error on the Repository screenFix it in a new commit. The workspace service publishes it on its next poll, 30 seconds by default
The git remote or the package registry is unreachableThe workspace service logNothing to change. The service tries the same revision again after 30 seconds, then waits twice as long after each failure, up to 10 minutes. Sync now, Publish and Discard and update try again at once
The credential does not match the remoteThe refusal names the mismatch: a key against an https:// URL, a token against an SSH URL, a PEM block that is not a private key, or a passphrase-protected keySupply the right kind of credential and restart the workspace service, which reads it once at start. See The credential
A private https:// workspace has no credentialThe log says terminal prompts disabledSet INTERBOX_WORKSPACE_GIT_KEY
A dependency named as git+ssh:// or on a private https hostThe clone succeeds and the install failsPublish the dependency to a registry the workspace service can reach, or vendor it. The credential reaches only the workspace repository

The workspace service logs an error once in full, and logs nothing while the same error repeats for the same revision. See How an update reaches the replicas.

The engine and SDK versions do not match

The workspace is refused with a message that begins engine/SDK version mismatch: and names both versions. The SDK and the engine image must share a major version, or the same minor while on 0.x.

Run interbox pin <engine version> in the workspace and reinstall, or set INTERBOX_VERSION to an image that matches the workspace's SDK. A workspace on a newer minor than the engine loads, and the engine logs a warning. See Keep the workspace SDK compatible.

The dashboard says "Workspace updates are paused"

The workspace service holds its branch or tag at the current commit because updating would destroy uncommitted edits or unpushed commits. The replicas keep the build they run.

Push the work to keep it, publish the checkout as it stands with Publish, or choose Discard and update. On a tag, pushing does not release the hold, so publish or discard. Publishing and discarding need INTERBOX_WORKSPACE_ACCESS=apply. Only clone mode can be held. See Held updates.

A pipeline shows "Parked, not running"

The Pipelines page shows Parked, not running: and the error. The pipeline's own source, store, sender or webhook settings failed the checks, for example because its source's config reads an env() variable that the engine's environment does not set. The other pipelines run.

EffectThe pipeline's MLLP port is not served. A request to its webhook source's or pull sender's path gets 503 with Retry-After: 60, or 404 when the path itself failed the checks. Stored units stay
CheckThe error on the Pipelines page, repeated once per build in the log of the workspace service and each replica
FixFix the configuration in a new revision. For a missing variable, set it on the replicas and the workspace service and restart them. The workspace service then publishes the same revision with the pipeline running

See Parked pipelines in The workspace.

Signing in

The dashboard is parked and names a variable

The dashboard and its API answer 503. A missing password or a malformed variable parks them. The engine keeps consuming and delivering, and /api/health keeps answering.

Open /api/auth/status. It names the variables at fault. One case is an issuer set with no allow-rule: it names INTERBOX_AUTH_ALLOWED_EMAILS, and you add a rule. Set the variables and restart. A parked replica is unready, so check the variables before a rollout. See When it is misconfigured, the engine keeps running in Securing dashboard access.

A sign-in is refused

The browser says less than the server log, on purpose. Find the message in the table, then read the reason in the log.

What you seeWhat it usually is
503 "the identity provider could not be reached"The issuer does not match what the provider publishes, the Interbox process cannot reach it, or that URL answered with a redirect
The provider rejects the request before showing a loginIts registered redirect URI is not exactly <INTERBOX_PUBLIC_URL>/api/auth/callback
400 "this sign-in did not start here"The login cookie is missing, older than ten minutes, or already used. Start again from the sign-in page
400 "this sign-in could not be completed"state, the code exchange or token verification failed. The server log names which
403 "this account may not use this instance"Authentication worked and no allow-rule matches that identity. The log records the subject that tried
403 on /api/auth/start from a bookmark or another siteReach it from this deployment's own sign-in page
The sign-in succeeds, then every panel shows errorsThe dashboard is served from a different origin than the API

See When a sign-in fails in Securing dashboard access.

Email or domain rules never match

The provider's id_token has no email_verified claim, or the claim is a string. Interbox then refuses with 403 every sign-in that relies on an email or domain rule, and it looks like a rejected account. Decode the token and check that email_verified is true before you deploy the rule. See Will my provider give me an email rule? and Sign-in provider examples.

The sign-in button names the wrong provider

Interbox derives the name from the issuer host alone. A provider you run yourself, such as Aidbox, Keycloak or Dex, issues from your own hostname, so the button reads Sign in with and that host. Set INTERBOX_AUTH_PROVIDER_LABEL to the name you want. See The sign-in button names your provider.

Inputs and units

The sending system retries and Interbox stores nothing

The input was refused before the store. No unit exists, and the sending system was told and retries. The Pipelines page shows the count per pipeline, with the code and time of the latest refusal. The Instances page shows each instance's total.

CodeWhat the sending system getsLook at
too_largeMLLP: the connection is dropped. HTTP: 413The source's maxBytes
unauthorizedHTTP 401The source's secret and the header the sender carries
store_misfitMLLP AE, HTTP 500The store's codec against the row
step_error, not_ready, timeout, db_errorMLLP AE, HTTP 500The step before the store, the reference table it reads, its deadline, or PostgreSQL
source_error, copy_pendingThe source retriesAn earlier input still being copied, or a failed state write

The log names the pipeline, the error's kind and the code location, never the message, which can hold the input. A permanently broken input is refused every time it is resent. To keep it, use skip() before the store. Counts restart from zero when an instance restarts. See Refused inputs in Operating pipelines and Refusals before the store in Errors.

Units end at error with engine/attempts_exhausted

A step threw an error that is not a domainError, so the engine treated it as transient and tried the unit again 4, 8, 16 and 32 seconds after the failures. The fifth failure ends the unit. The error_message holds the last error's message, after that error's kind when it had one, such as system/aidbox_unreachable: ….

Fix the cause the message names, then use Retry to run the steps after the store again. Throw a domainError for a failure that retrying cannot cure. See How a step fails a unit and Retry and Defer in Errors.

Units end at error with engine/undecodable

An MLLP frame was not valid for the character set its MSH-18 names, MSH-18 named a character set Interbox cannot decode, or a frame without MSH-18 was not valid UTF-8. Interbox answered AA and stored the frame decoded as windows-1252, so the message is kept. The error_message names the character set.

If the sending system sends windows-1252 or Latin-1, the stored text is right: use Retry to run the steps after the store on it. Otherwise use Defer, and ask the sending system to name its character set in MSH-18 and send the message again. See mllpSource in Built-in sources, steps and senders.

Units end at error with a kind such as parse/not_hl7

The error_kind field has the form <group>/<specific>, and the group says which side failed. parse/not_hl7 means the text has no HL7 segment line. parse/missing_msh means it has segment lines but no usable MSH. A system/… kind is a read from an external system, a sender/… kind is a write to the destination, and internal/… is a bug.

Group the failures by step and kind on the Dashboard page. Correct the input or the mapping, then Retry, or Defer a failure that will not be fixed. See Errors.

Units end at error for an unmapped code

The unit failed with domainError("code", "unmapped_observation_code", …) and a message such as unmapped code "NA" (SODIUM) · system (none) · map hl7v2-lab-hosp-observation-code-loinc. The Code mappings page lists each code once per concept map with the number of units that wait on it. Map the code, then Retry the units. See Code mappings in The dashboard.

Units stay processed and nothing is sent

A processed unit has items in the sender queue. The sender answered wait, which is not an error: a reference is not at the destination yet, and the item is tried again after retryDelayMs, with no limit.

Open Sender on the pipeline. The backlog table groups items by outcome and kind, such as wait · sender/reference_missing, and Oldest waiting since shows how long the oldest has waited. A retrying count is a different case: those items failed with an error and count toward the retry limit. A pipeline that is paused sends nothing either. See Pipelines in The dashboard, Sender outcomes in Steps, store and senders, and Pausing a pipeline in Operating pipelines.

Files

A file is skipped

A skipped file shows as a skipped unit of the pipeline with its reason, when the pipeline starts with unpack(), and as a warning in the log otherwise. Match the reason.

ReasonCause
over maxFileBytesThe file is larger than the feed's maxFileBytes, 64 MiB unless set
corrupt archiveThe archive cannot be read
version_changed, not_foundThe file changed or disappeared while Interbox read it
inaccessibleThe storage refused the file to Interbox

A skip holds for that version of the file. Write a new version of a top-level file, or put the file in a new folder. A storage that cannot be reached, or that refuses its credentials, is not a skip: Interbox logs an error and tries again at the next poll. See What Interbox does with a file in Reading files from storage.

A delivery never starts

Interbox rejects a delivery, reads none of it and reports why. The report shows the same way as a skipped file. The common reasons:

ReasonWhat to do
emptyThe delivery is ready but holds no data file. Check what the sending system wrote
marker malformed, marker repeated, marker too largeCheck the marker file: one file, valid, at most 1 MiB
named in the futureThe delivery's name is a date and time more than an hour ahead. Check the clock and time zone at the sending system
older than <name>With ordered, a delivery sorts before one already started. Name deliveries in order
superseded by <name>With latestOnly, a newer snapshot of the same report is ready or was read
named before startAfter <name>The delivery sorts at or before startAfter

A folder delivery waits until it is ready. Interbox logs a warning after waitFor.warn, 1 hour, and abandons the delivery after waitFor.abandon, 48 hours, skipping its unread files. A top-level file is never abandoned while it is still arriving. Add deliveryEnd() to get a verdict, complete, partial, empty or abandoned, for each delivery that Interbox began reading. See Rejected deliveries and Waiting in Reading files from storage.

Outbound delivery

Webhooks are not delivered

A webhook event that cannot be delivered is parked: it stays in interbox.webhook_outbox with the reason in last_error, and the engine logs it at error as webhook delivery permanently failed; parking row or webhook delivery retries exhausted; parking row.

last_error or logCause and fix
WEBHOOK_EGRESS_ALLOWLIST empty — all webhook delivery deniedThe allowlist is empty or unset, which denies every delivery. Set WEBHOOK_EGRESS_ALLOWLIST to the permitted hosts
host not in egress allowlist: <host>Add the host, exact or as *.suffix, to WEBHOOK_EGRESS_ALLOWLIST
blocked private/loopback address (strict mode) or host <host> resolves to private/loopback address <address> (strict mode)WEBHOOK_BLOCK_PRIVATE=true refuses loopback and private targets, including a host that resolves to one. Use a public target or unset it
host <host> resolves to blocked address <address> or dns lookup failed for <host>: ...The host resolves to a blocked (metadata or link-local) address, or does not resolve at all. Fix the host's DNS or use another target
secret env var not set: <name>The environment variable that holds the signing secret is not set on the engine

A 2xx answer means delivered. 5xx, 429 and network errors retry with backoff, and other 4xx answers and redirects are permanent. After the cause is fixed, reset the parked rows with the UPDATE statement in Parked deliveries (operator). See Egress allowlist (operator) and Delivery guarantees in Webhooks.

Last updated: