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.
Steps
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, rundocker exec tellagen-proxy /tellagen-proxy doctor. With Compose, rundocker compose exec tellagen-proxy /tellagen-proxy doctor. Add--jsonfor JSON.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.Fix the token files
A
configline 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, runchmod 0644on 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.
Fix the way to Tellagen
The
dns,proxy,tcpandtlslines follow the path to connect.tellagen.com. A failedtcpline means port 443 is blocked. Through a web proxy theproxyline takes its place: 407 needs a login and 403 needs an allow rule.A
tlsline that names an unknown authority means traffic inspection, so add your company certificate.Fix the token, clock and version
The
authline 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
clockline means this machine is more than 2 minutes off, so sync it with NTP. Aversionline means the image is too old.Fix the way to Grafana
Inside a container, a localhost address in the
grafanaline 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.Check the running proxy
The
pollline 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 psordocker compose psto 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
Did this help?
Updated . Something out of date? Write to [email protected]. Open Markdown version