-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Remote end closed connection without response #130
Comments
Hello, thanks for the report. Does it occur reliably, or is this issue sporadic? I'm unsure how and why the client would crash the server itself. I'll try to replicate anyway. |
Hello, I think I experience the same issue. I'm running aria2c 1.36.0, aria2p 0.12.0 and python 3.11.6. Trying to add a torrent file results in a similar backtrace:
I was never able to add this torrent file at all. So as far as I can tell, it's always reproducible. I cannot rule out that the torrent file is maliciously crafted or that the error is with aria2c. But I thought I'd let you know, since it seemed relevant. |
Thanks! Have you tried passing this file directly to aria2c? Does it accept it without error? |
Sorry I didn't realize this has been replied to |
Thanks, and no worries. I don't think I'll have time to investigate why a particular torrent makes it fail and how to fix that, but we can definitely improve the error handling here 🙂 |
If a torrent is too large (larger than 2M) , aria2c drops rpc connection. Document says cranking this value up will solve the issue. I tried to set "rpc-max-request-size": "1073741824" in global options, it doesn't work, but other options do work. So in the mean time, the simplest work around would be aria2c --enable-rpc --daemon=true --rpc-max-request-size=1024M |
Sorry for the late reply. I did test it with aria2c directly and I did not observe aria2c throwing any errors nor did I see any errors in the log file. |
So I don't think there's anything meaningful we can do after catching such an error, so I've decided to just log an error hinting at |
…ing it fails with a connection error Issue-130: #130
Describe the bug
aria2p suddenly hung up and disconnects after adding torrent with many files
aria2c daemon process is also stopped after this
The bug doesn't occur if torrent were added directly with aria2c.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Download should proceed normally
Screenshots
If applicable, add screenshots to help explain your problem.
System (please complete the following information):
aria2p
version: 0.11.3Additional context
Error:
The text was updated successfully, but these errors were encountered: