- I apologize if I made a mistake in the topic, I can’t manage on the forum.
(node:31305) UnhandledPromiseRejectionWarning: Error: TeamSpeak Server prematurely closed the connection
at TeamSpeak.closeCallback (/root/teamspeak bots/node_modules/ts3-nodejs-library/lib/TeamSpeak.js:130:24)
at Object.onceWrapper (events.js:421:26)
at TeamSpeak.emit (events.js:314:20)
at TeamSpeakQuery. (/root/teamspeak bots/node_modules/ts3-nodejs-library/lib/TeamSpeak.js:58:45)
at TeamSpeakQuery.emit (events.js:314:20)
at TeamSpeakQuery.handleClose (/root/teamspeak bots/node_modules/ts3-nodejs-library/lib/transport/TeamSpeakQuery.js:205:14)
at ProtocolRAW.emit (events.js:314:20)
at ProtocolRAW.handleClose (/root/teamspeak bots/node_modules/ts3-nodejs-library/lib/transport/protocols/raw.js:47:14)
at Socket.emit (events.js:314:20)
at TCP. (net.js:675:12)
(node:31305) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting 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: 1)
(node:31305) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.