vastai-common-errors

Solid

Diagnose and fix Vast.ai common errors and exceptions. Use when encountering Vast.ai errors, debugging failed instances, or troubleshooting GPU rental issues. Trigger with phrases like "vastai error", "fix vastai", "vastai not working", "debug vastai", "vastai instance failed".

AI & Automation 2,266 stars 315 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Vast.ai Common Errors ## Overview Quick reference for the most common Vast.ai errors across CLI, REST API, and instance operations. Vast.ai uses HTTP status codes for API errors and instance status strings for machine-level issues. ## Prerequisites - Vast.ai CLI installed (`pip install vastai`) - API key configured ## Instructions ### API Errors | HTTP Code | Error | Cause | Fix | |-----------|-------|-------|-----| | 401 | Unauthorized | Invalid or missing API key | Verify with `vastai show user`; regenerate at cloud.vast.ai | | 403 | Forbidden | Insufficient balance or permissions | Add credits; check account restrictions | | 404 | Not Found | Instance or offer ID does not exist | Re-search offers; instance may have been destroyed | | 409 | Conflict | Offer already rented by someone else | Search again and pick another offer | | 429 | Rate Limited | Too many API requests | Wait 60s and retry with backoff | | 500 | Server Error | Vast.ai platform issue | Check status.vast.ai; retry after 5 minutes | ### Instance Status Errors | Status | Meaning | Action | |--------|---------|--------| | `loading` | Docker image downloading | Wait; large images can take 5-10 min | | `running` | Instance ready | Connect via SSH | | `exited` | Container stopped | Check logs: `vastai logs INSTANCE_ID` | | `error` | Provisioning failed | Destroy and try a different offer | | `offline` | Host machine went down | Destroy; provision on a different host | ### Common CLI Errors ```bash # Er...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
7 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category