Discord bot Request timed out (>15000ms)

hello, I created a discord bot with Eris and every time I run the code I get this error.
The bot is meant to change a channel name every 3000 ms.

(node:5367) UnhandledPromiseRejectionWarning: Error: Request timed out (>15000ms) on GET /gateway

at ClientRequest.<anonymous> (/rbd/pnpm-volume/02f56e17-5248-4b79-8854-2a585b85b529/node_modules/.registry.npmjs.org/eris/0.8.6/node_modules/eris/lib/rest/RequestHandler.js:307:32)

at Object.onceWrapper (events.js:313:30)

at emitNone (events.js:106:13)

at ClientRequest.emit (events.js:208:7)

at TLSSocket.emitTimeout (_http_client.js:706:34)

at Object.onceWrapper (events.js:313:30)

at emitNone (events.js:106:13)

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

at TLSSocket.Socket._onTimeout (net.js:410:8)

at ontimeout (timers.js:498:11)

(node:5367) 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(). (rejection id: 1)

(node:5367) [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.

Do you know whereabouts in the process it’s getting stuck? I suggest adding logging so you can identify where the time is going. Sharing the /gateway code would also be useful.