question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Error: write EPIPE

See original GitHub issue

When I use !filter this error is sent - Error: opus stream: write EPIPE But filter was added.

To Reproduce

  1. Use any filter

Expected behavior 2. No error 3.

Please complete the following information:

  • Node Version: node 12.22.1
  • Library Version: discord-player 4.0.5
  • Discord.js Version: discord.js 12.5.3

Additional context I don’t know what script to send, please write in the comments if you need one And also, if I don’t use const ytdl = require ('ytdl-core'); I have a stream destroy error or something …

Full Error: Error: opus stream: write EPIPE at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:94:16) { errno: 'EPIPE', code: 'EPIPE', syscall: 'write' }

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:47 (12 by maintainers)

github_iconTop GitHub Comments

3reactions
skdhgcommented, May 7, 2021

Hello, you can catch that error with Player#error event. Also, in some cases, using filter: "audioonly" fixed the issue.

You can supply the filter option from PlayerOptions

const player = new Player(client, {
    ytdlDownloadOptions: {
        filter: "audioonly"
    }
})
1reaction
skdhgcommented, Aug 7, 2021

Handling error event in v5 will catch this error. I can’t say that v5 will get rid of this completely because this can happen due to several reasons but it should reduce this error 👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

(Bug report) Uncaught Exception: Error: write EPIPE #2568
The problem with this error is that it's very low level, something on the level of electron interaction with the system, it's not...
Read more >
what is a "write EPIPE" error? - Google Groups
EPIPE means that writing of (presumably) the HTTP request failed ... My problem is that I can't figure out how to get the...
Read more >
Error UNHANDLED EXCEPTION write EPIPE - Support
Hello i'm trying to deploy my gatsby application on netlify but i'm unable to deploy getting error error UNHANDLED EXCEPTION write EPIPE “build.command”...
Read more >
request/request - Gitter
Checking the write(2) docs, EPIPE occurs when you write to a socket that has been closed. If your content-length is NaN, probably the...
Read more >
Uncaught Execption, Error: write EPIPE - Node-RED Forum
2 May 16:53:42 - [info] Stopping flows 2 May 16:53:42 - [red] Uncaught Exception: 2 May 16:53:42 - [error] Error: write EPIPE at ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found