node-ytdl-core icon indicating copy to clipboard operation
node-ytdl-core copied to clipboard

AudioPlayerError: Status code 403 randomly thrown

Open zPanic opened this issue 3 years ago • 1 comments

  • Are you on the latest version of ytdl-core?
    • ytdl-core version 4.9.2

Include the following if your issue is a bug

  • Audioplayer randomly throws error 403.
  • Cannot figure out any consistency in the cause of this error. Was supposed to be fixed with #1022 but still occurring to me with that exact release version.

Here's the error for one example.

AudioPlayerError: Status code: 403 at ClientRequest.<anonymous> (/root/nova.js/node_modules/miniget/src/index.ts:255:19) at Object.onceWrapper (node:events:628:26) at ClientRequest.emit (node:events:513:28) at ClientRequest.emit (node:domain:489:12) at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:674:27) at HTTPParser.parserOnHeadersComplete (node:_http_common:128:17) at HTTPParser.execute (<anonymous>) at TLSSocket.socketOnData (node:_http_client:521:22) at TLSSocket.emit (node:events:513:28) at TLSSocket.emit (node:domain:489:12) { resource: AudioResource { playStream: Encoder { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: true, encoder: null, _options: [Object], _required: 3840, _buffer: null, [Symbol(kCapture)]: false, [Symbol(kCallback)]: null }, edges: [ [Object], [Object], [Object] ], metadata: Song { url: 'https://youtube.com/watch?v=Cv6tuzHUuuk', title: 'The Bangles - Walk Like an Egyptian (Official Video)', duration: 203 }, volume: VolumeTransformer { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 5, _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: true, _readInt: [Function (anonymous)], _writeInt: [Function (anonymous)], _bits: 16, _bytes: 2, _extremum: 32768, volume: 1, _chunk: null, [Symbol(kCapture)]: false, [Symbol(kCallback)]: null }, encoder: Encoder { _readableState: [ReadableState], _events: [Object: null prototype], _eventsCount: 6, _maxListeners: undefined, _writableState: [WritableState], allowHalfOpen: true, encoder: null, _options: [Object], _required: 3840, _buffer: null, [Symbol(kCapture)]: false, [Symbol(kCallback)]: null }, audioPlayer: AudioPlayer { _events: [Object: null prototype], _eventsCount: 2, _maxListeners: undefined, _state: [Object], subscribers: [Array], behaviors: [Object], debug: [Function (anonymous)], [Symbol(kCapture)]: false }, playbackDuration: 0, started: false, silencePaddingFrames: 5, silenceRemaining: -1 } }

zPanic avatar Sep 20 '22 10:09 zPanic

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 07 '23 21:01 stale[bot]