> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tembo.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Troubleshooting

> Fix common problems with Tembo on Kubernetes.

Start with the pods and agent hosts:

```bash theme={null}
kubectl -n tembo get pods
kubectl -n tembo get tembohostpools,tembohosts
kubectl -n tembo logs deploy/tembo-api
```

Logs and boot output can contain configuration URLs or credentials. Redact them before you share them.

***

## Install

### A dry run fails on missing custom resources

`helm install --dry-run=server` can't install the chart's CRDs, so validation can fail on a fresh cluster. `helm template` also can't read `github.existingSecret`, `google.existingSecret` or `configSecrets`. Neither means the real install will fail. See [GitOps and helm template](https://docs.tembo.io/features/self-hosted/kubernetes/configuration.md#gitops-and-helm-template).

### On GCP, `kubectl` hangs

An IP endpoint with an empty authorized-networks allowlist can time out without an error. Fetch credentials for the DNS endpoint (see [Control-plane access](https://docs.tembo.io/features/self-hosted/kubernetes/gcp.md#control-plane-access)).

### `helm install --wait` times out

With Helm 4, don't pass `--wait` to the first install. See [Install the chart](https://docs.tembo.io/features/self-hosted/kubernetes/install.md#install).

***

## Agent hosts

### An agent host never becomes Ready

The controller replaces a host that doesn't register within 15 minutes. Read its boot log and look for `tembo-host-config`:

```bash theme={null}
# AWS
aws ec2 get-console-output --instance-id <instance-id> --latest

# GCP
gcloud compute instances get-serial-port-output <instance> \
  --project=<hosts-project> --zone=<zone> | grep tembo-host-config
```

Hosts must reach the cluster's API endpoint, and resolve and connect to the private `postgres.` and `redis.` hostnames. On GCP, check the private endpoint's authorized networks as well as firewall rules.

### Hosts don't launch

Check your cloud quota. Hosts beyond your quota don't launch. See [AWS quotas](https://docs.tembo.io/features/self-hosted/kubernetes/aws.md#quotas) or [GCP quotas](https://docs.tembo.io/features/self-hosted/kubernetes/gcp.md#quotas).

### "Host CPU count (…) is too small" or "Host total memory (…) is too small"

The session's size doesn't fit your hosts' instance type. See [Instance types](https://docs.tembo.io/features/self-hosted/kubernetes/configuration.md#instance-types).

***

## GitHub

### "Failed to get extra data for integration"

The GitHub App needs the **Members** organization permission. Set it to **Read-only**, approve the change on your organization's installation, then connect again.

### GitHub says it sent an installation request

Only owners of the GitHub organization can connect it.

### "Missing OAuth redirect URL" when connecting a personal account

The repository GitHub App doesn't enable personal accounts. Set up [GitHub sign-in and connected accounts](https://docs.tembo.io/features/self-hosted/kubernetes/authentication.md#github-sign-in-and-connected-accounts).

### The agent can't clone a repository

Enable it in **Settings > Repositories**.

### Webhooks never arrive

Check the GitHub App's **Advanced > Recent deliveries**. If GitHub can't connect, your Ingress, or the [public one](https://docs.tembo.io/features/self-hosted/kubernetes/networking.md#public-api-host), isn't reachable from the internet. If deliveries fail with a signature error, check the app's webhook secret against the one in your Secret, or the one `helm get notes tembo -n tembo` prints.

***

## Sessions

### Sessions fail with a provider `401`, or titles never appear

Check the selected agent's credentials, and the separate requirements for [internal prompts](https://docs.tembo.io/features/self-hosted/kubernetes/configuration.md#model-providers), in **Settings > Models**. A working provider for one agent doesn't authorize every model.

### Sessions fail at once, with "too many clients already" in the API's logs

Postgres is out of connections. See [Postgres and Redis](https://docs.tembo.io/features/self-hosted/kubernetes/configuration.md#postgres-and-redis).

### On GCP, agents fail with "Unable to connect" once a few sessions run

The agent host is out of Cloud NAT ports. Turn on [dynamic port allocation](https://docs.tembo.io/features/self-hosted/kubernetes/gcp.md#cloud-nat). The NAT's `dropped_sent_packets_count` metric with reason `OUT_OF_RESOURCES` confirms it.

***

## Users

### Inviting a teammate fails with "Organization member not found"

They need to sign up first, at `https://<your-host>/sign-up`.

### `account_not_linked` when switching to OAuth sign-in

See [Sign-in and registration](https://docs.tembo.io/features/self-hosted/kubernetes/authentication.md#sign-in-and-registration).

***

## Need Help?

If you run into any issues, contact [support@tembo.io](mailto:support@tembo.io).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.