Environment:
⢠wacli version: latest (installed via brew)
⢠macOS on Mac mini (arm64)
⢠Store: ~/.wacli
Issue:
After successful QR authentication, wacli doctor shows:
AUTHENTICATED true
CONNECTED false
When trying to send a message:
wacli send text --to "+32473456559" --message "test" --timeout 20s --json
Error:
{"success":false,"data":null,"error":"failed to get user info for +32473456559@s.whatsapp.net to fill LID cache: failed to send usync query: context deadline exceeded"}
What I tried:
⢠Fresh QR scan authentication (works, shows AUTHENTICATED=true)
⢠Running wacli sync first (doesn't output anything, hangs)
⢠Shorter timeouts (same error)
⢠Different phone numbers (same error)
⢠The recipient number IS on WhatsApp (verified on phone)
Observations:
⢠wacli chats list works (returns existing chats from initial sync)
⢠wacli messages search works
⢠Initial history sync (900 conversations) completed after auth
⢠But CONNECTED never becomes true
⢠Send commands timeout waiting for connection
Question:
Is there a way to force connection before sending? Or is there a known issue with the connection staying alive after auth?