Conversation
5e7639a to
7146d45
Compare
Automatic reconnection handling for 515 (restartRequired) during WhatsApp authentication. Retries up to 5 times with a restarting guard to prevent event-stacking. Co-authored-by: jnv22 <jnv22@users.noreply.github.com> From: https://github.com/gavrielc/nanoclaw/pull/63
|
@gavrielc Tom just finished a comprehensive Baileys deep-dive and wrote 38 WhatsApp connector tests (PR #182). Given that audit work, we think this PR's retry logic for 515 (restartRequired) disconnects is solid and worth merging — it handles a real reliability issue where WhatsApp servers periodically request client restarts. The diff is clean and only touches |
|
Hey @don7panic 👋 Thanks for this fix — WhatsApp auth reliability is critical! This was superseded by #443 (merged), which fixed connection issues by switching to We're adding Status: Pending Closure. Thanks for the contribution! 🙌 |
|
Update: Apologies for the previous comment — I incorrectly flagged this as superseded by #443. After reviewing more carefully, #443 fixed a different issue (405 connection failure via Removing the Status: Pending Closure label. Tom's recommendation from Feb 12 stands — this is worth a proper review. @gabi-simons tagging you as requested. |
Linux: systemd user service + linger Windows: Scheduled Task (fallback: Startup folder) Optional: --devtunnel <id> registers devtunnel service too Usage: nanoclaw service install [--devtunnel <tunnel-id>] nanoclaw service uninstall nanoclaw service status 344/344 tests pass. Co-authored-by: Kenan VM Claw <vm-claw@kenan.dev>
Type of Change
Description
Added automatic reconnection handling for WhatsApp authentication: