You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After narrowing down the problem by analyzing the traffic, I figured out why aria2 was refusing to download a file. Basically the HTTP Response Headers contain headers with empty values and this makes aria2 refuse to continue the download for whatever reason. Curl doesn't have this issue. I was only able to download the file with aria2 by intercepting the traffic with Charles and rewriting the HTTP Response Headers to remove these empty valued headers. Would very much appreciate some kind of fix for this behavior, or at least to ignore these empty HTTP Response Headers.
Can't really publicly provide a debug log unless I redact all links and sensitive info and access to the files are time dependent on a one time access token that expires within a day. If a dev is interested, I can privately provide log and the command I used but would have to be quick to access the files and test.
The text was updated successfully, but these errors were encountered:
I think it should be easy to reproduce the test case through a simple cgi script, so don't worry about that, whether there would be anyone interested in fix this would be another story though.
Just had the same issue with a pico http server from an android app.
The solution is very simple, just "break" instead of "throw" on that line and recompile aria2c...
agowa
pushed a commit
to agowa/aria2
that referenced
this issue
Nov 23, 2020
Aria2 failed at downloading a file I was requesting with this error:
After narrowing down the problem by analyzing the traffic, I figured out why aria2 was refusing to download a file. Basically the HTTP Response Headers contain headers with empty values and this makes aria2 refuse to continue the download for whatever reason. Curl doesn't have this issue. I was only able to download the file with aria2 by intercepting the traffic with Charles and rewriting the HTTP Response Headers to remove these empty valued headers. Would very much appreciate some kind of fix for this behavior, or at least to ignore these empty HTTP Response Headers.
This is a partial screenshot of the empty HTTP Response Headers
https://i.ibb.co/yqMk7PR/Aria1.png
Can't really publicly provide a debug log unless I redact all links and sensitive info and access to the files are time dependent on a one time access token that expires within a day. If a dev is interested, I can privately provide log and the command I used but would have to be quick to access the files and test.
The text was updated successfully, but these errors were encountered: