Troubleshooting¶
Start with the checks below. They show most problems in a few minutes. Then find the problem in the list, or follow the case or request through the logs.
When an alert fires, its section in the alert runbook says what it means and what to do.
First checks¶
Are the services running? Admin > Settings > System info lists each worker and scheduler, when it was last heard from, whether its last pass failed, and its version. On Kubernetes,
kubectl get podsshows them too. Each service answers/healthz(alive) and/readyz(ready for work, which needs the database).Are the settings sound? Run
fa config checkwith the instance settings. It names every problem, including secrets that are named but missing, without showing their values.Is work moving? Admin > Settings > Queues shows open tasks, steps waiting to run and steps that failed. A failed step can be tried again there.
Did something change? Most problems follow a change: a new release, an upgrade, new settings, a changed secret or certificate, or a change in a system FlowAssembly calls. Build > Releases shows what was deployed and when.
Finding out what happened¶
To a case. Every log line about a case carries its
case_id, in every service. Search the logs for it. The case’s history, on its page, says in plain words who did what and when.To a request. Every log line carries
trace_id. With tracing on, the trace shows each step of the request, the background steps it led to, and the calls to other systems. For a slow step, add finer spans for a while (tracing.detail; see the runbook’s FlowAssemblyWebSlow section).What each log event means. What FlowAssembly reports lists every event and metric, with what it says and when to act.
Common problems¶
What people see |
Where to look |
What usually fixes it |
|---|---|---|
Nobody can sign in with their directory account |
Admin > Users > Authentication sources: Check the source with someone’s username. |
The directory’s address, certificate or service account password changed. For Active Directory in a forest of several domains, use a global catalog (port 3269). |
One person cannot sign in |
The |
Their directory account, or the access policy. The person is only told the sign-in failed. |
Someone cannot see a page, a project or a task |
Their roles: |
Give the role they need, or decide which of two roles kept apart they should hold. |
Notice emails do not arrive |
Admin > Email > Delivery log, and |
The mail server’s address, port, TLS or password. A person may also have turned notice emails off, or be out of office. |
A task or case is stuck |
The case page: what it is waiting for. Admin > Settings > Queues: failed steps. Supervision, for tasks no one has taken. |
Fix the other system, then try the step again. Pass a task to someone who is in. |
A call to another system fails |
|
The connection’s address, certificate or credentials for this environment ( |
Files are refused when people add them |
|
The virus scanner is not answering (see the FlowAssemblyFilesNotChecked alert), or the file is too large or of a kind the form does not take. |
A deployment is refused |
The refusal names the reason: no approval, an approver the directory no longer allows, a signature from a key the trust does not hold, or failed smoke tests. |
Approve the release again, ask an approver who may still approve, or change the trust with a signed trust change ( |
Pages are slow |
The FlowAssemblyWebSlow alert section, and the slow requests’ traces. |
More web replicas, a larger database, or the slow step the trace shows. |
A service will not start |
Its first log lines: |
The settings ( |
Something is wrong after an upgrade |
Go back to the previous images; the database does not need restoring. |
Asking for help¶
Send whoever supports your instance:
what people saw, when, and for which case or task (its id from the address bar);
the version (Admin > Settings > System info, or
fa --version);the log lines for that case or trace id, from each service;
the output of
fa config check.
Never send the secrets file, passwords or tokens. None of the above contains them: FlowAssembly does not write secrets or the values people enter into its logs.