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

Connection Reset By Peer #64

Open
JD-Durant opened this issue Sep 20, 2022 · 3 comments
Open

Connection Reset By Peer #64

JD-Durant opened this issue Sep 20, 2022 · 3 comments

Comments

@JD-Durant
Copy link

Hello, I made a Discord Bot that plays music via a yt-dlp audio stream. It's been working perfectly for over a year thanks to this buildpack however recently it's began to have a lot of issues.

At random a song will cut off and the bot marks the song as being complete and removes it from the queue, giving the error "error=Connection reset by peer."

While I initially thought it could be an issue with the Youtube Api I am currently using, upon extensive testing I was unable to find any issue on that side and it's led me to here

Issue :
image

I was suggested to change the 'reconnect_delay_max' setting to the maximum, however that has sadly not changed it
Screenshot of current FFMPEG options :
image
(yes I use Light theme, fear me)

My thought could be it being an issue with the version that this buildpack may be using but it's a little naive for me to presume, thanks for any help!

@bbbbgggghh
Copy link

Hello, it's been a while since you posted this issue, but I'm having the same issue right now, so I'm leaving a comment. Did you manage to resolve this issue? This is giving me a headache.

@JD-Durant
Copy link
Author

Heya, it definitely has been a while haha

Unfortunately no, I never found a way to resolve this issue. I could only potentially pin it down to some Network instability for the hosting service I was using at the time, but that's a complete shot in the dark.

If you're in the same boat I was in and making a Discord bot in Python, I recommend making the jump and moving over the DSharp+ (.NET Discord API Wrapper), which allows you to utilise LavaLink servers which are far faster and more reliable.

Sorry I couldn't be of more help, best of luck to you!

@bbbbgggghh
Copy link

Thank you so much for your advice. I will take your advice into consideration. Thanks for the advice and have a nice day!

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

2 participants