connection timeout error constantly

I keep getting a connection timeout error on my discord bot while hosting it and I don’t know how to fix it I’ve tried pm2 etc and it still dosent work how would one proceed? (I don’t want to pay for hosting as I try to be as tight on money as possible)
5 Replies
d.js toolkit
d.js toolkit3mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by staff
Sheepboi546
Sheepboi546OP3mo ago
If you want the error message let me know but I’m currently about to sleep so
d.js docs
d.js docs3mo ago
Errors such as ECONNRESET, ConnectTimeoutError, SocketError: other side closed indicate a network issue * Free or shared hosting providers often come with significant limitations * Another indication of these issues are 'Unknown Interaction' errors.
Veno
Veno3mo ago
Hosting is really affordable for discord bots, around $3/mo for most hosts. I know you stated you're trying to be tight on money, but home networks just aren't as reliable as a dedicated host. Make sure your IP is also not regularly changing due to any number of things such as; - Security/firewall programs - Router settings - VPN That said, feel free to post the error message and maybe it will provide some insight, though unlikely.
Sheepboi546
Sheepboi546OP3mo ago
I got the fix don’t worry Thanks for the help though
Want results from more Discord servers?
Add your server