Unicode Posted August 22 Posted August 22 2 hours ago, Enno The Explorer said: karena itu Cronjob masih sangat dibutuhkan untuk menyadarkan Node.Js setiap saat krn sepertinya Node.js ini cepat sekali tertidur , bahkan bisa hibernasi klo ga di sadarkan dengan Cronjob sy pakai Node 16 , production dan untuk server.js versi 7.0.0.2 kalau teman2 yg lain gimana? Pake send message tiap jam ya bro? Quote
Enno The Explorer Posted August 22 Posted August 22 52 minutes ago, Unicode said: Pake send message tiap jam ya bro? pakai cronjob utk send message om, sy pakai tiap 5 menit jg gpp, sesuai kebutuhan aja, ada juga yg 30 menit sekali.. Insya Allah ga akan di blokir klo nomor hp yg digunakan klo sudah pernah saling chat bbrp saat sebelumnya, jd ga dianggap SPAM oleh WA Officialnya. 1 Quote
Unicode Posted August 22 Posted August 22 13 minutes ago, Enno The Explorer said: pakai cronjob utk send message om, sy pakai tiap 5 menit jg gpp, sesuai kebutuhan aja, ada juga yg 30 menit sekali.. Insya Allah ga akan di blokir klo nomor hp yg digunakan klo sudah pernah saling chat bbrp saat sebelumnya, jd ga dianggap SPAM oleh WA Officialnya. Siap. ini buat ngakali nomer baru aku taruh di grup nomernya haha, jadi Ainya auto ngobrol sendiri dia Quote
Enno The Explorer Posted August 22 Posted August 22 3 minutes ago, Unicode said: Siap. ini buat ngakali nomer baru aku taruh di grup nomernya haha, jadi Ainya auto ngobrol sendiri dia nah, bisa juga itu om..yang penting klo sdh banyak histori percakapannya ga akan dianggap SPAM lagi, sy udah coba seminggu aman.. Quote
Pebrian Posted August 22 Posted August 22 @Magd Almuntaser any info for https in your script auto installer sir? Quote
Magd Almuntaser Posted August 22 Author Posted August 22 1 minute ago, Pebrian said: @Magd Almuntaser any info for https in your script auto installer sir? It does not need to be inside the auto installer file. It is already there after installing the version in Admin->Settings Server and generate auto SSL.. Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
Pebrian Posted August 22 Posted August 22 10 minutes ago, Magd Almuntaser said: It does not need to be inside the auto installer file. It is already there after installing the version in Admin->Settings Server and generate auto SSL.. no change script anything after generate sir? Quote
Magd Almuntaser Posted August 22 Author Posted August 22 4 minutes ago, Pebrian said: no change script anything after generate sir? Do you get a message that the generate failed? Did you get a message that the generate was successful? If it shows that the generate was successful, you have to restart nodejs and thus nodejs was run via SSL All that remains is to run your site on https at the top of the browser.. Make sure that you already have https that you generated from aapanel or cpanel for your site link Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
Pebrian Posted August 22 Posted August 22 13 minutes ago, Magd Almuntaser said: Do you get a message that the generate failed? Did you get a message that the generate was successful? If it shows that the generate was successful, you have to restart nodejs and thus nodejs was run via SSL All that remains is to run your site on https at the top of the browser.. Make sure that you already have https that you generated from aapanel or cpanel for your site link If I get SSL from sslforfree, is it possible? Quote
Magd Almuntaser Posted August 22 Author Posted August 22 2 minutes ago, Pebrian said: If I get SSL from sslforfree, is it possible? Yes, from anywhere you can .. see page number 40 will help you Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
Pebrian Posted August 22 Posted August 22 2 hours ago, Magd Almuntaser said: Yes, from anywhere you can .. see page number 40 will help you not working after 2 hours instalation Quote
Magd Almuntaser Posted August 22 Author Posted August 22 2 minutes ago, Pebrian said: not working after 2 hours instalation If you want me to install the version for you, you can contact me and send me your site information.. Then I will tell you where your problem was.. because I don't know what your problem is. Quote Update Whatsapp Gateway Multi Device (Magd Version) v8.0.0
pisang masbro Posted August 22 Posted August 22 Apa di versi terbaru fitur ai gemini kalian normal? Kenapa saya tidak bisa terus ya, kalo di versi 7.002 dulu bagus, setelah update jadi tidak konek Quote
Unicode Posted August 22 Posted August 22 4 hours ago, pisang masbro said: Apa di versi terbaru fitur ai gemini kalian normal? Kenapa saya tidak bisa terus ya, kalo di versi 7.002 dulu bagus, setelah update jadi tidak konek Tidak ada masalah Quote
kecoamumet Posted August 23 Posted August 23 @Magd Almuntaser bang, bisa ga ganti ke nama domain kita? dulu versi brp gitu, saya bisa ganti jadi nama apapun yang saya mau. tapi lupa versi brp. dan sekarang pake versi 7008 cuma bisa ganti nama browsernya aja. mohon petunjuk dan petuahnya wahai ksataria. terima kasih Quote
Avina Kefin Posted August 23 Posted August 23 On 7/11/2024 at 9:58 PM, pak kacung said: Ada kelebihan apa tuan dengan cara ini? Aapanel tidak bekerja sir Quote
Avina Kefin Posted August 23 Posted August 23 On 7/11/2024 at 1:39 AM, Magd Almuntaser said: How To Run (Whatsapp Gateway Multi Device) Via SSL (For All Version) ((Cpanel+Cloudflare)) In this guide, we will use SSL for cPanel and Cloudflare users only. 1- we need to know that Cloudflare uses these ports exclusively: 443 2053 2083 2087 2096 8443 We will use port 8443 because it is not used by cPanel. 2- let's assume the script is located at this domain: https:// magd.com/ws We will go to Cloudflare and select SSL/TLS -> Overview, then choose Full. 3- we will edit the .env file located in the root directory of the script and change these fields to https:// and Port to 8443 APP_URL=https://magd .com WA_URL_SERVER=https://magd .com:8443 PORT_NODE=8443 4- we will login to cPanel, go to SSL/TLS: and then Manage SSL sites: 5- Now we will select Use Certificate for New Site: Two fields will appear. The first is Certificate: (CRT) which we will copy and save in a file named cert.pem. The other is Private Key (KEY) which we will save in a file named key.pem: 6- We will upload the two files we saved, cert.pem and key.pem, to the root directory of the script. Then, we will edit the server.js file and replace this code from: /** * EXPRESS FOR ROUTING */ const express = require("express"); const app = express(); const http = require("http"); const server = http.createServer(app); To: /** * EXPRESS FOR ROUTING */ const serverOptions = { key: fs.readFileSync('key.pem'), cert: fs.readFileSync('cert.pem') } const express = require("express"); const app = express(); const https = require("https"); const server = https.createServer(serverOptions, app); 7- And finally, the last step, is to edit the routes/web.php file and add this code at the end of the file: URL::forceScheme('https'); Now you can restart Node.js and enjoy using the script over HTTPS I will later post how to use SSL on the aaPanel control panel. Therefore, if anyone has a website using this panel, please send your site details (PM) so I can use them for the explanation, as I don't currently have aaPanel Bagaiman menggunakan di aapanel Debian 11 1 Quote
Upal Posted August 23 Posted August 23 (edited) Hey @Magd Almuntaser any news about the modules? And thank you @Gusik Prasetyo that cron fixed the dc issue Edited August 23 by Upal 1 Quote
Enno The Explorer Posted August 23 Posted August 23 (edited) 3 hours ago, Upal said: Hey @Magd Almuntaser any news about the modules? And thank you @Gusik Prasetyo that cron fixed the dc issue Solusi praktis dgn cronjob Tp ada ga yg punya masalah cronjobnya berhenti setiap jam 12 malam? Edited August 23 by Enno The Explorer Quote
Avina Kefin Posted August 23 Posted August 23 3 minutes ago, Enno The Explorer said: Solusi praktis dgn cronjob Tp ada ga yg punya masalah cronjobnya berhenti setiap jam 12 malam? Buat cronjob lagi untuk memberhentikan dan menjalankan cronjob itu 1 Quote
Unicode Posted August 23 Posted August 23 (edited) edited: solved Edited August 23 by Unicode problem solved Quote
Gusik Prasetyo Posted August 23 Posted August 23 3 hours ago, Enno The Explorer said: Solusi praktis dgn cronjob Tp ada ga yg punya masalah cronjobnya berhenti setiap jam 12 malam? sejak rilis v708, selalu pakai cronjob 5 menit, dan tidak pernah berhenti mas. Quote
Gusik Prasetyo Posted August 23 Posted August 23 [ask] apakah ada yang punya plugin MPWA untuk sejoli (wordpress), kalau ada tolong di share ya. terima kasih sebelumnya. Quote
Enno The Explorer Posted August 23 Posted August 23 3 hours ago, Avina Kefin said: Buat cronjob lagi untuk memberhentikan dan menjalankan cronjob itu Boleh jg dicoba, Perintah cronjobnya gmn itu? Haha Atau ada ga perintah cronjob untuk merestart node.js , biar bs direstart 24 jam sekali Quote
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.