Tunnel already active. Stop the existing session or use another domain/subdomain/endpoint before starting a new tunnel.
FATA[12:00:00] Tunnel already active. Stop the existing session or use another domain/subdomain/endpoint before starting a new tunnel.
Request ID: 2008cc71bdf725853748bb91d69c4669
tuna CLI and Tuna Desktop show this error when starting a tunnel. The client doesn't reconnect; it exits right away. Older clients printed the short Tunnel already active and kept retrying in a loop, see common errors.
Causeโ
The address you asked for is already held by another active tunnel: a reserved subdomain (--subdomain), a custom domain (--domain), a TCP port or alias (--port), or an app domain. Only one tunnel can run on an address at a time.
Usually it's the same tunnel started a second time: in another terminal, on another machine, as a service, or via tuna start. Less often, the address is held by a tunnel that no longer works: the client hung or the machine was shut down without disconnecting.
When the client reconnects on its own after a dropped connection, there is no error: the server recognizes its previous tunnel and gives the address back to it.
What to doโ
- Open the tunnel list in the dashboard and find the tunnel with this address: it shows which machine started it.
- If you need that tunnel, don't start a second one. If you don't, stop its client or delete the tunnel right in the dashboard.
- To run another tunnel in parallel, use a different subdomain, domain, or port.
- Update the client to the latest version by following the instructions: older versions reconnect less reliably and leave stuck tunnels more often.