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

Amp\ByteStream\ClosedException: The stream was closed #1618

Open
miladrajabi2002 opened this issue Mar 1, 2025 · 2 comments
Open

Amp\ByteStream\ClosedException: The stream was closed #1618

miladrajabi2002 opened this issue Mar 1, 2025 · 2 comments

Comments

@miladrajabi2002
Copy link

when download https://dl23.debrid.link\/dl\/d5nct189v2a8s8048kkk4so\/Infinite.Social.Dopamine.Texting.Program.02.19.part1.rar with sendmedia

got this errors

Amp\ByteStream\ClosedException: The stream was closed
Amp\ByteStream\ClosedException: The socket was closed before writing completed

@danog
Copy link
Owner

danog commented Mar 1, 2025

Please send full logs traces and reproducer

@miladrajabi2002
Copy link
Author

According to the conversations you had in the Telegram group, this problem was due to the setMaxMediaSocketCount() value being too high, and by reducing it, this error was much less frequent. If I encounter this error again, I will send you the full log.

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