Websocket not working
I am not receiving any events or even if I do it just cuts out in 5 second
21 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!
there code
and here it randomly cutting
@Qjuh
I just got this working on a US server but does not work on my local + germany vps
problem seems to be this part I think
when it fetches servers with success
it works
yeah but only on render.com
yes
still not working
let me try again
still same 🥲
can this be an IP thing? @Qjuh
like discord restricted my ip from ws
checking
40 seconds @Qjuh
I think it sends the first beat and just destory it on second?
shows something like this
@Qjuh
discord.js includes multiple sub-packages, installing these separately can mess with internal code:
running
same @Qjuh
new
npm ls discord-api-types
Yeah but this happens on both my local and vps
local -> based in turkey
vps -> germany
doubt it is a package problem
was working fine 2d ago
okay besides that how can I fix zombie connection @Qjuh
I have network issues both on vps and my local?
@Qjuh
This also works on different bot tokens
just on my main bot it doesnt work
with test bot it is all fine
doesnt work even with this code
Yes but it wasnt working wthout go function as well
On any code main token gives zombie connection
303