Skip to main content

Subdomains unavailable for free plan

FATA[12:00:00] Failed to get connection settings: Subdomains unavailable for free plan
Code: PaymentRequired
Request ID: 5c1e9a4f0b7d23e86a4c91f2d0b8e317

tuna CLI and Tuna Desktop show this error when you start a tunnel with the --subdomain flag or the TUNA_SUBDOMAIN variable. The client doesn't reconnect and exits right away.

Cause​

On the free plan, the only name you can pass to --subdomain is your free permanent subdomain, such as brave-otter-4821. The server returns this error for any other name:

  • an unused name: you can only claim it with a subscription;
  • a subdomain you reserved earlier under a subscription that has since expired;
  • another user's subdomain.

Another possible cause is that the client is signed in to the wrong account: every account has its own free subdomain.

What to do​

  1. Open Domains in the dashboard. Your free subdomain is labeled "Free" and comes with a ready-to-use launch command.

  2. Run tuna whoami to check that the client is signed in to your account.

  3. Start the tunnel with that name:

    tuna http 8080 --subdomain=brave-otter-4821
  4. If the address doesn't matter, drop --subdomain: the tunnel will get a dynamic address.

  5. A subdomain with any name is available with a subscription.