Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(troubleshooting): document WWEBJS_WEB_VERSION pin for sessions stuck at authenticating (#251)

rmyndharisf6c83bc3a024
diff --git a/.env.example b/.env.example
index 567551865..481927467 100644
--- a/.env.example
+++ b/.env.example
@@ -70,6 +70,7 @@ PUPPETEER_ARGS=--no-sandbox,--disable-setuid-sandbox,--disable-dev-shm-usage,--d
# https://github.com/wppconnect-team/wa-version (browse the html/ folder). Leave unset (or
# "latest") to let whatsapp-web.js auto-select. WWEBJS_WEB_VERSION_REMOTE_PATH overrides the
# URL template (use {version} as the placeholder) if you self-host the version HTML.
+# 2.3000.1023204257 is confirmed to reach "ready" (incl. ARM64 / Raspberry Pi 5) — uncomment it:
# WWEBJS_WEB_VERSION=2.3000.1023204257
# Observability — Prometheus scrape endpoint at GET /api/metrics.
diff --git a/docs/12-troubleshooting-faq.md b/docs/12-troubleshooting-faq.md
index e98801087..e86da208d 100644
--- a/docs/12-troubleshooting-faq.md
+++ b/docs/12-troubleshooting-faq.md
@@ -198,6 +198,27 @@ export PROXY_URL=http://proxy:8080
docker compose up -d
```
+### Issue: Session stuck at `authenticating`, never reaches `ready`
+
+**Symptoms:** After scanning the QR the phone links the device, but the session stays at
+`authenticating` indefinitely and never becomes `ready`. `GET /sessions/:id/qr` returns 400 while
+stuck. Often seen on ARM64 (e.g. Raspberry Pi) after upgrading to v0.2.x.
+
+**Cause:** whatsapp-web.js auto-selects a WhatsApp Web client version, and an incompatible version
+stalls the post-link sync. (The `chrome_crashpad_handler: --database is required` log is a separate,
+harmless line — Chromium still launches.)
+
+**Fix:** pin a known-good WhatsApp Web version with `WWEBJS_WEB_VERSION`:
+
+```bash
+# Confirmed to reach "ready" (incl. ARM64 / Raspberry Pi 5):
+WWEBJS_WEB_VERSION=2.3000.1023204257
+```
+
+Restart the container after setting it. Browse newer versions at
+[wppconnect-team/wa-version](https://github.com/wppconnect-team/wa-version) (the `html/` folder).
+Set `WWEBJS_WEB_VERSION=latest` (or leave it unset) to restore the default auto-version behavior.
+
### Issue: Frequent Disconnections
**Symptoms:**