Skip to content

docs: Add comprehensive FAQ for common issues#312

Open
vincent067 wants to merge 1 commit intoabhi1693:masterfrom
vincent067:docs/gateway-websocket-improvements
Open

docs: Add comprehensive FAQ for common issues#312
vincent067 wants to merge 1 commit intoabhi1693:masterfrom
vincent067:docs/gateway-websocket-improvements

Conversation

@vincent067
Copy link

Hi @abhi1693! 👋

I've put together a comprehensive FAQ document based on the common issues I've seen in the GitHub issues and my own experience setting up Mission Control.

What's included

New FAQ (docs/troubleshooting/faq.md)

  • General Questions: Explains the relationship between OpenClaw and Mission Control
  • Installation & Setup: Docker issues, token generation, upgrades
  • Gateway Configuration: Step-by-step connection guide, ws:// vs wss://, self-signed certs
  • Authentication Issues: Token drift, 401 errors, LOCAL_AUTH_TOKEN vs Gateway Token
  • Connection Problems: Frontend/backend connectivity, CORS, Docker networking
  • Agent & Board Issues: Stuck provisioning, offline agents, permission errors
  • Performance & Scaling: Optimization tips, backups

Updated Troubleshooting Index

  • Added quick reference table for common issues
  • Better navigation between troubleshooting guides
  • Links to relevant resources

Issues addressed

This FAQ should help users with:

Testing

  • Markdown renders correctly
  • Links work properly
  • Code blocks are syntax-highlighted

Let me know if you'd like any changes! Happy to iterate on this. 🙏


Type: Documentation improvement
Breaking changes: None

…ing index

Add a new FAQ document covering common setup, configuration, and usage
questions for OpenClaw Mission Control. The FAQ addresses issues seen
in recent GitHub issues including:

- Gateway connection problems (abhi1693#298, abhi1693#296)
- Authentication and token issues
- Board onboarding stuck (abhi1693#293)
- Agent offline troubleshooting
- Performance and scaling questions
- Docker-specific configuration

Also update the troubleshooting README to provide a quick reference
table and better navigation to the detailed guides.

The FAQ is organized by topic with clear symptoms, solutions, and
command examples to help users self-diagnose and fix common issues.

Tested: Documentation renders correctly in Markdown viewers.

Related issues: abhi1693#298, abhi1693#296, abhi1693#293, abhi1693#304
Copilot AI review requested due to automatic review settings March 24, 2026 19:13
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new troubleshooting FAQ to the documentation to help users resolve common setup/connectivity/auth/worker issues when running OpenClaw Mission Control, and updates the troubleshooting index to improve navigation.

Changes:

  • Introduces docs/troubleshooting/faq.md with common issues, checklists, and operational tips.
  • Updates docs/troubleshooting/README.md to link the FAQ and add a quick-reference table.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
docs/troubleshooting/faq.md New comprehensive FAQ covering setup, gateway connectivity, auth, worker/redis checks, and scaling/backups.
docs/troubleshooting/README.md Reworks troubleshooting index with links and a quick-fixes table for faster triage.

1. **Check your token**:
```bash
# Test your token
curl -H "Authorization: Bearer YOUR_TOKEN" http://localhost:8000/api/v1/health
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/api/v1/health does not appear to be a valid endpoint in this repo (service health endpoints are /health and /healthz, and the authenticated user bootstrap endpoint is /api/v1/auth/bootstrap). This curl example will 404, so readers won’t be able to validate their token as written.

Suggested change
curl -H "Authorization: Bearer YOUR_TOKEN" http://localhost:8000/api/v1/health
curl -H "Authorization: Bearer YOUR_TOKEN" http://localhost:8000/api/v1/auth/bootstrap

Copilot uses AI. Check for mistakes.
Comment on lines +311 to +316
# You should see: backend, frontend, db, redis, worker
```

2. **Check worker logs**:
```bash
docker compose logs -f worker
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The compose service is named webhook-worker (see compose.yml), not worker. As written, this checklist will confuse users because docker compose logs -f worker won’t work and docker compose ps won’t show a worker service.

Suggested change
# You should see: backend, frontend, db, redis, worker
```
2. **Check worker logs**:
```bash
docker compose logs -f worker
# You should see: backend, frontend, db, redis, webhook-worker
  1. Check worker logs:
    docker compose logs -f webhook-worker

Copilot uses AI. Check for mistakes.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should also add worker container to docker compose since it's not yet added.

3. **Redis connectivity**:
```bash
# Verify Redis is accessible
docker compose exec backend redis-cli -h redis ping
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redis-cli isn’t installed in the backend image (Dockerfile only installs curl/ca-certificates/git), so docker compose exec backend redis-cli ... will fail. Use docker compose exec redis redis-cli ping (or equivalent) to validate Redis connectivity.

Suggested change
docker compose exec backend redis-cli -h redis ping
docker compose exec redis redis-cli ping

Copilot uses AI. Check for mistakes.
Comment on lines +337 to +341
1. **Check the agent provisioning flow**:
```bash
# View logs
docker compose logs -f worker | grep lifecycle
```
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This references docker compose logs -f worker, but the service is named webhook-worker in compose.yml. The command will fail as written.

Copilot uses AI. Check for mistakes.

4. **Worker scaling**: For high task volume, you can run multiple workers:
```bash
docker compose up -d --scale worker=3
Copy link

Copilot AI Mar 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

docker compose up -d --scale worker=3 won’t work with the current compose file because the worker service is named webhook-worker. Update the example to scale the correct service.

Suggested change
docker compose up -d --scale worker=3
docker compose up -d --scale webhook-worker=3

Copilot uses AI. Check for mistakes.
Copy link
Owner

@abhi1693 abhi1693 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work this documentation. I think if you can check the issues raised by copilot and add the worker container that you have mentioned in your docs, this is good to be merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants