Domain unavailable for free plan
FATA[12:00:00] Failed to get connection settings: Domain unavailable for free plan
Code: PaymentRequired
Request ID: 8a03f5d1c97e4b2a6f10e8c3d5b9a742
tuna CLI and Tuna Desktop show this error when you start a tunnel with the --domain flag. The client doesn't reconnect and exits right away.
Cause
On the free plan, the only address you can pass to --domain is your full free permanent subdomain, such as brave-otter-4821.a.tuna.free. The server returns this error for any other address:
- a custom domain, such as
api.example.com; - a tuna subdomain reserved under a subscription that has expired;
- another user's subdomain or an address that doesn't exist.
What to do
-
Find your free subdomain in Domains in the dashboard, and run
tuna whoamito check that the client is signed in to your account. -
Start the tunnel with it:
tuna http 8080 --domain=brave-otter-4821.a.tuna.free -
If the address doesn't matter, drop
--domain: the tunnel will get a dynamic address. -
Custom domains and subdomains with any name are available with a subscription.