Debug Undici
so discord.js uses undici on the backend and I've been having connection issues so I want to debug it.
I've added a startup flag of
NODE_DEBUG=undici
my .env
but nothing logs. I can only assume I'm either doing it incorrectly or I need to use undici myself and not how it's used by a package (discord.js)
Can anyone assist me with this?
I've been having too many of those UND_ERR_CONNEFT_TIMEOUT so I want to see what is exactly causing it and stuff. I know it's network related so I want to debug3 Replies
- 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 OP#other-js-ts then
But its a network issue. So look at your hosting provider
Alright I'll make this there
yes I have spoken to them but they are trying to investigate themselves
just trying to see where the packet is failing