# Read the proxy doctor output

Find out why the proxy doesn't connect. Run one command where the proxy runs, then fix the first line that fails, from a token file to a blocked network path.

## Before you start

### Intended audience

Admins and platform engineers who install or look after the proxy.

### Required permissions

You need permission to run a command in the container or the pod where the proxy runs.


## Procedure

<a id="step-run-the-doctor"></a>

1. **Run the doctor.** Run the doctor where the proxy runs. **Nothing after 5 minutes?** under **Check the connection** shows the command too.

   With Helm, run `kubectl -n tellagen exec deploy/tellagen-proxy -- /tellagen-proxy doctor`. With Docker, run `docker exec tellagen-proxy /tellagen-proxy doctor`. With Compose, run `docker compose exec tellagen-proxy /tellagen-proxy doctor`. Add `--json` for JSON.

<a id="step-read-the-status-words"></a>

2. **Find the first failure.** Each line starts with `[ok]`, `[warn]`, `[skip]` or `[fail]`, then the name of the check. Go to the first `[fail]` line and follow the lines under it. A `[skip]` line waits on a check that failed earlier, and a `[warn]` line doesn't fail the run.

<a id="step-fix-config-lines"></a>

3. **Fix the token files.** A `config` line checks the settings and the files the proxy reads. A missing or empty file means a wrong mount or file name. When the proxy can't read a file, run `chmod 0644` on the file, or make the user the line names its owner.

   A token that isn't whole was cut or quoted. Tellagen doesn't show a token again, so copy it from the file you saved, or select **Get a new token** in Tellagen.

<a id="step-fix-network-lines"></a>

4. **Fix the way to Tellagen.** The `dns`, `proxy`, `tcp` and `tls` lines follow the path to connect.tellagen.com. A failed `tcp` line means port 443 is blocked. Through a web proxy the `proxy` line takes its place: 407 needs a login and 403 needs an allow rule.

   A `tls` line that names an unknown authority means traffic inspection, so [add your company certificate](https://tellagen.com/help/connect-the-proxy-through-a-corporate-network).

<a id="step-fix-auth-lines"></a>

5. **Fix the token, clock and version.** The `auth` line says whether Tellagen accepted the token. For a revoked token, or a 401 after a rotation, put a new proxy token from Settings where the old one was. If Cloud diagnosis is off, the proxy waits until an admin turns it on.

   A `clock` line means this machine is more than 2 minutes off, so sync it with NTP. A `version` line means the image is too old.

<a id="step-fix-grafana-lines"></a>

6. **Fix the way to Grafana.** Inside a container, a localhost address in the `grafana` line points at the container itself, so use the address of the Grafana host. A 401 or 403 means a wrong or expired Grafana token. A warning about the role or the datasources is advice. See [the Grafana token guide](https://tellagen.com/help/create-the-grafana-token-for-the-proxy).

<a id="step-read-the-poll-line"></a>

7. **Check the running proxy.** The `poll` line asks the running proxy how it is. Before you start the proxy it's a `[skip]`, which is normal. A `[fail]` says why the proxy stopped. A warning means it switched to shorter requests, or isn't connected yet.

## What happens next

- Once the proxy runs and no line fails, the checks under **Check the connection** turn done by themselves. Setup finishes when the first four pass, even if **Datasources found** fails.

## FAQs

<a id="troubleshooting-the-command-fails-before-it-prints-anything-why"></a>

### The command fails before it prints anything. Why?

The container isn't running, or its name is different. Run `kubectl -n tellagen get pods`, `docker ps` or `docker compose ps` to find it first.

<a id="troubleshooting-the-first-failure-is-a-dns-line-what-do-i-check"></a>

### The first failure is a dns line. What do I check?

The machine can't find connect.tellagen.com. Check the DNS of the host or the pod. Through a web proxy this is only a warning, because the web proxy finds the name for the traffic to Tellagen.

<a id="troubleshooting-the-doctor-passes-but-tellagen-still-says-the-proxy-isn-t-connected-why"></a>

### The doctor passes, but Tellagen still says the proxy isn't connected. Why?

The doctor doesn't start the proxy. Check that the proxy runs and read its log, for example with `kubectl logs -n tellagen deploy/tellagen-proxy`. Tellagen shows the proxy as connected once it has asked for work in the last 45 seconds.

<a id="troubleshooting-can-i-send-the-report-to-support"></a>

### Can I send the report to support?

Yes. The report holds no token and no login. It holds a short hint of the token, file paths and internal addresses, so share it only with people who may see those.

<a id="troubleshooting-our-web-proxy-address-starts-with-https-or-socks5-why-do-tls-and-auth-skip"></a>

### Our web proxy address starts with https:// or socks5://. Why do tls and auth skip?

The doctor probes only a web proxy whose address starts with http://. For any other kind it skips the checks that go through it. Read the log of the proxy to see whether it connects.

## Related articles

- **Recommended next task:** [Install the proxy with Docker, Compose or Helm](https://tellagen.com/help/install-the-proxy)
- [Connect the proxy through a corporate network](https://tellagen.com/help/connect-the-proxy-through-a-corporate-network)
- [Set up Cloud diagnosis](https://tellagen.com/help/set-up-cloud-diagnosis)


## Continue through the incident lifecycle

- **Previous task:** [Connect the proxy through a corporate network](https://tellagen.com/help/connect-the-proxy-through-a-corporate-network)
- **Next task:** [What Tellagen receives in a Cloud diagnosis](https://tellagen.com/help/what-tellagen-receives-in-a-cloud-diagnosis)
- [Back to Support Center](https://tellagen.com/help#help-search)

## Updated

2026-11-25
