#Voice keeps crashing

21 messages · Page 1 of 1 (latest)

novel spade
#

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 } }

fading pineBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • 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!
novel spade
restive wigeon
novel spade
#

unless im doing it wrong for the other way

restive wigeon
#

I didn't use /voice enough to help you sorry

novel spade
#

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

novel spade
#

i think i found the issue

restive wigeon
#

what was it

novel spade
#

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

novel spade
#

Think i fixed it now

nova bluff
#

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?

novel spade
#

yeah i am but whatever i did since then and now fixed it it seems so seems good now can probably close this now

fossil saddle
#

code