Troubleshooting#
This page lists common startup, readiness and client-access symptoms of a Live Edit deployment, what to check and how to fix them. It assumes a deployment installed as in Deployment; alerts and their runbooks are on Monitoring. Backing-store, capacity and rollout symptoms are on Troubleshooting the backing store, capacity and rollouts.
Startup and readiness#
Symptom |
Check and fix |
|---|---|
Pod restarts with |
Choose a durability mode (Startup durability check). |
Pod exits with |
The store failed, or could not run, the startup script check. Follow Startup check. |
Warning |
Expected on managed stores with checkpoints off. Confirm persistence in the provider’s console, or enable checkpoints. |
Pod stays unready |
Follow A pod stays unready. |
Warning |
The token provider has not written a readable file at the warning’s |
Warning |
The token provider refreshes after the token expires. With either |
Warning |
Some backing-store connections may reconnect once per token rotation. Raise the provider’s refresh lead to 7 minutes (Token file format), and keep |
Warning naming |
That mode is not supported and has no effect. Set |
Pod exits with |
The pod’s one startup read of whether the service is held failed after it connected to the backing store; Kubernetes restarts it, under its usual backoff. If several pods report it, check the store’s health and the network path to it. |
Pods turn unready and end their streams, with warning |
The pod could not read the backing store for 30 seconds. It keeps trying, with no time limit; once a read succeeds, a pod that is not held restarts, and a held one turns ready again while the hold lasts. If several pods report it, check the store’s health and the network path to it. If one pod stays unready while the others serve, delete that pod. |
Warning |
The replica read no memory limit and sized itself as a 5 GiB pod. By the warning’s |
Configuration errors#
Symptom |
Check and fix |
|---|---|
|
The chart refuses an inconsistent combination. Set the named value as the message says. |
Pod exits with a |
The memory limit is too small for the settings. Raise |
Pod exits with |
The settings need more memory than any limit gives. Lower the settings the error names: |
Pod exits with |
Set the collector URL to |
Pod exits with |
The setting was removed. Remove it from the pod’s environment (Removed settings). |
|
Remove the named value from your values file (Removed settings). |
|
Set |
Pod exits with |
|
Pod exits with |
|
A pod stays unready#
Read the server log with
kubectl logs {POD} -n storage-apis -c live-edit-service, and the token sidecar’s withkubectl logs {POD} -n storage-apis -c live-edit-service-token-provisioner.Valkey connect attempt failed, retrying: theerrorfield names the cause.A name-resolution error: the store’s host does not resolve from the pod. On Azure Managed Redis, link the
privatelink.redis.azure.netzone to the cluster’s virtual network (Connect the private network).A timeout or refused connection: a network rule blocks the store. On Azure Managed Redis, allow port 10000 and ports 8500–8599 outbound from the pods, including in your NetworkPolicy.
WRONGPASS: follow Troubleshooting WRONGPASS.
service token file still absent or unparseable: read the sidecar’s log.An Entra
AADSTS70021error means no federated credential matches the pod’s token: check the credential’s issuer (the cluster’s OIDC issuer URL), audience (api://AzureADTokenExchange) and subject, which must besystem:serviceaccount:{NAMESPACE}:{SERVICE_ACCOUNT}, wherekubectl get deployment live-edit-service -n storage-apis -o jsonpath='{.spec.template.spec.serviceAccountName}'prints the account.Any other error: the token provider’s configuration is invalid, or it writes to paths other than the chart’s token paths (Configure the token sidecar).
counter-seed counters-sidecar fetch failed: with checkpoints on, the pod cannot read the backup store. Check the service token and that the pod reachescheckpoint.storageApiEndpoint.None of these: check the startup refusals in Startup and readiness, Configuration errors and what readiness waits for in Health checks.
Clients and access#
Symptom |
Check and fix |
|---|---|
Uploads fail |
A client computes a large value’s hash or size wrongly. Until it is fixed, |
Uploads fail |
A client sends a delta over the per-delta limits (99,999 entries, or 100,000 children in one reorder). No setting raises them: the client must split its content into smaller deltas (the client API guide’s Deltas that are too large). |
A user whose access was revoked can still edit |
Access decisions are cached (User-token authorization), and streams are checked only when they open, so changes apply on reconnect. |
A participant who left stays shown |
Only clients that send |
|
Live clients may be removed falsely. Set |
|
The client may spell the path differently from the one the session was created under. The INFO line |
Inspect a deployment#
These commands read the deployment without changing it:
kubectl logs deployment/live-edit-service -n storage-apis -c live-edit-service --tail=100
kubectl describe pods -n storage-apis -l app.kubernetes.io/instance=live-edit-service
See next#
Troubleshooting the backing store, capacity and rollouts: backing-store, capacity and rollout symptoms.