Troubleshooting
Sign-in and keys
Section titled “Sign-in and keys”| Symptom | Check | Fix |
|---|---|---|
401 unauthorized |
The key in Authorization is valid and not deleted. |
Sign in again with si login, or send a valid API key. |
401 on a preview script |
The request goes to a preview host with Authorization. |
Send the key in X-Si-Authorization on preview hosts. |
403 waitlist |
The account is waiting for approval. | Complete account approval. |
404 not_found for a VM |
The VM id and the active organization. | Use the VM id of the active organization. An unavailable VM gets the same answer. |
| A revoked key still works | Time since the revocation. | Wait up to 30 seconds. The gateway applies a revocation within that time. |
| A key cannot see a VM in another project | The key’s project scope. | Use an organization key without a project scope, or a key of that project. |
Scroll horizontally to see all columns.
See accounts and keys for which key to use.
Creating a VM
Section titled “Creating a VM”| Symptom | Check | Fix |
|---|---|---|
409 svm_limit |
The VM count of the organization against the plan. | Delete a VM you no longer use, or change the plan. |
403 size_not_allowed |
The RAM or tier of the create against the plan. | Create a shared VM of 2, 4 or 8 GiB, or change the plan. |
403 databases_not_allowed |
Databases against the plan. | Change the plan to create databases. |
503 no_capacity |
Whether the request is a create or a wake. | Retry later. Repeated allocation or restore failures need service support. |
409 dedicated_capacity |
A dedicated create or wake with no free core. | Create a shared VM, or wait for a core to be released. |
An error with a field member, such as invalid_request |
The field named in the error. | Correct that field and send the request again. |
403 inbox_not_allowed |
The plan of the organization. | Use a plan that includes email. |
403 public_ports_not_allowed |
The plan of the organization. | Use a plan that includes public web addresses. |
Scroll horizontally to see all columns.
Commands
Section titled “Commands”| Symptom | Check | Fix |
|---|---|---|
A command fails with an HTTP 200 |
X-Exit-Code, or the exit code from si exec. |
Check the command, its directory, its dependencies and the file permissions. |
X-Exit-Code: 124 |
The command reached its timeout. | Run longer work as a background job. |
X-Truncated: 1 |
Output was omitted at the output limit. | Write large output to a file, or read the log of a background job. |
| A task with external effects fails after a timeout | The job log and exit code. | Read them before you retry, so a second run does not repeat the effect. |
413 on a file or command |
The file limits and command limits. | Transfer part of the file with a byte range. |
404 for a file |
The path and its parent directories. | Correct the path. |
403 for a file |
The read, write and executable permissions. | Change the permissions for the user user. |
416 for a file |
The requested range against the file’s end. | Use a range that starts before the end. A job log can have no new output yet. |
503 for a file |
Whether the VM is still running. A saved file read can fail while it runs. | Retry the request. |
507 |
The disk is full. | Remove files you no longer need, or use another VM. |
svm proxy: cannot reach with host_blocked |
The network policy and the destination host. | Use a host the policy allows. |
Scroll horizontally to see all columns.
Web addresses
Section titled “Web addresses”| Symptom | Check | Fix |
|---|---|---|
| The preview says that nothing is listening | The server’s job log and its port. | Start the app on that port and serve HTTP there. |
401 for a closed port |
Whether you are a member of the VM’s organization. | Sign in as a member. |
401 this link expired |
The link’s age. | Create a new link. |
409 port_closed when you create a link |
The port’s access level. | Open the port before you create a link. |
A viewer cannot open an authenticated port |
The viewer’s member access or link. | Give member access, or send a valid link. |
| A long-lived connection closes | Traffic in the connection. | Send heartbeats within the connection idle limit. |
| A local client cannot reach a closed port | Whether the client needs a local address. | Use si port forward. It works on a closed port. |
409 port_limit |
The open ports of the VM against the plan. | Close a port you no longer use, or change the plan. |
Scroll horizontally to see all columns.
Sleep and wake
Section titled “Sleep and wake”| Symptom | Check | Fix |
|---|---|---|
| The VM sleeps during a long command that uses little CPU | Whether the command holds a lock. | Run it with keep-awake -- <command>. |
| The VM sleeps during an agent turn | The sleep policy. A timer sleeps the VM at its time even while a process runs. |
Use auto or on. The agent turn keeps an auto VM awake. |
| A timer or cron job inside the VM did not run | Whether the VM was asleep at the time. | Use a schedule. A sleeping VM runs no process. |
| A background job stopped at a sleep on disk | Whether the job’s process ended. The log stays on disk. | Start the job again, or hold the VM with keep-awake while it runs. |
| A connection ended after idle time | The connection ends when the VM sleeps. | Reconnect. The next request wakes the VM. |
| A tunnel into the VM does not reach it while it sleeps | Whether the VM is asleep. A tunnel daemon does not keep it awake. | Use a web address, which wakes the VM, or a schedule. |
| A service is not running after a wake | Whether the service declares a port. | Declare a port for the service. It resumes from memory. A service without a port starts again after a sleep on disk. |
| A process holds old tokens or connections after a wake | The state that the process keeps in memory. | Write progress to files, and make external effects safe to retry. |
503 wake_queue_full |
The Retry-After header. |
Wait for the remaining wake time, then retry. |
503 wake_timeout |
Whether the wake completed. | Retry later. The wake is not cancelled. |
503 not_ready |
The declared service and its readiness timeout. | Check the service’s log and its port. |
429 on a lifecycle request |
Another transition on the VM. | Wait for Retry-After, then retry. |
svm_crashed, or the VM is back at an older state |
The files and job logs. | Check files and job results before you retry. |
Scroll horizontally to see all columns.
Agents
Section titled “Agents”| Symptom | Check | Fix |
|---|---|---|
| The agent asks to sign in to its model provider | The agent’s own login or provider key inside the VM. | Configure the agent’s login inside the VM. Your SlashInfra key does not sign the agent in. |
| A private repository does not clone | The repository’s authentication. | Use the repository’s own authentication in the clone command. |
si agent send cannot find the session |
The session id against si agent sessions. |
Use a session id from the list. |
| A coding agent stops before it finishes | The sleep policy and any timer set on the VM. |
Use auto, so the agent’s model request keeps the VM awake. |
Scroll horizontally to see all columns.
See the Claude Code guide for the steps that create the session.