Troubleshooting
Read the logs first
Pod logs include image pull progress, platform events and your container's stdout and stderr.
$ apipods logs pod_8f2k1x9q --followStuck in CREATED
- No host has a free GPU of that type in the requested region. Remove
regionIdor pick a similar GPU from the GPU reference. - An env value references a secret that does not exist. The logs show
secret HF_TOKEN not found. - A
networkVolumeIdpins the pod to one region. Check availability withapipods gpus list --region eu-nl-1.
Stuck in PROVISIONING
- Large images take time to pull the first time on a host. Images over 20 GB can take several minutes. Prefer slimmer images or the official ones, which are cached.
image pull failed: unauthorized: the image is private. Add a registry credential.manifest unknown: the tag does not exist or was built for ARM only. Build forlinux/amd64.
Container exits right away
A pod's container runs as long as its main process. If the command exits, the pod goes to EXITED. Common causes:
- The image has no long-running
CMD, for example a base CUDA image. SetstartCommandtosleep infinityor start a server. lastExitCode: 137: the process was killed for using too much RAM. Choose a GPU type with more system memory or lower your data loader workers.lastExitCode: 1or2: your program crashed; the stack trace is in the logs.
no_capacity when starting a stopped pod
The volume disk ties the pod to its host, and that host's GPUs are now used by someone else. Retry in a while, or copy your data off (the volume is still billed and intact) and recreate the pod. To avoid this in future, keep data on a network volume.
Ports and SSH
| Symptom | Fix |
|---|---|
| HTTP port returns 502 | Your server is not listening yet or listens on 127.0.0.1. Bind to 0.0.0.0. |
| HTTP request fails after about 100 s | The proxy closes idle requests. Stream the response or use a TCP port. |
Permission denied (publickey) | Your key was added after the pod started. Restart the pod or append it to /root/.ssh/authorized_keys. |
scp fails through the gateway | The gateway is shell-only. Expose 22/tcp and use full SSH. |
| Connection refused on the TCP port | The image does not run sshd, or the mapping changed after a restart. Re-read ports from the API. |
GPU problems
CUDA error: no kernel image is available: your PyTorch build does not support the GPU architecture. Blackwell GPUs such as the B300 need CUDA 12.8 or newer, whichapipods/pytorch:2.9.0-py3.12-cuda12.8.1includes.CUDA out of memory: lower the batch size, enable gradient checkpointing, or move to a GPU with more VRAM.nvidia-smishows fewer GPUs than expected: checkAPIPODS_GPU_COUNTand that you did not overrideCUDA_VISIBLE_DEVICES.
Suspect faulty hardware? Note the pod ID and the output of nvidia-smi -q and email support@apipods.com. We credit time lost to hardware faults. The number of GPUs you can run at once depends on your plan (Starter 10, Team 50, Enterprise custom concurrent GPUs); going over returns gpu_quota_exceeded.