Troubleshooting
Common issues and how to fix them.
LLM Connection Issues
"LLM request failed with HTTP 401"
Your API key is missing or invalid. Check:
- The API key is entered correctly in the setup wizard
- For LM Studio: no API key is needed by default (leave blank or use
lm-studio) - For Ollama: any value works (
ollamais fine) - For cloud providers: verify the key is active in your provider dashboard
"LLM request failed — connection refused"
The LLM endpoint is not reachable. Check:
- LM Studio: the local server is running (Developer tab → Start Server)
- Ollama:
ollama listshows your models,ollama serveis running - Custom endpoint: the URL is correct and the server is running
- Try
curl http://127.0.0.1:1234/v1/modelsto test directly
"Model not found" or model not listed
The model name doesn't match what your endpoint expects. Check:
- LM Studio: the model filename in the Models tab (e.g.,
gemma-4-26B-A4B-it-UD-IQ4_XS.gguf) - Ollama:
ollama listfor exact model names - OpenAI: use
gpt-4o,gpt-4o-mini, etc. - Anthropic: use the full model ID like
claude-sonnet-4-20250514
LLM verification succeeds but chat times out
The model may be too slow for the default timeout. Try:
- Set
LLM_TIMEOUT_SECONDS=120in.env - Use a smaller/faster model
- For large local models (>20B), the first response can take 15-30 seconds
"Suitcase wants to chat" Button Not Appearing
This happens when setup isn't fully complete. Check the admin console — all required items (Profile, Resume, LLM) must show Complete.
If they are complete but the button still doesn't appear, try:
- Refresh the page
- Clear browser cache and session storage
- Re-verify the LLM endpoint from the admin console
Discord Bot Not Responding
- Verify
DISCORD_ENABLED=truein.env - Check the bot token is correct
- Confirm your user ID is
DISCORD_TARGET_USER_ID - Make sure the bot is invited to a server you're in
- Check the server logs:
tail -f /tmp/suitcase-server.log - In the admin console, the Synax Runtime must be running
Database Issues
"no such table" or corrupted database
bash
# Backup and reset
cp app/data/applications.db app/data/applications.db.bak
rm app/data/applications.db
# Restart the server — a fresh DB will be createdReset database from the UI
Admin console → Controls → Reset database → Confirm reset. This clears all data and reloads the page.
Frontend Build Issues
TypeScript errors during build
bash
cd frontend
rm -rf node_modules
npm install
npm run buildPort already in use
bash
# Find and kill the process on port 8000
lsof -ti:8000 | xargs kill
# Or on macOS/Linux
kill $(lsof -t -i:8000)Still Stuck?
- Check the server logs:
tail -f /tmp/suitcase-server.log - Run the smoke test:
bash scripts/smoke_test.sh - Check LLM health directly:
curl http://127.0.0.1:8000/api/health/llm - Open an issue with the error message and your configuration (redact API keys)