Troubleshooting
Common issues and their solutions.
CLI Issues
Installation Fails
Problem: CLI installation script fails.
Solutions:
-
Check curl is installed:
curl --version -
Check write permissions:
# Try user-local installation mkdir -p ~/.local/bin export PATH="$HOME/.local/bin:$PATH" -
Manual installation: See CLI Installation for manual steps.
Command Not Found
Problem: onvera command not found after installation.
Solutions:
-
Check installation location:
which onvera # or ls -l ~/.local/bin/onvera -
Add to PATH: Add to
~/.bashrcor~/.zshrc:export PATH="$HOME/.local/bin:$PATH"Then reload:
source ~/.bashrc
<a id="authentication-fails"></a>
### Authentication Fails
**Problem:** `onvera auth login` fails.
**Solutions:**
1. **Check you're logged in at [onvera.io](https://onvera.io)**
2. **Try API key authentication:**
```bash
onvera auth login --token onv_sk_live_...- Check API key is valid:
- Verify key starts with
onv_sk_live_ - Check key hasn't been revoked
- Ensure key hasn't expired
- Verify key starts with
Deployment Fails
Problem: Deployment fails during creation.
Solutions:
-
Check operation status:
onvera ops get <operation_id> -
Check error message: The operation will include error details in the progress message.
-
Common causes:
- Resource limits exceeded
- Network connectivity issues
- Configuration errors
API Issues
401 Unauthorized
Problem: API returns 401 Unauthorized.
Solutions:
-
Check API key is correct:
echo $ONVERA_API_KEY -
Verify key format: Key must start with
onv_sk_live_ -
Check key hasn't been revoked: View keys in dashboard (opens in a new tab)
-
Check key hasn't expired: Expired keys cannot be used
403 Forbidden
Problem: API returns 403 Forbidden.
Solutions:
-
Check API key scopes: Your key may not have required permissions
-
Verify organization membership: Ensure you're a member of the organization
-
Check resource ownership: You can only access resources in your organization
429 Too Many Requests
Problem: API returns 429 Too Many Requests.
Solutions:
-
Reduce request frequency: Don't poll operations more than every 2 seconds
-
Implement exponential backoff: Wait longer between retries
-
Check rate limits: See Rate Limits for limits
Deployment Issues
Deployment Stuck in Provisioning
Problem: Deployment stuck in provisioning status.
Solutions:
-
Check operation status:
onvera ops get <operation_id> -
Check deployment progress: Review the operation details for specific error messages
-
Review operation details: Check the operation details for specific error messages and next steps
Deployment URL Not Working
Problem: Deployment URL returns error.
Solutions:
-
Verify deployment is ready:
onvera inspect <deployment_id>Status should be
ready -
Check subdomain: Subdomain may still be propagating (can take 5-10 minutes)
-
Try again later: DNS propagation can take time
Cannot Access Deployment
Problem: Cannot log in to deployed application.
Solutions:
-
Check user provisioning: Users are automatically provisioned when added to organization
-
Verify organization membership: Ensure you're a member of the organization
-
Check deployment status: Deployment must be
readybefore access