> Markdown version of https://tuna.am/en/docs/troubleshooting/errors/traffic-policy-only-on-paid-plans/. Documentation index: [llms.txt](https://tuna.am/en/llms.txt), full text in one file: [llms-full.txt](https://tuna.am/en/llms-full.txt). Any page is available as Markdown: append `.md` to its URL without the trailing slash.

# Traffic policy is available only on paid plans

```text
Traffic policy is available only on paid plans: https://my.tuna.am/subscription

```

tuna CLI shows this error when you start an HTTP tunnel with `tuna http` or a command built on it. The tunnel doesn't start, and the client exits right away. Without the interactive interface, for example in a service log or with `--log=stdout`, the line looks like this:

```text
FATA[12:00:00] Traffic policy is available only on paid plans: https://my.tuna.am/subscription

```

## Cause

[Traffic policies](https://tuna.am/en/docs/traffic-policy.md) require a subscription. After signing in, the client checks for rules (`rules`) and stops if the subscription isn't active.

Rules are read [from several places](https://tuna.am/en/docs/traffic-policy.md#policy-source):

* the `.tuna.yml` file in the current directory, read by default even without flags;
* the file from `--policy-file` or the `TUNA_POLICY_FILE` variable;
* the URL from `--policy-url`.

That's why the error often shows up when you start a tunnel from a project directory where a teammate has already put a `.tuna.yml`.

## What to do

1. Check whether there's a `.tuna.yml` in the directory you start the tunnel from, and whether `--policy-file`, `--policy-url` or `TUNA_POLICY_FILE` is set.
2. If you don't need the rules, start the tunnel from another directory or point to a file without rules: `--policy-file=/path/to/empty.yml`.
3. Run `tuna whoami` to check that the client is signed in to the account with the subscription.
4. If you need the rules, get a [subscription](https://tuna.am/#pricing) or renew it in the [dashboard](https://my.tuna.am/subscription?lang=en).
