Closed bkzutr90 closed 2 months ago
MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 change listeners added to [StatWatcher]. Use emitter.setMaxListeners() to increase limit
UnhandledPromiseRejectionWarning: TypeError: nodeCrypto.randomInt is not a function
at Object.exports.generateSenderKeyId (/root/ww/node_modules/baileys/WASignalGroup/keyhelper.js:9:23)
at GroupSessionBuilder.create (/root/ww/node_modules/baileys/WASignalGroup/group_session_builder.js:28:31)
at async encryptSenderKeyMsgSignalProto (/root/ww/node_modules/baileys/lib/Utils/signal.js:193:42)
at async /root/ww/node_modules/baileys/lib/Socket/messages-send.js:264:73
at async Object.transaction (/root/ww/node_modules/baileys/lib/Utils/auth-utils.js:8 5:21)
at async relayMessage (/root/ww/node_modules/baileys/lib/Socket/messages-send.js:262:9)
at async Object.sendMessage (/root/ww/node_modules/baileys/lib/Socket/messages-send.js:527:17)
(node:63167) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by re jecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https ://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
HOW U FIX THE PROBLM
Server running with port 3000! (node:62932) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification. (Use
node --trace-warnings ...
to show where the warning was created) ✖ Can't connect to Web Socket Exited with code: 0what happend?
Delete creds.json , then rescan.... make sure database is set
Server running with port 3000! (node:62932) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification. (Use
node --trace-warnings ...
to show where the warning was created) ✖ Can't connect to Web Socket Exited with code: 0what happend?