Documentation / Troubleshooting
Troubleshooting
Find the problem, then follow the fix. If nothing helps, check the daemon log and open an issue on GitHub.
macOS says the app is blocked
Section titled “macOS says the app is blocked”The app has no Apple Developer ID signature and is not notarized, so macOS blocks it the first time.
- Open Natamux once.
- Open System Settings → Privacy & Security and click Open Anyway.
If there is no button, remove the quarantine flag:
xattr -dr com.apple.quarantine /Applications/Natamux.appWindows says it protected your PC
Section titled “Windows says it protected your PC”The installer is not signed with a Windows certificate, so SmartScreen shows Windows protected your PC. Click More info, then Run anyway. Check the file against SHA256SUMS.txt first if you like; see Verify the download.
Smart App Control blocks Natamux
Section titled “Smart App Control blocks Natamux”Windows 11 can have Smart App Control on. It blocks every app that has no code signature, with no Run anyway button. Natamux is not code signed yet, so the installer and the app are blocked. The install command then says An Application Control policy has blocked this file.
To install Natamux, turn Smart App Control off: open Windows Security → App & browser control → Smart App Control settings and choose Off. On some Windows 11 versions you cannot turn it back on without a reset of Windows.
Windows says VCRUNTIME140.dll was not found
Section titled “Windows says VCRUNTIME140.dll was not found”Natamux 1.0.30 and older need the Microsoft Visual C++ runtime, which a new Windows install may not have. Then the app does not start after install, and Windows says The code execution cannot proceed because VCRUNTIME140.dll was not found.
Install the newest version of Natamux: it has the runtime built in. To keep an older version, install the Visual C++ Redistributable for x64, then start Natamux again.
Natamux is not in Installed apps on Windows
Section titled “Natamux is not in Installed apps on Windows”Natamux 1.0.31 and older do not add an entry to Settings → Apps → Installed apps (Windows 10: Apps & features), so you cannot see or uninstall Natamux there.
Quit Natamux and run the install command again. It installs the newest version over the old one and adds the entry. Your tasks and settings stay: they are in %LOCALAPPDATA%\Natamux (%APPDATA%\Natamux on an older install).
The AppImage does not start
Section titled “The AppImage does not start”An AppImage mounts itself with FUSE, which some systems do not have. Either install the .deb, or start the AppImage without FUSE:
./Natamux-linux-x86_64.AppImage --appimage-extract-and-run“command not found” when I start an agent
Section titled ““command not found” when I start an agent”Start agent types the agent’s command into the task’s terminal. If the program is not installed, or not on the PATH, the shell prints command not found.
The commands are claude, codex, gemini, copilot, cursor-agent, opencode, qwen, droid, amp, kimi, goose, aider, crush, cline, kiro-cli and muse.
-
Check in your own terminal:
command -v claude. -
Install the agent and log in to it once, outside Natamux.
-
If the program has another name or path, set
NATAMUX_<AGENT>_COMMANDfor the daemon, with<AGENT>one ofCLAUDE,CODEX,GEMINI,COPILOT,CURSOR,OPENCODE,QWEN,DROID,AMP,KIMI,GOOSE,AIDER,CRUSH,CLINE,KIROorMUSE:Terminal window export NATAMUX_CLAUDE_COMMAND=/opt/tools/claude -
Restart Natamux so the daemon gets the new variable.
The desktop app uses the PATH of your login shell. If you installed the agent after you opened the app, quit the app and open it again. Use NATAMUX_<AGENT>_ARGS to add options to an agent’s command line. See Environment variables.
The agent asks me to sign in
Section titled “The agent asks me to sign in”An agent that is not logged in shows its sign-in screen in the task’s terminal and waits. In the first 30 seconds after the start, Natamux sees that screen: the task moves to Needs input, and the sidebar and the stage card show the agent’s sign-in line and the terminal to open.
- Open the terminal the message names, and sign in there as the agent asks.
- The task goes back to Running when the agent starts work. If the agent shows an empty prompt, it lost the first prompt: send it again.
To skip this step for the next tasks, log in to the agent once in your own terminal.
“The agent ended right after it started”
Section titled ““The agent ended right after it started””The agent exited with an error in the first 30 seconds, before it reported anything. Some agents do this when they are not logged in; others when a flag in NATAMUX_<AGENT>_ARGS is wrong or the agent is too old. The task fails with the agent’s last line.
- Open the terminal the message names and read the agent’s output.
- Fix the cause: log in, update the agent, or change
NATAMUX_<AGENT>_ARGS(for a custom agent, its command in Settings → Agents). - Start the agent again with Start agent.
The dashboard rejects my token
Section titled “The dashboard rejects my token”The dashboard shows “The daemon rejected that token. Paste the token it printed when it started.”
- Desktop app: you are signed in automatically. If you see the token field anyway, quit and open the app again.
- Daemon you started yourself without
NATAMUX_TOKEN: the daemon makes a new random token on every run and prints it once. Use the one from the latest start, or setNATAMUX_TOKENto keep it. - CLI:
natamuxneedsNATAMUX_TOKENand, when the daemon is not onhttp://127.0.0.1:4317,NATAMUX_URL. The desktop app’s token is indaemon-tokenin its user data folder.
The port is in use
Section titled “The port is in use”- Desktop app: it uses port 4317 when free and any free port otherwise, so it starts anyway. The CLI looks at 4317 by default, so set
NATAMUX_URLto the real address. The log line “starting the daemon on port N” shows it. - Daemon you started yourself: set another port with
NATAMUX_PORT. - Only one copy of the desktop app runs. Opening it twice focuses the first window.
The daemon stopped
Section titled “The daemon stopped”The desktop app shows “The Natamux daemon stopped” with the last lines of the log, or “Natamux could not start its daemon”. Read those lines and the log. If a repository was moved, remove its project and add the new folder with File → Add Project….
A task does not change state while the agent works
Section titled “A task does not change state while the agent works”Natamux learns an agent’s state from its hooks. If the task stays “ready” or never reaches “needs input”:
- Start the agent with Start agent in the task, not by hand. Natamux adds the hook settings only for sessions it starts.
- Check that the
natamuxcommand exists in the task’s terminal:command -v natamux. The desktop app puts it first on the PATH. - Set
NATAMUX_DEBUG=1in the terminal to see why a hook did not arrive.natamux hookis silent otherwise and never blocks the agent. - A proxy on your machine can refuse calls to the daemon. Add
127.0.0.1toNO_PROXY.
Agents without hooks are followed by their output and bell. They can report with natamux ask and natamux done. See Agents and hooks.
Automated tests does not start
Section titled “Automated tests does not start”Automated tests is not in the default pipeline; you add it from the catalog. It starts when the whole group before it is done. If that group is Test spec and Implement, Test spec waits for your approval. Open the task, read test-spec.md in the Docs tab, and click Approve on the Ready for review: Test spec banner. See The review loop.
The review keeps sending the task back
Section titled “The review keeps sending the task back”By default the Review agent may send the task back to Implement any number of times. To stop the loop, set Agent send backs in project settings, for example to 2. The third time Natamux then refuses, and the task waits in Needs input with “Review sent the task back 2 times. Decide what to do.” Read review.md in the Docs tab, then:
- fix the code yourself, or type to the agent in Terminal 1, and press Mark as done on Review;
- Send back with your own reason, which has no limit;
- or Approve anyway when the findings do not matter.
After any of these, Review may send the task back up to the limit again.
To change who reviews, pick another Agent for Review in project settings.
Removing a workspace fails
Section titled “Removing a workspace fails”Natamux refuses to remove a worktree that has files not committed: “T-0001 has N changes that are not committed. Commit or discard them first”. Nothing is ended or deleted when this happens.
- Open the Changes tab.
- Commit the changes, or discard them in the terminal (
git restore .andgit clean -fdinside the worktree). - Remove the workspace again.
The branch is deleted only when git says it is fully merged (git branch -d). A branch that GitHub merged with a squash or a rebase also goes, when the task’s pull request is merged and origin has every commit of the branch. Otherwise it stays, and you delete it with git when you are sure. Deleting a task with the force choice deletes its branch, merged or not.
Push or pull request fails
Section titled “Push or pull request fails”- Push uses your own git login. For github.com it also asks
gh auth git-credential, sogh auth loginorGH_TOKENis enough. - Create PR needs the
ghcommand, logged in. It refuses when the task already has a pull request.
Where the logs are
Section titled “Where the logs are”| What | Where |
|---|---|
| Desktop app, daemon | logs/daemon.log in the user data folder, or File → Show Daemon Log. macOS: ~/Library/Application Support/Natamux. Windows: %LOCALAPPDATA%\Natamux (%APPDATA%\Natamux on an older install). Linux: ~/.config/Natamux |
| A task’s history | The Activity section in the Details view of the task, or natamux events T-0001 |