Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unhandled stream error #58

Open
lolcatw opened this issue Sep 17, 2022 · 0 comments
Open

unhandled stream error #58

lolcatw opened this issue Sep 17, 2022 · 0 comments

Comments

@lolcatw
Copy link

lolcatw commented Sep 17, 2022

When the stream pipe breaks, noodle.js doesnt handle error events properly.

node:events:491
      throw er; // Unhandled 'error' event
      ^

Error: Input stream error: aborted
    at PassThrough.<anonymous> (/home/lolcat/rena_mumble/node_modules/fluent-ffmpeg/lib/processor.js:452:34)
    at PassThrough.emit (node:events:525:35)
    at PassThrough.emit (node:events:525:35)
    at IncomingMessage.onError (/home/lolcat/rena_mumble/node_modules/miniget/dist/index.js:148:24)
    at IncomingMessage.emit (node:events:513:28)
    at emitErrorNT (node:internal/streams/destroy:151:8)
    at emitErrorCloseNT (node:internal/streams/destroy:116:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Emitted 'error' event on Dispatcher instance at:
    at FfmpegCommand.<anonymous> (/home/lolcat/rena_mumble/node_modules/noodle.js/src/voice/Dispatcher.js:31:22)
    at FfmpegCommand.emit (node:events:513:28)
    at emitEnd (/home/lolcat/rena_mumble/node_modules/fluent-ffmpeg/lib/processor.js:424:16)
    at PassThrough.<anonymous> (/home/lolcat/rena_mumble/node_modules/fluent-ffmpeg/lib/processor.js:454:15)
    at PassThrough.emit (node:events:525:35)
    [... lines matching original stack trace ...]
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
  inputStreamError: Error: aborted
      at connResetException (node:internal/errors:711:14)
      at TLSSocket.socketCloseListener (node:_http_client:454:19)
      at TLSSocket.emit (node:events:525:35)
      at node:net:313:12
      at TCP.done (node:_tls_wrap:587:7) {
    code: 'ECONNRESET'
  }
}

Node.js v18.8.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant