Share

aria2 - CLI Metalink/BitTorrent client

Tracker: Bugs

5 Range problem - ID: 1864525
Last Update: Comment added ( nobody )

$ aria2c -laria2c.log -o anonymized.ext -s1 --continue --lowest-speed-limit
100K --http-user=USER --http-passwd=PASS
http://rapidshare.com/files/12345/anonymized.ext
[#1 SIZE:2.0MiB/95.7MiB(2%) CN:1 SPD:0.00KiB/s]

2008-01-05 16:29:56 ERROR - CUID#6 - Download aborted.
URI=http://rapidshare.com/files/12345/anonymized.ext
2008-01-05 16:29:56 ERROR - exception: Invalid range header. Request:
-722,862,080-0/100,431,872, Response: 0-100,431,871/100,431,872
[#1 SIZE:2.0MiB/95.7MiB(2%) CN:0 SPD:0.00KiB/s]

Download Results:
gid|stat|path/URI
===+====+==================================================================
====
1| ERR|http://rapidshare.com/12345/anonymized.ext

Status Legend:
(OK):download completed.(ERR):error occurred.(INPR):download in-progress.

$ ls -l anonymized.ext
-rw-r--r-- 1 lea lea 100431872 Jan 5 16:29 anonymized.ext

The integer for the range request (-722,862,080) is to be random across
runs (uninitialized or so).

I'm attaching aria2c.log.


Lea Wiemann ( wiemann ) - 2008-01-05 15:38

5

Closed

None

Nobody/Anonymous

None

None

Public


Comments ( 4 )




Date: 2008-01-06 18:36
Sender: nobody

Logged In: NO

Awesome! Thank you so much for your fast responses!

-- Lea


Date: 2008-01-06 16:33
Sender: t-tujikawaProject AdminAccepting Donations


Thank you for detailed report.
I found the bug. The keyword is "--lowest-speed-limit".
There is a bug in the code which checks download speed if it is slower
than user defined value.

I've fixed the bug in revision 148.

>As indicated by the ls call above, the file size at the time of
execution
>is 100431872; I don't know size in allocated blocks though.

If you don't specify --file-allocation option, I think it was preallocated
by aria2.




Date: 2008-01-06 13:08
Sender: wiemann


Ah, sorry for the incomplete report. Here's some more info:

As indicated by the ls call above, the file size at the time of execution
is 100431872; I don't know size in allocated blocks though.

I was using the --continue option just in case there was a previous file
download started with wget, but this wasn't the case here, so I think you
can ignore that option.

The download probably got interrupted before -- I was using
--lowest-speed-limit, so that aria2 automatically stopped the download, and
I restarted it later.

I don't have the file in question anymore, but if you'd like me to answer
more questions, I can find out for you next time this comes up (it happens
occasionally).

-- Lea


Date: 2008-01-06 04:52
Sender: t-tujikawaProject AdminAccepting Donations


I guess you resume the download which is initially started by browser
because you use --continue option. I'm interested in the file size...it is
just 2MiB. I think I found the code where random number(-722,862,080) is
generated, but not yet figure out why it happened.
Could you provide more detail about the situation?
Did you encounter this error when you run aria2 at the first time for this
download? Or did you stop aria2 and rerun aria2 and then you find the bug?


Log in to comment.




Attached File ( 1 )

Filename Description Download
aria2c.log aria2 log file Download

Changes ( 3 )

Field Old Value Date By
status_id Open 2008-01-06 16:33 t-tujikawa
close_date - 2008-01-06 16:33 t-tujikawa
File Added 260908: aria2c.log 2008-01-05 15:38 wiemann