Skip to main content

Subdomain is already reserved for you

When starting a tunnel:

FATA[12:00:00] Failed to get connection settings: Subdomain is already reserved for you as myapp.nl.tuna.am. Delete it to reserve the name again. Or connect with the location of that name.
Code: BadRequest
Request ID: 3a7f1d9c2e8b4f60a5d1c3e7b9f2a4c8

When reserving with tuna domain reserve or in the dashboard:

Error: Subdomain is already reserved for you as myapp.nl.tuna.am. Delete it to reserve the name again.
Code: EntryReservedInOtherZone
Request ID: 3a7f1d9c2e8b4f60a5d1c3e7b9f2a4c8

For a TCP port, the same message starts with Alias is already reserved for you as <host>:<port>. The client doesn't reconnect; it exits right away.

Cause​

Subdomains and TCP ports used to be reserved in a region zone, ru or nl, for example myapp.nl.tuna.am. New names live in a shared zone. You can't have the same name or alias in two zones at once: otherwise a reconnecting tunnel would move to a different address.

The error means you're asking for a new name, but the exact same one is already reserved for you in another zone — the address in the message.

What to do​

  • To keep using the old address, start the tunnel with that address's region, for example tuna http 8080 --subdomain=myapp --location=nl. For TCP: tuna tcp 5432 --port=<alias> --location=nl.
  • To move to the new zone, delete the old name in the dashboard (ports are under TCP ports) or with tuna domain delete / tuna endpoint delete, then reserve it again.