agus amin Posted September 16 Share Posted September 16 Yang error setelah update cek file .ENV WA_URL_SERVER pastikan port tidak ganda Quote Link to comment Share on other sites More sharing options...
badas Posted September 16 Share Posted September 16 Baru saja update ke versi 8.5.0, update lancar. Dapat bug ketika campaign pakai theme snacked admin tidak bisa Setelah switch ke dua thema lainnya berjalan normal. Nunggu apakah nanti nodejs akan idle/stop seperti sebelumnya. Terima kasih master @Magd Almuntaser Quote Link to comment Share on other sites More sharing options...
Unicode Posted September 16 Share Posted September 16 6 hours ago, pak kacung said: Rekomendasi pakai node js versi berapa tuan? V19 keatas. 45 minutes ago, pak kacung said: Button ini belum berfungsi Ini akan di fix di versi 8.5.1 nanti Quote Link to comment Share on other sites More sharing options...
Unicode Posted September 16 Share Posted September 16 5 minutes ago, badas said: Baru saja update ke versi 8.5.0, update lancar. Dapat bug ketika campaign pakai theme snacked admin tidak bisa Setelah switch ke dua thema lainnya berjalan normal. Nunggu apakah nanti nodejs akan idle/stop seperti sebelumnya. Terima kasih master @Magd Almuntaser Punyaku sudah 7 jam aman ini no idle lagi. Tidak pake cron job dll. Sepertinya memang theme snacked akan dihapus di versi 9 nantinya. Karena akan merepotkan mengedit 3 theme setiap versi. semoga masuk list fix di versi 8.5.1 Quote Link to comment Share on other sites More sharing options...
badas Posted September 16 Share Posted September 16 2 minutes ago, Unicode said: Punyaku sudah 7 jam aman ini no idle lagi. Tidak pake cron job dll. Sepertinya memang theme snacked akan dihapus di versi 9 nantinya. Karena akan merepotkan mengedit 3 theme setiap versi. semoga masuk list fix di versi 8.5.1 Semoga aman mas bro Quote Link to comment Share on other sites More sharing options...
agus amin Posted September 16 Share Posted September 16 20 minutes ago, Unicode said: V19 keatas. Ini akan di fix di versi 8.5.1 nanti AI dan tombol di menu Auto Replay jalan om? Tempat saya gk jalan Quote Link to comment Share on other sites More sharing options...
Unicode Posted September 16 Share Posted September 16 Just now, agus amin said: AI dan tombol di menu Auto Replay jalan om? Tempat saya gk jalan Jalan. Tadi aku sempat gitu, di nomer 1 gk jalan tapi di nomer 2 -3 jalan. coba aja logout nomernya lalu scan ulang biar jalan. Quote Link to comment Share on other sites More sharing options...
agus amin Posted September 16 Share Posted September 16 Just now, Unicode said: Jalan. Tadi aku sempat gitu, di nomer 1 gk jalan tapi di nomer 2 -3 jalan. coba aja logout nomernya lalu scan ulang biar jalan. Ok tak test Quote Link to comment Share on other sites More sharing options...
Pebrian Posted September 16 Share Posted September 16 (edited) Cari code tersebut di whatsapp.js sock[token].ev.on('connection.update', async (update) => { lalu rubah code tersebut sampai code } }); ke code ini sock[token].ev.on('connection.update', async (update) => { const { connection, lastDisconnect, qr } = update; if (qr) { try { const url = await QRCode.toDataURL(qr); qrcode[token] = url; socket?.emit('qrcode', { token, data: url, message: 'Scan this QR code with your WhatsApp' }); } catch (err) { console.error('QR Code generation failed:', err); } } if (connection === 'close') { const disconnectError = lastDisconnect?.error; if (disconnectError instanceof Boom && (disconnectError.output.statusCode === 403 || disconnectError.output.statusCode === 428)) { setStatus(token, 'Disconnect'); console.log(`Connection closed with status code ${disconnectError.output.statusCode}. You are logged out.`); socket?.emit('message', { token, message: `Connection closed with status code ${disconnectError.output.statusCode}. You are logged out.` }); await clearConnection(token); clearInterval(reconnectInterval); reconnectInterval = null; } else { const shouldReconnect = disconnectError instanceof Boom && disconnectError.output.statusCode !== DisconnectReason.loggedOut; console.log('Connection closed due to', lastDisconnect?.error, 'Reconnecting:', shouldReconnect); if (shouldReconnect) { if (!reconnectInterval) { reconnectInterval = setInterval(() => attemptConnection(), 10000); } } else { setStatus(token, 'Disconnect'); console.log('Connection closed. You are logged out.'); socket?.emit('message', { token, message: 'Connection closed. You are logged out.' }); await clearConnection(token); clearInterval(reconnectInterval); reconnectInterval = null; } } } else if (connection === 'open') { setStatus(token, 'Connected'); console.log('Connected successfully!'); const userId = `${sock[token].user.id.split(':')[0]}@s.whatsapp.net`; const ppUrl = await getPpUrl(token, userId); socket?.emit('connection-open', { token, user: sock[token].user, ppUrl }); delete qrcode[token]; delete pairingCode[token]; clearInterval(reconnectInterval); reconnectInterval = null; } }); menambahkan status Disconnect jika terdapat error 403 dan 428 (itu adalah code error banned/logout mendadak karna app unofficial dari whatsapp) jika script bawaan dari mamang magd, jika logout atau di banned, status tidak berubah. saya hanya mengubah sedikit, yang disconnect saya barusan ngeblast dan beberapa mokad nomor nya Edited September 16 by Pebrian 2 Quote Link to comment Share on other sites More sharing options...
agus amin Posted September 16 Share Posted September 16 16 minutes ago, Pebrian said: Cari code tersebut di whatsapp.js sock[token].ev.on('connection.update', async (update) => { lalu rubah code tersebut sampai code } }); ke code ini sock[token].ev.on('connection.update', async (update) => { const { connection, lastDisconnect, qr } = update; if (qr) { try { const url = await QRCode.toDataURL(qr); qrcode[token] = url; socket?.emit('qrcode', { token, data: url, message: 'Scan this QR code with your WhatsApp' }); } catch (err) { console.error('QR Code generation failed:', err); } } if (connection === 'close') { const disconnectError = lastDisconnect?.error; if (disconnectError instanceof Boom && (disconnectError.output.statusCode === 403 || disconnectError.output.statusCode === 428)) { setStatus(token, 'Disconnect'); console.log(`Connection closed with status code ${disconnectError.output.statusCode}. You are logged out.`); socket?.emit('message', { token, message: `Connection closed with status code ${disconnectError.output.statusCode}. You are logged out.` }); await clearConnection(token); clearInterval(reconnectInterval); reconnectInterval = null; } else { const shouldReconnect = disconnectError instanceof Boom && disconnectError.output.statusCode !== DisconnectReason.loggedOut; console.log('Connection closed due to', lastDisconnect?.error, 'Reconnecting:', shouldReconnect); if (shouldReconnect) { if (!reconnectInterval) { reconnectInterval = setInterval(() => attemptConnection(), 10000); } } else { setStatus(token, 'Disconnect'); console.log('Connection closed. You are logged out.'); socket?.emit('message', { token, message: 'Connection closed. You are logged out.' }); await clearConnection(token); clearInterval(reconnectInterval); reconnectInterval = null; } } } else if (connection === 'open') { setStatus(token, 'Connected'); console.log('Connected successfully!'); const userId = `${sock[token].user.id.split(':')[0]}@s.whatsapp.net`; const ppUrl = await getPpUrl(token, userId); socket?.emit('connection-open', { token, user: sock[token].user, ppUrl }); delete qrcode[token]; delete pairingCode[token]; clearInterval(reconnectInterval); reconnectInterval = null; } }); menambahkan status Disconnect jika terdapat error 403 dan 428 (itu adalah code error banned/logout mendadak karna app unofficial dari whatsapp) jika script bawaan dari mamang magd, jika logout atau di banned, status tidak berubah. saya hanya mengubah sedikit, yang disconnect saya barusan ngeblast dan beberapa mokad nomor nya Versi 8.50 kah om yang mokad, AI Bot belum jalan, dan menu di Auto Replay belom berfungsi, ada solusi Quote Link to comment Share on other sites More sharing options...
Pebrian Posted September 16 Share Posted September 16 On 9/16/2024 at 3:11 PM, agus amin said: Versi 8.50 kah om yang mokad, AI Bot belum jalan, dan menu di Auto Replay belom berfungsi, ada solusi 8.5.0 AI boi normal single Quote Link to comment Share on other sites More sharing options...
agus amin Posted September 16 Share Posted September 16 Just now, Pebrian said: 8.5.0 AI boi normal single Pakai AI mana om Quote Link to comment Share on other sites More sharing options...
DW Members Magd Almuntaser Posted September 16 Author DW Members Share Posted September 16 5 minutes ago, agus amin said: Versi 8.50 kah om yang mokad, AI Bot belum jalan, dan menu di Auto Replay belom berfungsi, ada solusi autoreply fixed on 8.5.1 and ai working 1 Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0 Link to comment Share on other sites More sharing options...
Pebrian Posted September 16 Share Posted September 16 On 9/16/2024 at 3:16 PM, agus amin said: Pakai AI mana om saya pakai gemini nih bisa. 1 Quote Link to comment Share on other sites More sharing options...
Getthecodenow Posted September 16 Share Posted September 16 connected port 8443 but stuck on this page how to resolve Quote Link to comment Share on other sites More sharing options...
Unicode Posted September 16 Share Posted September 16 Version 8.5.1 out now. update for stable version. Big thanks to @Magd Almuntaser 1 1 Quote Link to comment Share on other sites More sharing options...
DW Members Magd Almuntaser Posted September 16 Author DW Members Share Posted September 16 What's New in Version 8.5.1 : - Fixed sharp library. - Fixed autoreply ajax. - Fixed campaign (Theme Snacked Admin). 1 2 Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0 Link to comment Share on other sites More sharing options...
badas Posted September 16 Share Posted September 16 3 minutes ago, Magd Almuntaser said: What's New in Version 8.5.1 : - Fixed sharp library. - Fixed autoreply ajax. - Fixed campaign (Theme Snacked Admin). After update 8.5.1 Campaign theme Snacked Autoreply Thanks mas bro. 1 Quote Link to comment Share on other sites More sharing options...
DW Members Magd Almuntaser Posted September 16 Author DW Members Share Posted September 16 I forgot to tell you that if you are using cronjob to reconnect to the idle socket, it should be stopped, it is no longer needed version 8.5.1 will reconnect to itself when disconnected. 2 Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0 Link to comment Share on other sites More sharing options...
Fud Posted September 16 Share Posted September 16 Download link for manual install/update Quote Link to comment Share on other sites More sharing options...
DW Members Magd Almuntaser Posted September 16 Author DW Members Share Posted September 16 2 minutes ago, Fud said: Download link for manual install/update On the first page, post number 1 Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0 Link to comment Share on other sites More sharing options...
l.o.l Posted September 16 Share Posted September 16 5 minutes ago, Magd Almuntaser said: I forgot to tell you that if you are using cronjob to reconnect to the idle socket, it should be stopped, it is no longer needed version 8.5.1 will reconnect to itself when disconnected. in download still 8.05, plz update Quote Link to comment Share on other sites More sharing options...
JangE Posted September 16 Share Posted September 16 (edited) sudah restart node namun masih seperti ini, QR tidak muncul . note: menggunakan node 16, ga pakai cronjob sama sekali btw, untuk .env APP_DEBUG=true APP_URL=http://namadomain.com <--- sering ganti sendiri double s menjadi httpss:// WA_URL_SERVER=http://namadomain.com <--- sering ganti sendiri double s menjadi httpss:// Terima kasih Edited September 16 by JangE Quote Link to comment Share on other sites More sharing options...
DW Members Magd Almuntaser Posted September 16 Author DW Members Share Posted September 16 5 minutes ago, l.o.l said: in download still 8.05, plz update no it's 8.5.1: https://doniaweb.com/files/file/4872-whatsapp-gateway-multi-device/ 5 minutes ago, JangE said: sudah restart node namun masih seperti ini, QR tidak muncul . note: menggunakan node 16, ga pakai cronjob sama sekali btw, untuk .env APP_DEBUG=true APP_URL=http://namadomain.com <--- sering ganti sendiri double s menjadi httpss:// WA_URL_SERVER=http://namadomain.com <--- sering ganti sendiri double s menjadi httpss:// Terima kasih Node 16 sudah tidak didukung lagi di versi ini. Anda harus menginstal Node 18 atau 20 ke atas. =========== Node 16 is no longer supported in this version.. You must install 18 or 20 and above. 1 Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0 Link to comment Share on other sites More sharing options...
JangE Posted September 16 Share Posted September 16 10 minutes ago, Magd Almuntaser said: no it's 8.5.1: https://doniaweb.com/files/file/4872-whatsapp-gateway-multi-device/ Node 16 sudah tidak didukung lagi di versi ini. Anda harus menginstal Node 18 atau 20 ke atas. =========== Node 16 is no longer supported in this version.. You must install 18 or 20 and above. dear tuan, saya sudah ganti / mencoba node 16 ke atas, mode develope dan production. tetap QR tidak muncul. keadaan masih sama Regards Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.