GithubHelp home page GithubHelp logo

fawwaz37 / whatsapp-gateway Goto Github PK

View Code? Open in Web Editor NEW
175.0 6.0 121.0 2.17 MB

Simple WhatsApp Gateway, Built Using Baileys, Express, Sequelize, and Mazer

License: GNU General Public License v3.0

JavaScript 78.94% CSS 3.31% EJS 17.75%
expressjs api mysql nodejs sequelize whatsapp-bot whatsapp-gateway

whatsapp-gateway's Issues

error 428

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: {}
}
}

ENOENT

When scan qrcode i got error on bash:

ENOENT: no such file or directory, open './public/log/session_1.txt'

tutor

Screenshot (2)

itu knp bgg, abis scan mlh gitu

QR Stopped

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!

error to create instance

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?

throw er; // Unhandled 'error' event

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
}

is nothing Auth ?

Hello sir, i like this project.. but i need answer is nothing setup for auth for dashboard access or POST ? thanks

QR Code doesn't show up

Hi,
Thanks for contributing on github.
I have tried this but QR Code doesn't show up.
Please advise

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.