- 🏠 East Borneo.
-
💻 I’m currently learning JavaScript.
-
✨ Interested in Web development.
Simple WhatsApp Gateway, Built Using Baileys, Express, Sequelize, and Mazer
License: GNU General Public License v3.0
Hi I am having trouble running after doing npm start
Can someone help me? I am running using Node.js v18.15.0
node:events:491
throw er; // Unhandled 'error' event
^
Error: connect ECONNREFUSED ::1:3306
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1494:16)
Emitted 'error' event on Query instance at:
at /Users/<user>/Documents/Development/Node/whatsapp-gateway/node_modules/mysql2/lib/pool.js:144:20
at /Users/<user>/Documents/Development/Node/whatsapp-gateway/node_modules/mysql2/lib/pool.js:60:18
at PoolConnection.<anonymous> (/Users/<user>/Documents/Development/Node/whatsapp-gateway/node_modules/mysql2/lib/connection.js:775:13)
at Object.onceWrapper (node:events:628:26)
at PoolConnection.emit (node:events:525:35)
at PoolConnection._notifyError (/Users/<user>/Documents/Development/Node/whatsapp-gateway/node_modules/mysql2/lib/connection.js:236:12)
at PoolConnection._handleFatalError (/Users/<user>/Documents/Development/Node/whatsapp-gateway/node_modules/mysql2/lib/connection.js:167:10)
at PoolConnection._handleNetworkError (/Users/<user>/Documents/Development/Node/whatsapp-gateway/node_modules/mysql2/lib/connection.js:180:10)
at Socket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8) {
errno: -61,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 3306,
fatal: true
}
saya coba running seharian tp esok hari nya ada error dan api tidak bisa di gunakan harus d restar ulang node nya,
error nya seperti ini
isBoom: true,
isServer: false,
output: {
statusCode: 428,
payload: {
statusCode: 428,
error: 'Precondition Required',
message: 'Connection Closed'
},
headers: {}
}
}
Are project is closed?
Have a paid version to buy?
please share MySQL database file.
ketika mau menambahkan session tidak bisa, bisa minta tolong dibantu bang
tidak bisa scan qrcode di wa business 2.23.10.77
how to deploy this script on shared hosting ?
When you have scanned the qr code, a few moments later the log appears :
[APP] 15/05/23 11:17:05 Connection Database has been established Successfully
[APP] 15/05/23 11:17:05 Re-Sync Database
[APP] 15/05/23 11:17:05 App Listening at http://localhost:8080
[SYS] [Session: session_1] Open the browser, a qr has appeared on the website, scan it now!
1
Socket Disconnect
Socket Disconnect
Socket Disconnect
[SYS] [Session: session_1] Open the browser, a qr has appeared on the website, scan it now!
1
session_1 6288808037135
[SYS] [Session: session_1] Restart Required, Restarting...
Socket Disconnect
[SYS] 15/05/23 11:17:42 [Session: session_1] Session is Now Connected - Baileys Version 2,2228,8, isLatest : false
[SYS] [Session: session_1] Open the browser, a qr has appeared on the website, scan it now!
2
[SYS] [Session: session_1] Open the browser, a qr has appeared on the website, scan it now!
3
Count : 3, QR Stopped!
Hi,
Thanks for contributing on github.
I have tried this but QR Code doesn't show up.
Please advise
Thanks
When creating an instance the library reports an error and crashes.
Never read the QR.
follow the error
1
teste 5519996794031
node:fs:594
handleErrorFromBinding(ctx);
^
Error: ENOENT: no such file or directory, open './public/log/teste.txt'
at Object.openSync (node:fs:594:3)
at Object.writeFileSync (node:fs:2207:35)
at EventEmitter. (file:///C:/Users/VENDEDOR%2016/Desktop/whatsapp-gateway/server/session/Session.js:87:9)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
errno: -4058,
syscall: 'open',
code: 'ENOENT',
path: './public/log/teste.txt'
}
How can I adjust error?
When scan qrcode i got error on bash:
ENOENT: no such file or directory, open './public/log/session_1.txt'
Hello sir, i like this project.. but i need answer is nothing setup for auth for dashboard access or POST ? thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.