badas Posted August 28 Posted August 28 3 minutes ago, Avina Kefin said: Absen kegiatan om Masuk sekolah pulang sekolah , absen sholat 5 waktu Bolehlah nanti dibisikin caranya om , buat sekolah juga. Quote
Enno The Explorer Posted August 28 Posted August 28 5 minutes ago, Avina Kefin said: Absen kegiatan om Masuk sekolah pulang sekolah , absen sholat 5 waktu Japri aja nnti ngobrol di wa, mana tau sy bisa bantu Quote
Enno The Explorer Posted August 28 Posted August 28 (edited) 6 minutes ago, badas said: Bolehlah nanti dibisikin caranya om , buat sekolah juga. bisa dibuat pakai appsheet om, diintegrasikan ke mpwa Edited August 28 by Enno The Explorer 1 Quote
Avina Kefin Posted August 28 Posted August 28 13 minutes ago, Enno The Explorer said: di id cloudhost port 3100 dan 3120 berjalan lancar, mungkin hostingnya bermasalah kali mas node.js pakai v 16. type production jangan yang lain Oke siap Quote
Avina Kefin Posted August 28 Posted August 28 4 minutes ago, Enno The Explorer said: bisa dibuat pakai appsheet om, diintegrasikan ke mpwa Saya pakai web framework ci4 om sent notif lewat api , absen berbasis RFID 125hz , nah kalau wa bengong gini jadi rada gimana gitu wkwkwkw pm saja om saya kirim source code website nya Quote
Avina Kefin Posted August 28 Posted August 28 14 minutes ago, badas said: Bolehlah nanti dibisikin caranya om , buat sekolah juga. Pm saja om saya kirim nomor wa 1 Quote
Unicode Posted August 28 Posted August 28 26 minutes ago, Enno The Explorer said: di id cloudhost port 3100 dan 3120 berjalan lancar, mungkin hostingnya bermasalah kali mas node.js pakai v 16. type production jangan yang lain solusinya gimana ya? aku coba settingan other connected juga tapi mismatch. (QR dan wa tidak bisa konek) sedangkan settingan hosting shared (use http link) tapi wa berjalan lancar. Quote
Enno The Explorer Posted August 28 Posted August 28 3 minutes ago, Unicode said: solusinya gimana ya? aku coba settingan other connected juga tapi mismatch. (QR dan wa tidak bisa konek) sedangkan settingan hosting shared (use http link) tapi wa berjalan lancar. buka file env.nya mas..itu pasti url serverya jadi httpss , kelebihan s nya 1 Quote
Enno The Explorer Posted August 28 Posted August 28 17 minutes ago, Avina Kefin said: Saya pakai web framework ci4 om sent notif lewat api , absen berbasis RFID 125hz , nah kalau wa bengong gini jadi rada gimana gitu wkwkwkw pm saja om saya kirim source code website nya google appsheet No Code om..simple but powerfull Quote
Unicode Posted August 28 Posted August 28 1 minute ago, Enno The Explorer said: buka file env.nya mas..itu pasti url serverya jadi httpss , kelebihan s nya 1 ini yg bener env pake https apa http aja? aku cek dan coba rubah ke http aja dan https tetep muncul errornya Quote
Enno The Explorer Posted August 28 Posted August 28 7 minutes ago, Unicode said: ini yg bener env pake https apa http aja? aku cek dan coba rubah ke http aja dan https tetep muncul errornya tergantung, domain dan subdomain mas sebelumnya sdh di auto sll atau engga, klo saya pada saat buat domain pertama kali saya ssl dan saat buat sub domain untuk mpwa ini saya autossl lagi, jd bisa konek sesuai yang diharapka, klo mas bingung nnti sy bantu pakai remote anydesk Quote
Avina Kefin Posted August 28 Posted August 28 5 minutes ago, Enno The Explorer said: google appsheet No Code om..simple but powerfull Iya om betul hanya saja kendala saya ada di api wa nya saja untuk absensi dll dah aman barangkali appsheet bisa bikin api saya mau om hahaha Quote
MURASAKI. Posted August 28 Posted August 28 I always disconncted with this node js betweeb 01.xx - 02.xx AM. But other apps with 1 network & diferent VM running well. --- Precond: 1. aaPanel, latest 2. Node js, latest 3. MPWA, latest Maybe this recomendation and temporary solution by my case. --- Issue: Node js always stop running everyday and the apps (MPWA) show normal status of node js. Temporary Solution: Using cron job on your panel. In my case using aaPanel. 1. Create a Restart Script Create a file/script "restart-node.sh" that will stop and restart a Node.js application in your folder. #!/bin/bash # Path ke direktori aplikasi Node.js APP_DIR="/www/wwwroot/domain.com/your-application" # Nama file utama aplikasi Node.js APP_SCRIPT="your-js.js" # Ganti direktori ke aplikasi cd $APP_DIR # Cari PID (Process ID) dari aplikasi yang sedang berjalan PID=$(ps aux | grep $APP_SCRIPT | grep -v grep | awk '{print $2}') # Jika PID ditemukan, matikan proses if [ -n "$PID" ]; then kill -9 $PID echo "Proses NODE JS dihentikan." fi # Mulai kembali aplikasi NODE JS di background nohup node $APP_SCRIPT > app.log 2>&1 & echo "Aplikasi NODE JS telah dimulai kembali." 2. Set Permission on Script chmod +x /path/to/restart-node.sh or set: 644/754 3. Create Cron Job in aaPanel (Shell Script) /bin/bash /path/to/restart-node.sh 4. Setup Daily Task (Time of Executing) & Execute 5. See the log result and PID of Node.JS --- Thanks. 3 1 Quote
Enno The Explorer Posted August 28 Posted August 28 19 minutes ago, Avina Kefin said: Iya om betul hanya saja kendala saya ada di api wa nya saja untuk absensi dll dah aman barangkali appsheet bisa bikin api saya mau om hahaha nnti pesan bisa dikirim pakai API Direct url dari mpwa, nnti sy remotekan ya om 1 Quote
Unicode Posted August 28 Posted August 28 41 minutes ago, Enno The Explorer said: tergantung, domain dan subdomain mas sebelumnya sdh di auto sll atau engga, klo saya pada saat buat domain pertama kali saya ssl dan saat buat sub domain untuk mpwa ini saya autossl lagi, jd bisa konek sesuai yang diharapka, klo mas bingung nnti sy bantu pakai remote anydesk ternyata bisa setelah mengikuti panduan om @Magd Almuntaser di page 40 namun setelah port connected, masalahnya adalah QR wa tidak bisa muncul . alhasil yasudah balik ke yg biasa aja hahaha Quote
Avina Kefin Posted August 28 Posted August 28 Just now, Unicode said: ternyata bisa setelah mengikuti panduan om @Magd Almuntaser di page 40 namun setelah port connected, masalahnya adalah QR wa tidak bisa muncul . alhasil yasudah balik ke yg biasa aja hahaha Harus bikin subdomain untuk nodejs nya Quote
Avina Kefin Posted August 28 Posted August 28 Jadi domain utama http://localhost lalu di app_url pakai http://node.localhost:3100 di bagian port node 3100 -+ gitu sih gambarannya Quote
Ninu Posted August 28 Posted August 28 @Enno The Explorer bang pake layanan yang mana di idcloudhost ? Quote
Gusik Prasetyo Posted August 28 Posted August 28 (edited) 43 minutes ago, MURASAKI. said: I always disconncted with this node js betweeb 01.xx - 02.xx AM. But other apps with 1 network & diferent VM running well. --- Precond: 1. aaPanel, latest 2. Node js, latest 3. MPWA, latest Maybe this recomendation and temporary solution by my case. --- Issue: Node js always stop running everyday and the apps (MPWA) show normal status of node js. Temporary Solution: Using cron job on your panel. In my case using aaPanel. 1. Create a Restart Script Create a file/script "restart-node.sh" that will stop and restart a Node.js application in your folder. #!/bin/bash # Path ke direktori aplikasi Node.js APP_DIR="/www/wwwroot/domain.com/your-application" # Nama file utama aplikasi Node.js APP_SCRIPT="your-js.js" # Ganti direktori ke aplikasi cd $APP_DIR # Cari PID (Process ID) dari aplikasi yang sedang berjalan PID=$(ps aux | grep $APP_SCRIPT | grep -v grep | awk '{print $2}') # Jika PID ditemukan, matikan proses if [ -n "$PID" ]; then kill -9 $PID echo "Proses NODE JS dihentikan." fi # Mulai kembali aplikasi NODE JS di background nohup node $APP_SCRIPT > app.log 2>&1 & echo "Aplikasi NODE JS telah dimulai kembali." 2. Set Permission on Script chmod +x /path/to/restart-node.sh or set: 644/754 3. Create Cron Job in aaPanel (Shell Script) /bin/bash /path/to/restart-node.sh 4. Setup Daily Task (Time of Executing) & Execute 5. See the log result and PID of Node.JS --- Thanks. How about at shared hosting mas? Can we apply it too? Edited August 28 by Gusik Prasetyo Quote
MURASAKI. Posted August 28 Posted August 28 2 minutes ago, Gusik Prasetyo said: How about at shared hosting mas? Can we applied it too? I dont have cpanel on sharedhosting so I cant try it, but I think is posibble. Quote
MURASAKI. Posted August 28 Posted August 28 Issue: Cant create manual phone book and add number manually. (error: 500) Is anybody is same issue for this? or just me? Quote
Gusik Prasetyo Posted August 28 Posted August 28 43 minutes ago, Enno The Explorer said: nnti pesan bisa dikirim pakai API Direct url dari mpwa, nnti sy remotekan ya om Mas, idcloudhost mpwa 709 sering iddle ato lancar2 aja? Hello sir @Magd Almuntaser I test on same hosting: V.7.0.9: use cronjob every 5 minutes but often iddle and i have to restart nodejs. When iddle, i can't run autoreply, aibot, api. V7.0.0 my whatsapp always connect even i don't use cronjob. Quote
Gusik Prasetyo Posted August 28 Posted August 28 4 minutes ago, MURASAKI. said: Issue: Cant create manual phone book and add number manually. (error: 500) Is anybody is same issue for this? or just me? I can. No problem when i make phonebook Quote
Avina Kefin Posted August 28 Posted August 28 14 minutes ago, Gusik Prasetyo said: Mas, idcloudhost mpwa 709 sering iddle ato lancar2 aja? Hello sir @Magd Almuntaser I test on same hosting: V.7.0.9: use cronjob every 5 minutes but often iddle and i have to restart nodejs. When iddle, i can't run autoreply, aibot, api. V7.0.0 my whatsapp always connect even i don't use cronjob. Seperti biasa , setelah update saya paste server.js dari 7.0.0 Quote
MURASAKI. Posted August 28 Posted August 28 11 minutes ago, Gusik Prasetyo said: I can. No problem when i make phonebook Really? have yu test the function? This my result and still happen. 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.