Skip to main content

Domain already reserved

When starting a tunnel:

FATA[12:00:00] Failed to get connection settings: Domain already reserved
Code: Forbidden
Request ID: 5c1f0e9a7b3d42e8a6f1c2d3e4b5a697

When reserving with tuna domain reserve:

Error: Domain already reserved
Code: EntryAlreadyReserved
Request ID: 5c1f0e9a7b3d42e8a6f1c2d3e4b5a697

tuna CLI, Tuna Desktop, and the dashboard show this error. The client doesn't reconnect; it exits right away.

Causeโ€‹

The name you specified is already taken. The error text tells you what holds it:

  • Domain already reserved โ€” the subdomain from --subdomain or tuna domain reserve is reserved by another user or team. When reserving, you get the same response for a custom domain that has already been added to Tuna or belongs to another team's zone.
  • Domain reserved โ€” the name is a system name or is not allowed for registration.
  • Domain already reserved by gateway โ€” the domain is bound to a gateway, so you can't start a tunnel on it.
  • Domain reserved by App โ€” the domain is bound to an app. A tunnel for an app is started with tuna app, not tuna http --domain.
  • Domain already reserved by tunnel โ€” the reverse case: you're binding a domain that has a running tunnel to a gateway or an app.

What to doโ€‹

  1. Check your domains in the dashboard or with tuna domain list. There may be a typo in the name, or the client may be signed in to someone else's account: tuna whoami will show which one.
  2. If the name isn't yours, pick another one.
  3. If the domain is taken by your gateway or app, start the tunnel on another domain or unbind the domain from the gateway or app.
  4. If the domain is taken by a tunnel, stop the tunnel and bind the domain again.