This
DIAdiscord.js - Imagine an app
•Created by This on 12/24/2023 in #djs-questions
Frequent inconsistent connection timeout on Raspberry Pi 5
I made a bot that works fine on my pc and decided to purchase a RPi 5 so I can keep it running even when my pc is off.
However it seems to have random connection timeout error which happens randomly when I use
node deploy-commands.js
or node .
, mostly when I tried a /ping
command and see that i didn't get a respond.
There is also the delay on RPi 5 which is a lesser concern (e.g starting up bot and bot responding is seamless while on RPi 5 there is a few second delay)
- I have tried using deferReply()
and it not seem to fix the issue
- RPi is running on the same WiFi as my pc, so I don't think its the network
- Code is exact same as my pc which I have not encounter the error even once before ( same as discordjs.guide "CREATING A BOT" )9 replies