Swarmtower

Troubleshooting

Known problems and how to fix them. Still stuck? Contact support.

A "login keychain" dialog the right password doesn't clear

A dialog such as "security wants to use the login keychain" keeps coming back on a host Mac, and typing your correct Mac password does not make it go away.

Why: the session's tmux server was started outside your desktop session, for example over SSH or before you logged in. macOS keeps the login keychain locked for everything inside that server, so each Claude Code session (and anything it runs) asks again. Your password is not wrong.

Fix: open Terminal on that Mac, run this and type your login password once:

tmux -L ab new-session -A -s unlock 'security unlock-keychain ~/Library/Keychains/login.keychain-db'

That unlocks the keychain for the sessions in that tmux server. A restart of the Mac fixes it for good, because the server then starts inside your desktop session.

The host can't start

The setup window says "The host can't start yet" and lists what is missing, each with its fix. The common ones:

  • tmux isn't installed. Every session runs in tmux. On a Mac: brew install tmux; on Linux: sudo apt install tmux or your system's package. Then choose Check Again.
  • Tailscale isn't running or isn't signed in. Open Tailscale and sign in (on Linux: sudo tailscale up). A host set up while Tailscale was installed keeps needing it. If you don't want Tailscale, uninstall it before you set up a new host, and that host uses the relay instead.
  • Allow Swarmtower in the background. macOS asks once: in System Settings › General › Login Items, turn on Swarmtower, then choose Check Again.

On a host without the app, swarmtowerd setup runs the same checks in Terminal and prints the next step.

"The service is running but locked"

Someone ran swarmtowerd lock, the host's kill switch. While it is locked no device can pair or connect. To unlock it, run on the host:

swarmtowerd unlock

You can read a session but not reply

Chat actions are off on that host, so your devices can read its sessions but not send messages or answers. They start off on a new host: swarmtowerd setup asks in Terminal, and the Mac's setup window shows the command. To turn them on, run on the host:

swarmtowerd actions on

Sessions started in Terminal don't show up

Plain claude shows up in Swarmtower only once setup routes it. Either start sessions with swtw-claude, or turn the routing on:

swarmtowerd setup -claude on

If your shell defines its own claude alias, the alias wins: use swtw-claude. New Session… in the app always works.

A session says Login expired

Claude Code on that host is no longer signed in. Open a terminal on the host, run claude and sign in again, then start the session again.

"Not on Tailscale, and the relay could not be reached"

The device is off your tailnet and could not reach the Swarmtower relay. Check the internet connection on the device and on the host. Related messages:

  • "relay paused until …": the relay's daily limit was reached; it comes back at that time.
  • "Relay: off (subscription)": the subscription or trial has ended. Hosts stay reachable over Tailscale, and local sessions keep working.

A Linux host's service isn't running

Find out why, then start it again:

journalctl --user -u swarmtowerd
systemctl --user restart swarmtowerd

To install the latest version at once, run the install command again: curl -fsSL https://swarmtower.dev/install.sh | sh.

Start a device over

Erase This Mac… or Erase This iPhone… in Settings makes the app forget its hosts, keys, sign-in and settings, as a fresh install, and opens the setup again. Then sign in with Apple and approve the device on another Admin device of your account. The sessions on your hosts keep running.

Before you erase, make sure another device stays an Admin. Only an Admin device can approve a device that signs in again. Settings › Account lists each device as Admin or Device; from an Admin, make another device one with ⋯ on its row › Make Admin. If the device you want to erase is your account's only Admin, don't erase it: nothing could approve it afterwards. If that has already happened, contact support.

Logs help support find a problem: a Mac host writes ~/Library/Logs/Swarmtower/swarmtowerd.log; a Linux host logs to journalctl --user -u swarmtowerd. See Support for what to send.