Skip to content

Troubleshooting

Common issues and solutions when setting up or using Crow.

Gateway Issues

Gateway won't start

SymptomCauseFix
TURSO_DATABASE_URL not setMissing database configSet TURSO_DATABASE_URL and TURSO_AUTH_TOKEN in environment
Port already in useAnother process on port 3001Set PORT env var to a different port
Module not foundDependencies not installedRun npm install in the project root

Health check fails

Visit https://your-gateway.onrender.com/health — if it returns JSON with "status": "ok", the gateway is running. If not:

  • Check Render logs for startup errors
  • Verify environment variables are set correctly
  • Ensure the database is accessible

OAuth flow fails

SymptomFix
Redirect URI mismatchEnsure CROW_GATEWAY_URL matches your actual public URL
Token expiredRe-authorize the connection from your AI client
Client not registeredThe client should auto-register — check gateway logs for registration errors

Integration Issues

External tools not appearing

  1. Visit /setup to check which integrations are connected
  2. Verify the API key is set in your environment variables
  3. Check Render logs for connection errors from the proxy
  4. The proxy only starts integrations with valid API keys

Tool call errors

ErrorCauseFix
401 UnauthorizedInvalid or expired API keyUpdate the API key in environment variables
403 ForbiddenInsufficient permissionsCheck the API key's scope/permissions
Tool not foundIntegration not connectedCheck /setup page, ensure API key is set

Database Issues

Tables not created

Run npm run init-db to initialize the database schema. For cloud deployments, run this via the Render shell.

FTS search not working

The FTS5 virtual tables and sync triggers are created by init-db. If search returns no results:

  1. Check that the FTS tables exist: memories_fts, sources_fts
  2. Run npm run init-db to recreate them
  3. Note: Existing data will need to be re-indexed

Platform-Specific Issues

Claude: "Integration not responding"

  • Check gateway health endpoint
  • Render free tier services spin down after inactivity — the first request may take 30-60 seconds
  • Verify the URL in Claude settings matches your gateway URL exactly

ChatGPT: Connection fails

  • ChatGPT uses SSE transport — make sure you're using the /sse endpoint, not /mcp
  • Example: https://your-gateway.onrender.com/memory/sse

Cursor/Windsurf/Cline: MCP server offline

  • For local stdio: ensure node is in PATH and the server path is absolute
  • For remote HTTP: ensure the gateway URL is correct and accessible
  • Check the IDE's output/log panel for MCP-related errors

Getting Help

  • Check the GitHub Issues for known problems
  • Open a new issue with your gateway logs and the error message
  • Include which platform and transport you're using

Released under the MIT License.