Skip to main content

Utila signing agent not signing

Diagnose and recover the customer-run Utila signing agent when transactions stay in AWAITING_SIGNATURE or stop signing.

A Utila transaction that DALP filed stays in AWAITING_SIGNATURE when the customer-run signing agent is down, misconfigured, quarantined or refused by DALP. Read the HTTP status the agent last received from DALP's decision route: 200 with signTransaction: true signs, 200 with signTransaction: false cancels the transaction at Utila permanently, and any other status leaves it pending.

This runbook covers incident diagnosis, containment and recovery only. For Helm values, image build, network policy, state architecture and initial setup, see Run the Utila signing agent from the Helm chart and Utila setup.

What each answer from DALP does to the transaction at Utila.The agent asks DALP about a held transaction. Three outcomes branch from the question. An accent arrow for a 200 answer with sign true leads to a box that says the agent signs. A second 200 answer with sign false leads to a box that says Utila cancels the transaction. A dashed arrow for any other status, 401, 409, 413, 400 or 503, leads to a box that says the transaction stays pending and the agent asks again.What each answer from DALP does to the transaction at Utila.The same figure as the desktop variant, drawn portrait. The agent asks DALP about a held transaction and three outcomes branch from the question down a left lane. A 200 answer with sign true means the agent signs and the transaction goes on. A 200 answer with sign false means Utila cancels the transaction and it is final. A dashed branch for any other status, 401, 409, 413, 400 or 503, means the transaction stays pending and the agent asks again.

A 200 answer with signTransaction true leads to a signature, false cancels the transaction at Utila, and every other status leaves it pending.

Symptoms

  • Work DALP designated to the Utila service account stays in AWAITING_SIGNATURE in the Utila console past your alert threshold.
  • A DALP approval or write through Utila fails as expired after its approval deadline.
  • The co-signer does not show as running under Vault Settings → API → Co-signers in the Utila console.
  • Agent logs show an error from DALP's decision route on every poll.

Checks

  1. Check pod status and recent logs. Confirm one pod is 1/1 Running and inspect its recent decision responses (never paste the full decision URL into a ticket because it ends in the agent secret):

    kubectl -n dalp get pods -l app.kubernetes.io/component=utila-signing-agent
    kubectl -n dalp logs -l app.kubernetes.io/component=utila-signing-agent --tail=100

    Because Utila exposes no liveness endpoint, a 1/1 Running pod can still be hung.

  2. Match the HTTP status from DALP's decision route against the table below.

Status from DALP
Meaning
Action
200 (signTransaction: true)
DALP filed this request and it matches. The agent signs.
Check key shares (utila keys download) if nothing signs.
200 (signTransaction: false)
The held request differs from what DALP filed in the named field. Utila cancels it permanently.
Do not retry. Compare the field, then file a new request.
401
Agent secret mismatch, unknown configuration, or quarantined configuration.
Compare Signing agent secret with the cluster Secret, and check quarantine.
404
Wrong dapiInternalUrl, path or secret (including URL-reserved characters /, ?, #, % or a trailing newline).
Verify dapiInternalUrl. Regenerate secret with openssl rand -hex 32.
409
DALP never filed this request through this configuration.
Investigate the originator. Keep the Utila service account dedicated to DALP.
413 or 400
Request body exceeds 64 KiB or is not a valid transaction.
Check Utila CLI version and any proxy between the agent and DALP.
503
DALP cannot read its database or secrets.
Check Platform API health (Platform API not ready). The agent retries.
  1. Check co-signer status in Utila. Open Vault Settings → API → Co-signers. If the co-signer is not running, check the service account key, outbound egress to api.utila.io and the state store.

  2. Check designated signers on the transaction. Utila sends only transactions listing the service account as a designated signer. Transfers created manually in the Utila console are never sent to the agent.

  3. Check the DALP custody configuration. Open Business operations → Custody and inspect the Utila configuration. Confirm it is not quarantined and Signing agent secret is configured.

Actions

  • Pod not running: Run kubectl -n dalp describe pod -l app.kubernetes.io/component=utila-signing-agent to check volume mounts (state store) or missing egress rules in utilaSigningAgent.networkPolicy.egress for Utila or KMS.
  • Status 401 or 404 (secret mismatch): Generate a clean hex secret (openssl rand -hex 32), update the cluster Secret with --from-literal=secret=<value> (never --from-file, which adds a trailing newline), paste the same value into Signing agent secret in Console, and restart the agent pod.
  • Configuration quarantined: Review the recorded actor and quarantine reason in DALP. Once the owner confirms the root cause is resolved, select Test connection and Recover execution with a reason.
  • Status 503: Restore Platform API health first. No change is needed on the agent.
  • Status 200 but nothing signs: Ensure key shares cover the target chain by re-running utila keys download for the device against the agent's state location.
  • Contain active incidents: Turn off New accounts to stop new wallet creation, or select Quarantine execution with a reason to stop all DALP filing and signing decisions (in-flight Utila transactions stay in Utila until expired or manually cancelled). Scale the agent to zero only after quarantining so new writes do not stall until deadline.

Roll back and de-enrol

  1. Quarantine the configuration first (Quarantine execution), then scale down or roll the agent image back by digest (the older pod resumes against existing state).
  2. If retiring an agent permanently, de-enrol the device in Utila separately. Deleting the Kubernetes Deployment does not revoke the key share.

Recover from revoked service account key

If Utila returns 401 with gRPC code 16 (no Utila code) or code 1002, Utila rejected the service account key. DALP automatically switches to the configured Standby private key (PEM) once and logs a warning (plain 401 or expired-token code 1001 mints a fresh token without switching keys).

To restore full redundancy:

  1. Promote the working standby key into Service account private key (PEM) in DALP and update the agent's UTILA_SA_KMS_KEY_URL or UTILA_SA_PRIVATE_KEY Secret, then restart the agent pod.
  2. Add a new standby key to the Utila service account (requires vault admin quorum) and save it in Standby private key (PEM) in DALP.
  3. Select Test connection and confirm a small test transaction signs.

Recover from state loss

The state store holds the device key and signing key shares. If it is lost and no snapshot or object-storage version exists, the agent cannot sign: register a new device, obtain vault admin quorum approval in the Utila mobile app, download key shares for every network, update utilaSigningAgent.deviceId and deploy (Run the Utila signing agent from the Helm chart).

Verify recovery

The co-signer reports running under Vault Settings → API → Co-signers, Test connection succeeds in DALP, and a small designated test transaction receives 200 (signTransaction: true) and signs.

Escalate

Escalate to your DALP support contact if 200 responses still fail to sign after utila keys download, or if logs show an unlisted status code. Include the configuration ID, Utila transaction status, status-table match, time window and redacted logs.

Redact before sharing: Strip vault IDs, service account emails, wallet resource names, addresses, signature bytes, the agent secret and the full decision URL from all tickets, logs and screenshots. Transaction hashes are public and safe to share.

Was this page helpful?