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.

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

Steps

  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.

  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.

  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.

  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.

  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.

  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.

  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

  • 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.

  • 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.

  • 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.

  • 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.

  • 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 guides

Updated . Something out of date? Write to [email protected]. Open Markdown version