Docs

Help

Troubleshooting

Find the section that matches your symptom, then apply the fix. Most preview problems are the first three rows below.

Not an admin?

Preview and setup fixes need a workspace admin: the stack's Setup Preview and MCP tabs are admin-only, as are Restart Services and Replace Primary. Send them the task link and this page; don't debug alone.

Vocabulary for the fixes below: every task runs in a sandbox, a fresh copy of your stack's repositories built from a saved snapshot. Rebuild on the Snapshots page refreshes that snapshot; Replace Primary on the Sandbox tab also replaces the stack's primary sandbox with a fresh checkout.

Previews

Preview problems
SymptomLikely causeFix
Preview spins forever, shows a blank page, or never loadsThe dev server is bound to localhost, so the preview proxy can't reach itMake the service command bind 0.0.0.0; see the per-framework table
Agent finished but there's no preview linkNo services configured; agents run fine without a previewAdd a service on Setup Preview, or click Set up my preview
Service keeps crashing or restartingCommand exits (backgrounded with &, or wrong directory)Run it in the foreground; open View logs on the service; verify the working directory (first segment is the repository name, e.g. web or api/packages/backend)
Setup did not configure a service for an appThe app needs setup context, or conflicts with saved service settingsOpen Setup Preview and read any setup notice. Choose Set up my preview or Re-run setup, or edit the service command, port, and working directory in the form.
Preview worked earlier, now it won't respondThe sandbox can pause after inactivitySend the agent a follow-up; the sandbox wakes for the next turn. See what to expect from previews
"Preview ended" on an old link, or This preview has ended at the preview addressThe task is Done: its sandbox retires 7 days after creation, and its preview address stops serving once the task has gone 7 days without an updateReopen the task to bring the address back, or relaunch the agent on the task for a fresh preview
Preview loads but shows an error page at /Your app doesn't serve the root pathSet a starting preview path (e.g. /dashboard); see preview configuration
Can't sign in to your app inside the previewEvery task gets a fresh address, so OAuth providers won't redirect to it, and the sandbox database has no production accountsSign in with credentials that exist in the sandbox app (seed a test user); give the sandbox its own API keys. See the preview toolbar
Preview died during review with no code changeA production build overwrote the dev server's outputClick Restart Services on the stack's Sandbox tab; tell the agent to skip production builds

Best practices

  • Follow the three service rules: run in the foreground, bind 0.0.0.0, and start from the right directory. Nearly every preview failure traces back to one of them.
  • Read the logs before changing config: View logs in the preview toolbar shows the running service's output; the real error is usually printed there.
  • Give the sandbox its own credentials: separate API keys, a seeded test login, and its own database. Never point preview services at production.
  • Set a starting preview path: previews open (and readiness is judged) at that path, so pick a page that renders without extra clicks.

Setup & launches

Setup and launch problems
SymptomLikely causeFix
"Workspace setup failed" and tasks won't launchThe setup command failed while the task's sandbox was startingFix the command on Setup Preview, then relaunch the agent
Config changes don't seem to applySaves apply in the background: a size change rebuilds the snapshot, a setup-command change reruns setup, and other changes restart servicesWait for Services restarted on the setup card, or click Restart Services on the Sandbox tab or Rebuild on the Snapshots page
Saved an env var but the app still uses the old valueEnv changes apply without a rebuild, but not mid-turnWait for services to restart after saving; a running agent picks the change up on its next turn
A key the agent added to .env is gone next sessionFiles written inside a sandbox are scratch; sandboxes rebuild from the snapshotAdd it under Stack environment variables on Setup Preview so every sandbox gets it
Env var won't saveValues can't contain line breaks, and private keys often span several linesBase64-encode the value or put it on one line, and decode where the app reads it
GitHub says the account is already linkedThat GitHub identity belongs to another Gleamrun accountChoose another GitHub account, or select Move GitHub to this account. Review what the other account loses before confirming. Its workspaces and tasks stay there, but it loses GitHub sign-in and its GitHub tokens. The form may ask you to type the GitHub login to confirm.
You can't build until your preview is ready on New sessionThe stack's preview setup task is not Done yetChoose Finish setting up to open the setup session, or I don't have or need a preview to start the session anyway. The dialog shows once per stack
Repository missing when adding to a stackThe GitHub App isn't installed on it, or the installation isn't granted to this workspaceInstall the App on the repository from GitHub, then grant the account under Settings → Integrations; multi-repo tasks need the App on every repository in the group
Agent suddenly can't read a repository it used toThe GitHub App installation was suspended or removed on GitHubThe person who connected it repairs or un-suspends it under Settings → Integrations; only the installation's holder can
Port rejected when adding a serviceDuplicate port, or a reserved onePick an unused port; 49900, 49901, 49983, and 50005 are reserved
A repository skill isn't being appliedSkills in .agents/skills/, .claude/skills/, and .codex/skills/ are discovered during snapshot buildsClick Rebuild on the Snapshots page, then confirm the stack's Skills tab lists it. See repository skills

Best practices

  • Change one thing, then rebuild: after editing the setup command, click Rebuild on the Snapshots page and watch the build log before touching anything else, so you know which change broke or fixed it.
  • Prefer Restart Services over Replace Primary: the from-scratch rebuild replaces the stack's primary sandbox with a fresh checkout and rebuilds the snapshot; a restart only restarts its services.
  • Persist secrets in Setup Preview, not in the sandbox: the Stack environment variables list is the only place a value survives rebuilds and new tasks.
  • Expect size changes to apply gradually: the new size takes effect on future task turns once the snapshot rebuilds; in-flight tasks keep their current size until they finish.

Tasks & agents

Task and agent problems
SymptomLikely causeFix
The agent changed the wrong appTask created against the wrong stackCheck the stack shown in Create Task before pressing Start; recreate the task on the right one
The agent is heading the wrong wayAmbiguous requestSend a follow-up message to redirect it instead of stopping it. Next time, write a more specific prompt or plan first
Agent errored with a startup or connection messageThe sandbox was still booting, or the connection dropped mid-responseSend the message again; these are transient and retry safely
"Your workspace sandbox is restarting. Retry in a few minutes."The stack's primary sandbox is being upgraded or replacedWait a few minutes, then send the message or retry the action
The sandbox stopped responding mid-runA heavy command (full test suite, production build) ran the sandbox out of memoryRetry; if it recurs, raise Sandbox size on Setup Preview and wait for the snapshot rebuild, or ask the agent to run lighter checks
Turn stopped after about two hoursA single turn can run for about two hours before it is cappedSend a follow-up to continue; split large work into smaller tasks
Run finished but there's no pull requestThe agent finished without being asked to open one; the run is not stuckOpen the session and ask the agent to open one. See what a run produces
Agent stopped with a billing or usage messageCredits exhausted, or a problem with the workspace planReview Settings → Billing; some fixes need the workspace owner. See Billing & Seats
A queued follow-up shows Blocked and never sendsA plan, model, or credit check refused it; the queue keeps the message and shows the reasonFix the reason shown, then press Send now on the queued message or send a new one. Blocked messages do not retry on their own
Teammate accepted an invite but couldn't joinThe workspace is on the single-member Free plan, the invite is invalid, or membership needs attentionAsk an admin to check Settings → Team and resend the invite if needed. Free workspaces must upgrade to Pro. On Pro, a full workspace admits new members on free seats, without a card charge
Task B can't see task A's changesA’s changes are not part of B’s selected base branchMerge A into the shared base before launching B, or select A’s branch as B’s base before work starts. See Many Tasks, One Base
Two agents making conflicting changesTwo tasks launched at the same screen or featureLet one finish and merge, then start the next. See team norms for steering
Board looks empty, or tasks are missingA filter is active, or the task is in BacklogClick Clear filters; Backlog tasks appear in the list view; deleted tasks restore from Workspace Settings → Archived (ask an admin)

Best practices

  • Steer instead of restarting: a follow-up message redirects the agent and keeps everything it has learned; relaunching starts from scratch.
  • Go by the status pill, not the transcript: long silent gaps are normal while the agent works, and closing the tab never stops it.
  • One agent per area of the app: parallel tasks are safe when they touch different screens; two agents on the same screen produce work that collides. See picking an order.
  • Be specific in the prompt: a precise request prevents the wrong-direction runs above; for bigger or vaguer work, plan first.

Review & merge

Review and merge problems
SymptomLikely causeFix
Task is done but stuck in In ReviewThe pull request hasn't been mergedPing whoever holds merge rights; the task moves to Done when the PR merges
PR is open but the task still shows In ProgressThe pull request is a draft, or its agent is still activeClick Mark ready on the PR banner to remove the draft state at the provider. Draft PRs map to In Progress. A linked open PR moves to In Review after the active agent finishes. See how statuses move
A PR exists but the task doesn't show itThe pull request was not explicitly linked to the taskUse Link pull request in the task's More actions menu, or Link PR in the Review Hub
Merge blocked by conflictsThe branch drifted from main while other work mergedClick Resolve on the PR banner and confirm to request a repair. A person with merge permission can enable auto-merge to let the merge agent repair conflicts and merge once the requirements pass. Merge dependent tasks in dependency order to avoid repeats
Multi-repo task won't move to DoneStack tasks open one PR per repository they changeMerge every linked PR, or close the ones you don't need; the task turns Done once at least one has merged and none is still open
Teammate can't mergeThey're a Member (No Merge Permission)Ask an engineer to merge, or ask an admin to change the role; the restriction is intentional
Review found a problemA check or reviewer flagged something in the diffSend a follow-up to the agent from the Review Hub; it fixes on the same task and checks re-run

Best practices

  • Merge promptly and in dependency order: unmerged branches drift from main and cause the conflicts above.
  • Fix from the Review Hub: sending feedback to the agent keeps the fix on the same task and re-runs checks; patching locally leaves the task's history incomplete.
  • Don't merge on a red light: the Review Hub's readiness light reads Issues detected when a check failed or the branch conflicts. Work through the merge checklist first.

Integrations & MCP

