Finding why a Shuffle playbook failed
When an automation stops or returns the wrong result, debugging in Shuffle means tracing one execution from start to finish. Start with the execution list to find the failing run, then open its step details to see which action failed and what it received and returned. If the step data does not explain the failure, use the workflow run debugger to replay the path through the playbook and then check the container logs for the worker and the app that ran the failing action. Work through these layers in order, because the first one that shows an error usually points to the cause.
Teams need this skill at three points. During the build, every new app, condition and variable is a chance for a silent mismatch, so the first executions of a new playbook are often spent confirming that each step receives the data its author expected. After any change to a workflow, an app version or a credential, a run that worked before can fail for a reason that is not obvious from the playbook itself. In a production incident, the on-call analyst needs to know quickly whether the playbook failed, whether it ran at all, or whether the runtime never picked up the job, and each answer points to a different component.
Common causes are worth checking before you change the playbook. A localhost or 127.0.0.1 address in an app or workflow setting usually means the request is going to the wrong host from inside a container, so confirm the address is one the worker can reach. Missing or expired authentication on an app often shows as an authorization error from the remote service, so check the saved authentication for that app in the environment where the run happened. Confirm with your own team how your Shuffle version exposes these views and logs, since menu names and log locations differ across releases, and check the Shuffle GitHub releases page for the version you run.
How to trace a failed execution step by step
This sequence takes an engineer from a failed run in the execution list to the single action and log line that caused it, so the fix targets the real cause instead of the symptom.
Find the failed run in the execution list
Open the workflow in Shuffle and go to its execution list, then filter or sort for runs marked as failed or aborted. Note the execution ID, the start time and whether the failure is a one-off or repeats across runs. Confirm the pattern before going further: if every run fails at the same action, the cause is probably in that action or its app configuration, and if failures are scattered, check the trigger input and recent changes to the workflow first.
Open details and locate the first failed action
Open the execution details for that run and read the action results in order. The first action marked as failed is the one to examine, because later actions often fail only because they received an empty or error value from it. Skipped actions downstream of a failure are a symptom, not a cause. Confirm you have the first failure when every action before it shows a successful result and the failing action shows an error message or a non-success status.
Read the input and output of that action
Expand the failed action and compare its input parameters with what you expected, checking the resolved values after any variables or Liquid expressions were applied. Then read the returned output or error text. Look for placeholder text that was never replaced, empty lists, wrong data types and URLs pointing to localhost. Confirm the cause at this level when you can name the exact parameter or response field that is wrong. If the input is correct and the app returned an error, move to the debugger and the logs.
Replay the context in the workflow run debugger
Open the workflow run debugger for the same execution so you can step through the run with the data it actually had at each point. Check the values each action received from earlier steps, and see whether the data changed between a working run and the failing one. Test a corrected parameter by re-running the single action with the same input where the debugger supports it. Confirm the fix at this stage when the action completes with the expected output using the original data, not only with a hand-typed test value.
Check worker logs for runtime errors
If the input is valid and the action still fails, check the worker logs for that execution. The worker is the process Orborus starts for each workflow run, so its log shows whether the workflow engine failed to start the action, could not reach an app or ran out of resources. Match the timestamps and execution ID to the failed run. Confirm the layer when the worker log points to a platform problem rather than an app or input problem, then route the fix to the platform owner.
Check app container logs when the app fails
When the worker shows that the app ran and returned an error, read the logs of the app container for that action. Errors here usually come from the target system: rejected credentials, a missing permission, a TLS or certificate failure, or an API response the app did not expect. Confirm the root cause when the container log names the failing request, its status and the reason. If the log shows an authentication error, check the saved app authentication and its encryption key before changing the workflow.
Record the cause and retest the full run
Write down the failed action, the root cause, the layer where it sat and the change you made. Then run the workflow again from the trigger, not only the single action, and confirm the execution completes with every action succeeding. Keep the failed execution ID in the record so that a recurrence can be compared against this trace. The sequence is complete when a full run passes and the record explains why the earlier run failed.
How a failed step travels from the backend to the app container
The path starts when the Shuffle frontend sends a request to the Go backend API on port 5001, which stores execution records in OpenSearch. Orborus polls the backend for jobs, starts a worker for each workflow execution, and the worker starts the app container that runs the failing step. Check the execution record in the backend first, then the worker log, then the app container log, since the error usually surfaces at the hand-off where the step stopped.
Where each execution record and container log can be inspected during a failed step.
Which debugging source fits which symptom
This table compares six places where a failed Shuffle run leaves evidence, from the execution list down to app container logs. Read it from the failing run toward the component that produced the error, since each source covers a different layer. No single source explains every failure, so match the symptom to the layer where it first appears.
| Source | What it shows | When to use it | What it cannot show |
|---|---|---|---|
| Execution list | Past runs of a workflow with their overall status and start time | Finding the failed run and spotting whether failures repeat across runs | The cause of a failure or the data passed between steps |
| Execution details | Each action in a run with the result and output it returned | Finding the first failing action and reading the error it returned | Container-side errors or why the runtime started or stopped a worker |
| Workflow run debugger | Step-by-step data for one run, as your version presents it | Checking the exact input and output at each node to find where values change | Runtime and container behavior outside the workflow's own data |
| Orborus logs | Polling activity and job pickup on the runtime node | A run was triggered but no worker appears to start | Errors inside a step or inside an app action |
| Worker logs | Activity of the worker that handles a single execution | A run starts but stalls, hangs or stops before a step completes | The contents of an app's HTTP requests or the app's own error handling |
| App container logs | What the app container logged while running an action | An action fails with a vague error or the API response looks unexpected | The workflow's data flow or whether a condition skipped the action |
Why do Shuffle workflows fail with localhost URLs and missing authentication?
Most failed Shuffle executions trace back to a small set of causes: addresses that only work from the wrong place, credentials that are missing or no longer decrypt, and runtimes or app versions that do not match the workflow. Each card names the symptom to look for and the first check to run before changing the playbook.
Localhost URLs resolve inside the wrong container
An action that calls localhost or 127.0.0.1 works from your own shell but fails during execution, because the worker runs app containers with their own network namespace. The error usually reads as a connection refused or timeout to the target. Check the URL in the action parameters first, then confirm the target is reachable from the app container using the service name or host address on the shared network, not the loopback address.
Missing or expired app authentication
An app action that returns 401 or 403, or a result saying no credentials were supplied, usually means the authentication object was never created for that app, was attached to a different workflow, or the upstream API key was rotated. The symptom appears on the first action that touches the app, while triggers and unrelated apps still run. Open the app's authentication settings, confirm the entry exists and is selected in the action, and test the key with a direct call from the worker host.
Apps docsChanged or lost encryption modifier
Saved app credentials are encrypted in OpenSearch with AES-256 using the SHUFFLE_ENCRYPTION_MODIFIER value. If that value was changed, regenerated or left out after a redeploy, every saved authentication fails to decrypt, and many workflows break at once even though nothing in them changed. Compare the value in the running backend environment against the value used when the credentials were saved, and restore the original before re-entering any keys. Confirm the exact handling with the configuration docs for your version.
Unreachable runtime locations
An execution that stays queued or fails with no app output often points to the runtime rather than the workflow. The Orborus node that should pick up jobs may be stopped, may be pointed at a different backend, or may sit behind a firewall that blocks the outbound polling path. Check the Orborus logs for polling errors and confirm the runtime location shown for the workflow is online. Note that the hybrid model needs no inbound firewall ports, so a closed inbound port alone is not the cause.
Architecture docsMalformed inputs from earlier steps
A step that receives an empty value, a string where a list was expected, or an unescaped character in a JSON body often fails with a parse or validation error that points to a later action. The failing step is rarely the one that produced the bad value. Open the execution details, inspect the actual input each action received, and use the Repeat back to me output to confirm the value before adding any formatting or conditions.
App version mismatches
A workflow built against one app version can fail after the app is updated, or after the backend is upgraded and the container image no longer matches the action parameters. The symptom is usually a missing action name, a renamed field, or an error from a container that starts but rejects the call. Compare the app version pinned in the workflow with the version installed on the instance, and check the release notes for changes to that app before editing the playbook.
Shuffle releasesWhy a changed encryption key looks like a broken app
When a workflow that ran yesterday suddenly fails on every app step, check the encryption key before you check the playbook. Shuffle encrypts saved app credentials and API keys in OpenSearch with AES-256, using the value of the SHUFFLE_ENCRYPTION_MODIFIER secret as part of the key material. The Shuffle configuration docs warn that losing or changing this value breaks all saved app authentications. The stored credentials are still present, but the backend can no longer decrypt them, so every action that depends on a saved authentication fails with an error that looks like a rejected login, an expired token or a service outage.
The failure pattern is the giveaway. If many unrelated workflows and apps fail at once, and the same app worked before without any edits, suspect the key. Recreating the app authentication in the UI will often appear to fix one app, but it only overwrites that one credential under the new key and leaves the rest broken. Before you change a workflow, a webhook or the target system, confirm that SHUFFLE_ENCRYPTION_MODIFIER in the backend environment matches the value used when the credentials were saved. Check the value in your deployment configuration, not from memory, and confirm it was not regenerated during a reinstall, a Helm values change or a restore into a new environment.
The same check applies when you copy an instance, promote workflows or restore a backup into staging. A restored OpenSearch index carries encrypted credentials, but a staging backend started with a different modifier cannot read them. Ask your team to record where the value lives, who can change it, and how it is backed up alongside the database. Treat it as a secret with the same custody rules as your other credentials, because a lost value cannot be recovered from the data itself. Once the key is confirmed, re-test one app action per authentication to see which credentials still work before you go back into the workflow logs.
Debugging differences across deployment types
On a single server, the backend, frontend, OpenSearch and the Orborus runtime normally share one host, so the container logs sit in one place. Worker and app containers are started by the runtime through the Docker engine on that machine, which means the person who can read the Docker logs on the host can usually read the execution output that the playbook produced. Access is therefore a host access question as much as a Shuffle question.
- Container logs: Use
docker logsagainst the Orborus container for scheduling and startup errors, then against the worker and app containers named for the execution. - Access: Anyone with Docker group or root access on the host can read these logs, so treat host access as privileged.
- Retention: Docker keeps container logs according to the logging driver configured on the host. Confirm the driver and rotation settings in your environment.
- Cleanup: Stopped worker and app containers may be removed by pruning jobs, which can erase evidence you still need.
- Confirm: Check the Docker logging driver, log size limits and who holds host credentials.
Before you rely on these logs, confirm which logs your scripts or cron jobs rotate and whether a host backup captures them.
In a Docker Swarm deployment, Orborus nodes and workers can be spread across several servers, and the worker for a given execution may start on any node that is eligible to run it. Logs are therefore split across hosts, and a single failed execution can leave fragments on more than one machine. You need to know which node ran the worker before you can read its output.
- Service logs: Swarm service logs from
docker service logsshow output across replicas, which helps when a service is scheduled on several nodes. - Node-level logs: Worker and app containers that the Orborus node starts are visible only on the node that started them, so you must query each node or use a central log store.
- Access: Swarm manager access grants broad visibility, while worker node access exposes only the containers on that node. Review who holds manager credentials.
- Placement: Note the node name that appears in the execution details, then go to that node first.
- Confirm: Check whether your environment forwards Docker logs to a central collector and who can query it.
Agree on a single place to search logs before the first incident, not during it.
In the hybrid model, the Shuffle frontend and backend run in Shuffle Cloud while a local Orborus runs in your network and starts the worker and app containers there. The execution record is visible in the cloud interface, but the container logs that show what the app actually did are on your side. Because the local Orborus needs no inbound firewall ports, it reaches out to the cloud for jobs, so debugging often means checking both sides of that connection.
- Cloud view: The execution list and details in the cloud show workflow steps and results, which is the first place to look.
- Local container logs: Worker and app container logs remain on your local host, so your team needs access to that host to read them.
- Orborus connectivity: A failed outbound connection or expired runtime setup shows as jobs that never start, so check the local Orborus logs first.
- Access split: Cloud administrators and local host operators hold different keys to the same incident, so agree on who collects what.
- Confirm: Verify that Orborus is connected to the correct cloud environment and confirm the retention period for cloud execution records with the vendor.
Note that container logs stay local even when the execution record is in the cloud.
With Kubernetes and Helm charts, the workers and app containers run as pods in the cluster, so their logs follow Kubernetes conventions. Pod logs are available only while the pod exists unless your cluster forwards them, which matters because short-lived app pods can disappear quickly after a run ends. Access depends on Kubernetes role-based access control and on how your platform team exposes logs.
- Pod logs: Use
kubectl logsagainst the worker and app pods, andkubectl describe podfor scheduling or image pull failures. - Ephemeral pods: Pods removed after completion take their logs with them unless a log collector has already shipped them.
- Access: Read access to pod logs is controlled by RBAC rules in the namespace, so confirm which roles can read the Shuffle namespace.
- Namespace scope: Keep Shuffle workloads in a dedicated namespace so log permissions can be granted narrowly.
- Confirm: Check your cluster log collector, retention window and the RBAC bindings for the Shuffle namespace with your platform team.
If logs are not collected centrally, a failed execution may be impossible to explain after the pods are gone.
Protecting execution data while debugging
Execution records, worker output and container logs are useful for finding a failure, but they can also hold alert contents, tokens and API keys. The cards below cover where that data sits, who can reach it, and how to clean it before it leaves your environment.
Execution records hold alert data
Every execution stores the input, the outputs of each action and the parameters the workflow passed to apps. For phishing or EDR playbooks, that often means email bodies, user names, hostnames and indicators tied to a live incident. Before you widen access to the execution list, decide which roles need full run detail and which need only the status and the failing step.
Saved credentials and encryption
Shuffle encrypts saved app credentials and API keys in OpenSearch with AES-256 using the SHUFFLE_ENCRYPTION_MODIFIER secret. Encryption protects stored app authentication, but it does not hide a secret that a workflow prints into an action result or a debug field. Check that workflows read credentials from saved authentication rather than pasting them into parameters.
Shuffle configuration docsLosing the encryption modifier
Debugging often involves rebuilding a stack or restoring data on a new host. If the encryption modifier is lost or changed, every saved app authentication stops working, and the failure looks like an app error. Record where the value is stored, keep it in your secrets system, and confirm it matches the original before you restore data to a new environment.
Docker socket access
Orborus starts worker and app containers, and access to the Docker socket is effectively control of the host. Anyone who can run docker commands or read container logs on a runtime node can also see app input and output in plain form. Limit shell and socket access to a small platform group, and review who holds it when you add runtime nodes.
Container logs as a data source
Worker and app container logs can record request bodies, response payloads and error messages that include tokens or record identifiers. Log collection systems usually copy these streams to a second location with its own retention and access rules. Confirm where your container logs are shipped, who can query them, and how long they are kept.
Scrubbing output before sharing
When you ask a vendor, a partner or a colleague for help, send the failing step name, the app name and version, and the error text with values removed, not a raw execution export. Replace alert contents, hostnames, tokens and identifiers with placeholders and keep a note of what was removed. Use a small, repeatable checklist so the same redaction happens on every ticket.
Questions teams ask before debugging Shuffle with outside help
How much effort does a Shuffle debugging engagement usually need?
Effort depends mainly on how many failing workflows there are, how many apps and external systems each one touches, and whether the failures share one root cause. A single broken authentication setting across several workflows is a short investigation. Intermittent failures under load, or failures spread across workers, Orborus nodes and app containers, take longer because each layer has to be ruled out. Ask any partner to base the quote on a written list of failing workflows, the apps they call and the environment (single server, Swarm, Kubernetes or hybrid), since those three factors set the scope. The quote should separate the diagnosis from any fix and any retest.
Can our own team debug Shuffle failures without outside help?
Often yes, for the common causes. Engineers who know the execution list, the workflow run debugger and the worker and app container logs can find problems such as a localhost URL in a parameter or a missing credential. The harder cases are failures inside the runtime, such as Orborus not picking up jobs, containers failing to start or OpenSearch under pressure, because they need access to the host and the Docker layer. A useful self-check is whether the team can reproduce a failure with a sample execution and read the logs for the failing step without guessing. If not, a short outside review can build that skill while it fixes the problem.
What do we need to provide for a Shuffle debugging review?
The review goes faster with a small set of inputs prepared in advance:
- Read access to the Shuffle execution list and the run details for failing executions, including the exact error text
- Container logs from the backend, the worker and the app containers involved, for the same time window
- The Shuffle version and the Docker tags in use, plus the deployment architecture
- A sample execution or exported workflow that reproduces the failure, with any sensitive values removed
- A description of the external systems each failing step calls, and who owns them
Secrets should never be shared in plain text. Confirm your data handling rules for logs before sending them to any outside party.
How long does it take to find a Shuffle workflow failure cause?
The time to a root cause depends on how reproducible the failure is and how much of the stack is involved. A failure that appears on every run and names a clear step in the run details is usually quicker to trace than one that appears only at peak load or after a configuration change. Access to logs for the exact time window, and a sample execution, shortens the search considerably. Changes that lengthen the work include multiple Orborus nodes, shared NFS storage, third-party APIs with rate limits, and workflows that were edited in several places. Ask for an estimate that names these factors instead of a single number.
Do debugging executions count toward Shuffle app runs?
Shuffle prices its licensing on app runs, which it defines as actions that actually execute in a workflow. Triggers and skipped actions are not counted. Each test run that executes actions therefore consumes app runs on the instance where it runs, so repeated debugging of a long playbook can add up. Plan test executions deliberately, use the skipped path where possible, and confirm the current counting rules and any limits for your edition with Shuffle's pricing article before a debugging session begins.
What should we do when the failing step depends on a third-party API?
Separate what Shuffle controls from what the API controls. Shuffle can show the request it sent, the status code and the response body, and the worker and container logs can confirm whether the call left the runtime. If the API returns an error, rate limit or changed response format, the fix sits with the API owner, the app definition or the workflow's handling of that response. Capture the failing request and response, check the API's status and change notes, and confirm credentials and permissions with the vendor. Error handling in the workflow should then fail visibly so the same problem does not stay hidden.
Will debugging expose our credentials or sensitive data?
It can if logs and execution details are shared without care. Shuffle stores saved app credentials encrypted with the SHUFFLE_ENCRYPTION_MODIFIER secret, but execution results and container logs may still contain sensitive values from a payload. Before any review, decide who can read execution details, redact tokens and personal data from exported logs, and avoid pasting full payloads into tickets. Changing or losing the encryption secret breaks saved authentications, so do not alter it while investigating. Confirm your data handling and access rules with any outside party before they see production data.
When an outside review pays off for Shuffle debugging
An outside review shortens diagnosis most when the same kind of failure keeps appearing across several workflows. A recurring pattern, such as the same app action failing in many playbooks, usually points to a shared cause like an expired credential in the app authentication settings, a changed API endpoint, or a localhost URL copied into a parameter. An experienced reviewer compares failed executions side by side in the execution list, checks which workflows share the same app authentication, and tests whether the fault follows the app or the workflow. Before the review, collect the execution IDs, the workflow names and the date the failures started, so the reviewer does not spend the first hours rebuilding that timeline.
Intermittent failures that track runtime locations are harder to see from inside one team. If some executions succeed and others fail with the same workflow, check whether the runs land on different Orborus nodes or worker locations, and whether those nodes can reach the same APIs and certificates. Failures that start right after an upgrade are another good reason to bring in a reviewer, because version changes can affect app containers, authentication handling and encryption settings in ways that are easy to miss when only the playbook is examined. Confirm with your own environment which versions were running before and after the change, and keep a copy of the configuration you had before upgrading.
Some incidents happen when the internal team cannot read the logs that matter, because container log access is limited to a platform group, the runtime sits in another business unit, or the people on call lack permission to the host. In those cases an outside reviewer with agreed access can read worker and app container logs under documented controls and report what they find. Agree in writing who will grant that access, how it is removed afterward, and how any secrets seen during the review are rotated. Outside review does not guarantee a root cause on a fixed date, because the outcome depends on what the logs and configuration still contain.
How DeployOpen scopes and delivers Shuffle debugging work
DeployOpen approaches Shuffle execution debugging as a written, bounded piece of work: we agree which failing playbooks and runtime components are in scope, trace each failure from the execution record to its cause, and hand back fixes with notes the owning team can reuse. Engagements are fixed-scope, so the scope, deliverables and timeline are agreed in writing before any investigation starts.
How we scope
- Agree in writing which playbooks, tenants and runtime locations are included in the debugging scope.
- Collect the failing execution IDs, workflow exports and the Shuffle version your instance runs.
- Confirm access to execution details, the workflow run debugger, and worker and app container logs.
- Define what counts as resolved, including whether a retest of each failing run is part of the work.
How we build
- Walk each failed execution step by step to separate workflow logic errors from app and runtime faults.
- Check suspected causes such as localhost URLs, missing authentication and wrong app versions against the live configuration.
- Apply fixes in the workflow or environment settings, keeping credentials in Shuffle's encrypted storage rather than in playbook text.
- Rerun affected executions in a test environment to confirm each fix before changes reach production.
How we hand over
- Deliver a written record of each root cause, the evidence used to confirm it, and the fix applied.
- Document the log locations, debugger steps and checks your analysts can repeat on future failures.
- Provide an updated workflow export and a list of configuration changes for your change record.
- Walk your operations team through the handover so they can run the debugging checklist without us.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after the fixed-scope work closes.
- Include a retest pass on previously failing playbooks when you upgrade Shuffle or change an app version.
- Agree response expectations and escalation paths in the retainer scope, confirmed in writing before work begins.
- Ask us to confirm the scope, deliverables and handover terms in your quote before committing.

