2025-12-09 17:51:05 +00:00
---
summary: "How the macOS app reports gateway/Baileys health states"
read_when:
- Debugging mac app health indicators
2026-01-31 16:04:03 -05:00
title: "Health Checks"
2025-12-09 17:51:05 +00:00
---
2026-01-31 21:13:13 +09:00
2025-12-07 04:33:22 +00:00
# Health Checks on macOS
2026-01-13 08:25:22 +00:00
How to see whether the linked channel is healthy from the menu bar app.
2025-12-07 04:33:22 +00:00
2025-12-07 04:38:20 +00:00
## Menu bar
2026-01-31 21:13:13 +09:00
2025-12-07 04:38:20 +00:00
- Status dot now reflects Baileys health:
2025-12-07 04:33:22 +00:00
- Green: linked + socket opened recently.
- Orange: connecting/retrying.
- Red: logged out or probe failed.
2026-01-11 11:45:25 +00:00
- Secondary line reads "linked · auth 12m" or shows the failure reason.
2025-12-07 04:33:22 +00:00
- "Run Health Check" menu item triggers an on-demand probe.
2025-12-07 04:38:20 +00:00
## Settings
2026-01-31 21:13:13 +09:00
2025-12-07 04:38:20 +00:00
- General tab gains a Health card showing: linked auth age, session-store path/count, last check time, last error/status code, and buttons for Run Health Check / Reveal Logs.
2025-12-07 04:33:22 +00:00
- Uses a cached snapshot so the UI loads instantly and falls back gracefully when offline.
2026-01-17 01:13:13 +00:00
- **Channels tab** surfaces channel status + controls for WhatsApp/Telegram (login QR, logout, probe, last disconnect/error).
2025-12-07 04:33:22 +00:00
2025-12-07 04:38:20 +00:00
## How the probe works
2026-01-31 21:13:13 +09:00
2026-01-30 03:15:10 +01:00
- App runs `openclaw health --json` via `ShellExecutor` every ~60s and on demand. The probe loads creds and reports status without sending messages.
2025-12-07 04:33:22 +00:00
- Cache the last good snapshot and the last error separately to avoid flicker; show the timestamp of each.
2025-12-07 04:38:20 +00:00
## When in doubt
2026-01-31 21:13:13 +09:00
2026-01-30 03:15:10 +01:00
- You can still use the CLI flow in [Gateway health ](/gateway/health ) (`openclaw status` , `openclaw status --deep` , `openclaw health --json` ) and tail `/tmp/openclaw/openclaw-*.log` for `web-heartbeat` / `web-reconnect` .