Help
Troubleshooting
Find the section that matches your symptom, then apply the fix. Most preview problems are the first three rows below.
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
| Symptom | Likely cause | Fix |
|---|---|---|
| Preview spins forever, shows a blank page, or never loads | The dev server is bound to localhost, so the preview proxy can't reach it | Make the service command bind 0.0.0.0; see the per-framework table |
| Agent finished but there's no preview link | No services configured; agents run fine without a preview | Add a service on Setup Preview, or click Set up my preview |
| Service keeps crashing or restarting | Command 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 app | The app needs setup context, or conflicts with saved service settings | Open 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 respond | The sandbox can pause after inactivity | Send 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 address | The 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 update | Reopen 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 path | Set a starting preview path (e.g. /dashboard); see preview configuration |
| Can't sign in to your app inside the preview | Every task gets a fresh address, so OAuth providers won't redirect to it, and the sandbox database has no production accounts | Sign 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 change | A production build overwrote the dev server's output | Click 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
| Symptom | Likely cause | Fix |
|---|---|---|
| "Workspace setup failed" and tasks won't launch | The setup command failed while the task's sandbox was starting | Fix the command on Setup Preview, then relaunch the agent |
| Config changes don't seem to apply | Saves apply in the background: a size change rebuilds the snapshot, a setup-command change reruns setup, and other changes restart services | Wait 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 value | Env changes apply without a rebuild, but not mid-turn | Wait 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 session | Files written inside a sandbox are scratch; sandboxes rebuild from the snapshot | Add it under Stack environment variables on Setup Preview so every sandbox gets it |
| Env var won't save | Values can't contain line breaks, and private keys often span several lines | Base64-encode the value or put it on one line, and decode where the app reads it |
| GitHub says the account is already linked | That GitHub identity belongs to another Gleamrun account | Choose 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 session | The stack's preview setup task is not Done yet | Choose 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 stack | The GitHub App isn't installed on it, or the installation isn't granted to this workspace | Install 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 to | The GitHub App installation was suspended or removed on GitHub | The person who connected it repairs or un-suspends it under Settings → Integrations; only the installation's holder can |
| Port rejected when adding a service | Duplicate port, or a reserved one | Pick an unused port; 49900, 49901, 49983, and 50005 are reserved |
| A repository skill isn't being applied | Skills in .agents/skills/, .claude/skills/, and .codex/skills/ are discovered during snapshot builds | Click 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
| Symptom | Likely cause | Fix |
|---|---|---|
| The agent changed the wrong app | Task created against the wrong stack | Check the stack shown in Create Task before pressing Start; recreate the task on the right one |
| The agent is heading the wrong way | Ambiguous request | Send 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 message | The sandbox was still booting, or the connection dropped mid-response | Send 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 replaced | Wait a few minutes, then send the message or retry the action |
| The sandbox stopped responding mid-run | A heavy command (full test suite, production build) ran the sandbox out of memory | Retry; 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 hours | A single turn can run for about two hours before it is capped | Send a follow-up to continue; split large work into smaller tasks |
| Run finished but there's no pull request | The agent finished without being asked to open one; the run is not stuck | Open the session and ask the agent to open one. See what a run produces |
| Agent stopped with a billing or usage message | Credits exhausted, or a problem with the workspace plan | Review Settings → Billing; some fixes need the workspace owner. See Billing & Seats |
| A queued follow-up shows Blocked and never sends | A plan, model, or credit check refused it; the queue keeps the message and shows the reason | Fix 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 join | The workspace is on the single-member Free plan, the invite is invalid, or membership needs attention | Ask 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 changes | A’s changes are not part of B’s selected base branch | Merge 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 changes | Two tasks launched at the same screen or feature | Let one finish and merge, then start the next. See team norms for steering |
| Board looks empty, or tasks are missing | A filter is active, or the task is in Backlog | Click 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
| Symptom | Likely cause | Fix |
|---|---|---|
| Task is done but stuck in In Review | The pull request hasn't been merged | Ping whoever holds merge rights; the task moves to Done when the PR merges |
| PR is open but the task still shows In Progress | The pull request is a draft, or its agent is still active | Click 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 it | The pull request was not explicitly linked to the task | Use Link pull request in the task's More actions menu, or Link PR in the Review Hub |
| Merge blocked by conflicts | The branch drifted from main while other work merged | Click 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 Done | Stack tasks open one PR per repository they change | Merge 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 merge | They'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 problem | A check or reviewer flagged something in the diff | Send 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
| Symptom | Likely cause | Fix |
|---|---|---|
| Agent can't use an MCP app that's connected | Managed app connections are workspace-level, but each stack enables its own | Enable the app on the stack's MCP tab. See managed apps |
| Figma MCP stopped working | The Figma app is disconnected or turned off for the stack | Click 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 save | The URL must be public HTTPS; localhost and private hosts are rejected | Expose 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 partway | The 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 column | The Linear team has no workflow state in the matching category, or a renamed review column broke the automatic match | Ask 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 project | Grant 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 ticket | The account writing the verification comment lacks Add Comments | For 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 ticket | The writing account changed: a service account was added, or the service account could not authenticate and Gleamrun wrote as the connecting account | Check 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 updating | The account that wrote it lacks Edit Own Comments on that project, or the ticket is in a status that locks comment edits | Grant Edit Own Comments to the writing account. See Jira permissions |
| Slack bot errors for a teammate | The bot matches Slack users to Gleamrun accounts by exact email, and the match must be a workspace member | Make their Slack profile email match their Gleamrun email, and invite them under Settings → Team. See the Slack integration |
| No option to connect an integration | Connecting is limited to owners and admins | Ask 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
| Symptom | Likely cause | Fix |
|---|---|---|
| No browser notification | The browser or operating system has blocked notification permission | Allow notifications for Gleamrun, then check User Settings → Notifications |
| A notification opens the wrong or unavailable workspace | You changed workspaces or no longer have access to the referenced item | Switch to the workspace named in the notification; ask an admin if membership was removed |
| A personal subscription session pauses at its usage limit | The provider allowance is exhausted | Choose Continue on workspace credits to keep the same conversation and model when eligible. See subscription limits |
| "Your Claude connection expired" on a paused session | Anthropic rejected the Claude subscription the session runs on | The 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 Agent | Pi appears only after you save a personal OpenRouter key | Open User Settings → Bring your own subscription, save the key, and reopen the launch dialog |
| An automation reports a subscription or run-as failure | Its run-as user lost access or disconnected the provider selected by the automation | Open 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
| Symptom | Likely cause | Fix |
|---|---|---|
| Chat says code you just wrote doesn't exist | Chat reads each repository’s configured base branch in the selected stack | Merge 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 teammate | Threads are private by default, and a thread they can't see redirects there | As 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 suggested | Chat is read-only; writes are blocked at the runtime | Choose Create & launch on its proposal, or Create only and launch later |
| Plan handed off but nothing is happening | The handoff creates a Todo task; no agent starts on its own | Press 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.
Email support@gleamrun.app, or book 15 minutes and we'll fix it together.