← Missions

[Fixed-Price] Fix 401 Stream Errored (conflict) in @whiskeysockets/baileys on Message Send

Budget: $500.0 FIXED / ⭐ 0.00 (0) Hong Kong

node.js, whatsapp

We are running into a serious 401 issue with Baileys v7.0.0-rc13. After linking a WhatsApp account as a device, sending the first message to a new number appears to succeed and we receive the message commit successfully, but shortly afterward the WhatsApp stream returns Stream Errored conflict, and the session ends with a 401 logout. We tested downgrading to rc8 as suggested in the related GitHub issue, but the same problem still happens. The behavior seems highly similar to Baileys issues 2248 and 2110, especially this one: https://github.com/WhiskeySockets/Baileys/issues/2110 OUR CURRENT WORKFLOW AND ARCHITECTURE: Connection Init: Load account auth state, build browser and version config, apply proxyAgent via agent and fetchAgent in makeWASocket(). Event Listeners: We listen to connection.update, messages.upsert, messages.update, message-receipt.update, creds.update, and lid-mapping.update. Sending Messages: We reuse the opened socket instance and call sock.sendMessage(jid, content). Disconnection Handling: In connection.update, we read lastDisconnect.error. If it is loggedOut, we mark it as invalid or 401. If it is a transient error, we close the current socket and schedule a reconnect. WHAT WE NEED AND PAYMENT TERMS: This is a FIXED-PRICE job. We do NOT pay by hourly rate. You will work with our dev team via TEXT CHAT ONLY (English or Chinese, NO calls). We can communicate directly on Upwork chat or a text platform of choice. We will release the escrow payment ONLY after the 401 conflict issue is successfully resolved and verified in our environment. If you have explicit experience fixing this specific Baileys protocol or session conflict bug, please apply with your initial thoughts!
Ouvrir sur Upwork