Voice keeps crashing

I saw the faq post and i already have and tried 0.16.1 of discord js voice but it still keeps disconnecting and crashing with a error, its completly random at times it can play entirely or only work for a few secs before it crashes and yes i checked the file and it indead says its on version 0.16.1 and i am using discordjs 14.13.0 Here is the error code: AudioPlayerError: aborted at connResetException (node:internal/errors:720:14) at TLSSocket.socketCloseListener (node:_http_client:461:19) at TLSSocket.emit (node:events:526:35) at node:net:323:12 at TCP.done (node:_tls_wrap:588:7) { resource: AudioResource { playStream: OggDemuxer { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 5, _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: true, _remainder: null, _head: null, _bitstream: null, [Symbol(kCapture)]: false, [Symbol(kCallback)]: [Function: bound onwrite] }, edges: [ [Object], [Object] ], metadata: null, volume: undefined, encoder: undefined, audioPlayer: AudioPlayer { _events: [Object: null prototype], _eventsCount: 3, _maxListeners: undefined, _state: [Object], subscribers: [Array], behaviors: [Object], debug: [Function (anonymous)], [Symbol(kCapture)]: false }, playbackDuration: 25700, started: true, silencePaddingFrames: 5, silenceRemaining: -1 } }
11 Replies
d.js toolkit
d.js toolkit14mo 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!
Zorceon127
Zorceon127OP14mo ago
[email protected] node v20.9.0
</> Idris
</> Idris14mo ago
isn't this related to ytdl-core?
Zorceon127
Zorceon127OP14mo ago
hmm possibly but i cant seem to get it to work alone it closes instanly then unless im doing it wrong for the other way
</> Idris
</> Idris14mo ago
I didn't use /voice enough to help you sorry
Zorceon127
Zorceon127OP14mo ago
ah i throught that was also updated too for some rason i cant get it working atall now either way just closes or stays with no audio ok i messed around with the ytdl version and seems to be working at the moment if i have issues again il try another ytdl i found thanks but hopefully its working now1 nvm it crashed after a while again i think i found the issue
</> Idris
</> Idris14mo ago
what was it
Zorceon127
Zorceon127OP14mo ago
i think i have a connection per command and when it closes it closes everything i know you shoudl only have 1 im gonna try fix it properly later and see Think i fixed it now
ThePedroo
ThePedroo14mo ago
I used to have that while playing online resources, the fix for me was to make the request myself and simply pass the stream Are you playing from a URL?
Zorceon127
Zorceon127OP14mo ago
yeah i am but whatever i did since then and now fixed it it seems so seems good now can probably close this now
Palacelaw
Palacelaw13mo ago
code

Did you find this page helpful?