Integration and MCP problems
SymptomLikely causeFix
Agent can't use an MCP app that's connectedManaged app connections are workspace-level, but each stack enables its ownEnable the app on the stack's MCP tab. See managed apps
Figma MCP stopped workingThe Figma app is disconnected or turned off for the stackClick Connect on Figma in the stack's MCP tab, then turn it on for the stack. See the Figma connector
Custom MCP server won't saveThe URL must be public HTTPS; localhost and private hosts are rejectedExpose the server on a public HTTPS endpoint, save it, then click Test tools on the server row. See custom servers
Connecting a managed app fails partwayThe authorization didn't complete on the provider's page (cancelled or interrupted)Retry Connect; once one admin connects it, the whole workspace has it
Linear statuses land in the wrong columnThe Linear team has no workflow state in the matching category, or a renamed review column broke the automatic matchAsk an admin to set an explicit mapping for that status under Settings → Integrations → Linear. See the Linear integration
The connecting Atlassian account is missing permissions: KEY (ASSIGNABLE_USER)The account being checked lacks a required permission on that projectGrant each permission named in brackets on that project. Reconnect Jira to check the connecting account, or re-save the service account to check that account. See Jira permissions
Verification screenshots are not appearing on the Jira ticketThe account writing the verification comment lacks Add CommentsFor a company-managed project, use Jira's Permission Helper for the connecting account. For a team-managed project, check its role under Space settings to Access. If a service account is configured, check both accounts. Grant the permission wherever it is missing. See Jira permissions
Two Gleamrun status or verification comments on one Jira ticketThe writing account changed: a service account was added, or the service account could not authenticate and Gleamrun wrote as the connecting accountCheck the service account under Settings to Integrations to Jira. The newer comment is the one Gleamrun updates; delete the older one
A Gleamrun status or verification comment on a Jira ticket stopped updatingThe account that wrote it lacks Edit Own Comments on that project, or the ticket is in a status that locks comment editsGrant Edit Own Comments to the writing account. See Jira permissions
Slack bot errors for a teammateThe bot matches Slack users to Gleamrun accounts by exact email, and the match must be a workspace memberMake their Slack profile email match their Gleamrun email, and invite them under Settings → Team. See the Slack integration
No option to connect an integrationConnecting is limited to owners and adminsAsk a workspace admin to connect it from Settings → Integrations

Best practices

  • Connect once, enable per stack: managed app connections belong to the workspace; each stack picks which apps its agents actually get.
  • Test custom servers right after saving: Test tools calls the server's tool list, so you see auth failures before an agent does.
  • One repair fixes it for everyone: Slack and Linear connections belong to the workspace, so any owner or admin can reconnect or remap them. GitHub App installations are the exception: only the account that holds the installation can repair it.

Page errors

  • Connection problem: check your connection and press Retry.
  • Couldn’t load this page: part of the app did not download. Press Reload, especially after an update.
  • Something went wrong or Server error: if the problem persists, send support the reference code shown on the page.

Notifications & subscriptions

Notification and subscription problems
SymptomLikely causeFix
No browser notificationThe browser or operating system has blocked notification permissionAllow notifications for Gleamrun, then check User Settings → Notifications
A notification opens the wrong or unavailable workspaceYou changed workspaces or no longer have access to the referenced itemSwitch to the workspace named in the notification; ask an admin if membership was removed
A personal subscription session pauses at its usage limitThe provider allowance is exhaustedChoose Continue on workspace credits to keep the same conversation and model when eligible. See subscription limits
"Your Claude connection expired" on a paused sessionAnthropic rejected the Claude subscription the session runs onThe session owner reconnects Claude in User Settings → Bring your own subscription, then sends a follow-up; the paused session moves to the new connection. A teammate cannot reconnect it for them
Pi is missing from Launch AgentPi appears only after you save a personal OpenRouter keyOpen User Settings → Bring your own subscription, save the key, and reopen the launch dialog
An automation reports a subscription or run-as failureIts run-as user lost access or disconnected the provider selected by the automationOpen Automations → Activity, inspect the reason, then update the run-as user or provider

See Agent Engines & Subscriptions for how personal connections and workspace billing differ.

Chat & plans

Chat and plan problems
SymptomLikely causeFix
Chat says code you just wrote doesn't existChat reads each repository’s configured base branch in the selected stackMerge the work first, or ask in the task's agent session instead. See what Chat can see
Your Chat thread link opens the Chat landing page for a teammateThreads are private by default, and a thread they can't see redirects thereAs the thread owner, click Private in the thread header and choose Shared (named members) or Workspace. See threads
Chat won't make the change it suggestedChat is read-only; writes are blocked at the runtimeChoose Create & launch on its proposal, or Create only and launch later
Plan handed off but nothing is happeningThe handoff creates a Todo task; no agent starts on its ownPress Launch Agent in the plan composer or task details. See the handoff

Best practices

  • Chat about merged reality, sessions about work in flight: Chat sees the stack’s configured base branches; the task’s agent session sees its working branch.
  • Start a new thread to change scope: the Stack selector locks once a thread has messages.
Need Help?

Email support@gleamrun.app, or book 15 minutes and we'll fix it together.