Skip to Content
Acclimate
Operate

Troubleshooting

Symptoms you may see on the local stack, in a deployment, in a learning loop or on the executor, with the cause and fix for each.

Text in backticks is the exact code or message you see. For every code, see Error codes.

Local stack and SDK

SymptomCauseFix
An SDK call fails with transport.unreachable and Could not reach the Acclimate service while the stack runsThe shell does not trust the local certificateRun source .local/stack/env.sh in that shell. See Trust the local certificate.
job.expect() fails with HTTP 404 and Learning loop not enrolled, or the support agent example prints Learning is not set up for this bundleLearning is off for the bundleSave the settings on the bundle's Learning tab. See Run a learning loop.
On Linux, the Provider line of local:up says Verification failed for a provider on 127.0.0.1The containers reach it as host.docker.internal, which on Linux is the Docker bridge address, such as 172.17.0.1Make the provider listen on the bridge address. See Run learning rounds.

Deployment

SymptomCauseFix
A public hostname gives a TLS error, and docker compose logs proxy shows certificate errorsCaddy cannot get a certificate: DNS does not point at the server, or TCP 80 or 443 is not reachableFix DNS, the firewall or the load balancer. Caddy retries by itself.
Keycloak shows Invalid parameter: redirect_uriThe client's redirect URI is not exactly CONSOLE_ORIGIN plus /auth/callback. The realm import sets it only once, so a later console hostname change does not reach it.Correct the client's redirect URI in Keycloak.
Sign-in ends with Sign-in could not be completed. Check server configuration or start again.The console cannot reach the issuer, the client secret is wrong, or the issuer differs between the console, the service and discoveryCompare CONSOLE_OIDC_ISSUER, ACCLIMATE_OIDC_ISSUER and the discovered issuer character for character, and check the secret. See Use another OIDC provider.
The service stops at startup with another Acclimate service process owns the invitation queue, or exits with status 75A second service process uses the database, or a pooler runs in transaction modeRun one service per database, connected directly or in session mode.
The service exits with status 1 and logs while executing migrationA migration failed and was rolled back, so the database keeps its previous migrationFix the database error in the log, or roll back the upgrade.
The log shows migration <n> was previously applied but is missing in the resolved migrationsAn older build runs against a database a newer build migratedRun the newer build, or restore the dump taken before the upgrade. See Roll back an upgrade.
The service or the console stops at startup with has been removed, is obsolete or are obsoleteThe runtime file sets a removed variableDelete it.

Learning

SymptomCauseFix
Start is disabled and says the service has no optimizer model, or the API answers 409 optimizer-requiredThe service has no optimizerSet the optimizer model, or on the local stack connect a model provider.
Start is refused with tasks-required, or the loop pauses with that reasonA split has fewer than 20 admitted tasksAdd tasks, fix the ones set aside and confirm the held-out tasks, then choose Start.
Held-out tasks stay pendingThey wait for a signed-in person to confirm them. A machine token cannot.In the console, check Needs confirmation and choose Confirm all shown. See Review and confirm tasks.
A round fails with provider-unavailableEvery failed rollout of the current version was a model provider outage or rate limitWait for the loop to try again. If it keeps failing, check the provider's rate limits and lower the executor concurrency (deployment, local stack).

Executor and model provider

SymptomCauseFix
Imports and task checks stay queued, or the loop waits with no-executorNo executor is connectedStart the executor.
The executor keeps restarting with status 78. Its log starts with The service refused the executor credential, Cannot read the executor credential file, The executor credential is empty, Unsupported sandbox runtime, Inspecting the runner image or Sandbox preflight failed.Its credential, runner image or sandbox runtime is wrongSee Check the executor.
Start is refused with Verify the workspace model provider before startingThe executor has not verified every allowed model with a chat requestRead each model's result on the Model provider page and fix the base URL, API key or model IDs. See Connect a model provider.
A model fails verification with Upstream response is missing token usageIts replies report no token usageUse a model or endpoint that reports it. See Model provider.
Saving a model provider is refused with Plain HTTP is allowed only for hosts listed in ACCLIMATE_PROVIDER_HTTP_HOSTSThe host is not listedThe operator lists it. See Provider addresses.
The service does not start and logs ACCLIMATE_PROVIDER_ENCRYPTION_KEY does not matchThe key differs from the one the service first started withRestore the original key.

On this page