Ragnarock
Troubleshooting

Common issues

Fixes for frequent setup and usage problems.

Cannot sign in

AI chat stuck or 202 never completes

Confirm Redis: redis-cli pingPONG.
Confirm agent: curl http://localhost:8100/health.
Check agent logs for LLM API key errors (LLM_PROVIDER, Gemini/Anthropic/OpenAI keys).

Verify stream names match between backend and agent .env (AI_REQUIREMENTS_QUEUE_*).

Ensure you are a project member with sufficient role.

OAuth (Google / GitHub) fails

CheckAction
Redirect URI mismatchRegister http://localhost:8000/api/auth/callback/{provider}
BETTER_AUTH_URLMust be http://localhost:8000, not the Next.js port
Client ID/secretSet GOOGLE_* or GITHUB_* in backend .env

Linear sync issues

  • Reconnect at /dashboard/organization/integrations
  • Confirm project link on .../linear page
  • Inspect GET /projects/:id/linear/sync-runs for last error
  • Webhooks require a public URL in staging/production

Documentation editor

  • Hard refresh after deploy
  • Confirm project membership
  • Check browser Network tab for 403 from ProjectMemberGuard

Docs site (this app)

IssueFix
Empty Cmd+K searchRun pnpm build once to index content
Ask AI errorsSet OPENROUTER_API_KEY in ragnarock-docs/.env.local
Mermaid blankHard refresh; toggle theme (diagram re-renders on theme change)

Still blocked?

Collect:

  1. API response body and status from Network tab
  2. Relevant backend log line (NestJS)
  3. Agent worker stack trace
  4. Output of pnpm docs:scan if the issue is missing documentation

Open an issue with these details in your team's tracker.

On this page