[Dİscord] I have error: Your app is taking a while to stop


#1

Your app is taking a while to stop…
(node:6360) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Something took too long to do.

my application very slow starting

events.js:165

  throw err;

  ^

Error: Uncaught, unspecified “error” event. ([object Object])

at Client.emit (events.js:163:17)

at WebSocketConnection.onError (/rbd/pnpm-volume/9d9b82f0-9815-4f63-b37e-dd593c1e76de/node_modules/.registry.npmjs.org/discord.js/11.3.2/node_modules/discord.js/src/client/websocket/WebSocketConnection.js:374:17)

at WebSocket.onError (/rbd/pnpm-volume/9d9b82f0-9815-4f63-b37e-dd593c1e76de/node_modules/.registry.npmjs.org/ws/4.1.0/node_modules/ws/lib/event-target.js:128:16)

at emitOne (events.js:96:13)

at WebSocket.emit (events.js:188:7)

at _receiver.cleanup (/rbd/pnpm-volume/9d9b82f0-9815-4f63-b37e-dd593c1e76de/node_modules/.registry.npmjs.org/ws/4.1.0/node_modules/ws/lib/websocket.js:211:14)

at Receiver.cleanup (/rbd/pnpm-volume/9d9b82f0-9815-4f63-b37e-dd593c1e76de/node_modules/.registry.npmjs.org/ws/4.1.0/node_modules/ws/lib/receiver.js:557:13)

at WebSocket.finalize (/rbd/pnpm-volume/9d9b82f0-9815-4f63-b37e-dd593c1e76de/node_modules/.registry.npmjs.org/ws/4.1.0/node_modules/ws/lib/websocket.js:206:20)

at emitOne (events.js:96:13)

at TLSSocket.emit (events.js:188:7)

#2

Let us know the project name and we’ll take a look. If your project is private, either make it public temporarily or DM me a join link so we can view the code. Thanks.