Hi, i'm trying to use aria2 on ubuntu server 10.04, wget and axel works, but i want to use aria2 cause for me is much better. This is what i'm doing:
alex88@km36623-03:~/downloads/temp$ aria2c -l aria_log http://www.google.it
*** Download Progress Summary as of Fri Sep 24 20:09:55 2010 ***
========================================================
[#1 SIZE:0B/0B CN:1 SPD:0Bs]
FILE: http://www.google.it
[#1 SIZE:0B/0B CN:1 SPD:0Bs]
FILE: http://www.google.it
[#1 SIZE:0B/0B CN:1 SPD:0Bs]
2010-09-24 20:11:25.202921 ERROR - CUID#6 - Download aborted. URI=http://www.google.it
Exception: [AbstractCommand.cc:184] Timeout.
Download Results:
gid|stat|avg speed |path/URI
===+====+===========+====================================
1| ERR| n/a|http://www.google.it
Status Legend:
(ERR):error occurred.
aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man page for details.
And this is the log:
2010-09-24 20:08:55.079498 INFO - <<--- --- --- ---
2010-09-24 20:08:55.079638 INFO - --- --- --- ---
2010-09-24 20:08:55.079655 INFO - --- --- --- --->>
2010-09-24 20:08:55.079669 INFO - aria2 1.8.0 i686-pc-linux-gnu
2010-09-24 20:08:55.079687 INFO - Logging started.
2010-09-24 20:08:55.163210 INFO - 142 certificate(s) were imported.
2010-09-24 20:08:55.163337 DEBUG - 1 RequestGroup(s) added.
2010-09-24 20:08:55.163378 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:08:55.163506 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:08:55.164944 INFO - CUID#6 - Resolving hostname www.google.it
2010-09-24 20:08:55.165218 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:08:56.164553 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:08:58.164484 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:00.165254 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:02.164771 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:03.165132 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:05.164603 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:07.164755 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:08.165011 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:09.165215 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:11.164613 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:12.164873 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:13.165194 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:15.165367 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:16.165602 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:17.166265 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:18.166518 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:19.166858 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:20.167103 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:22.166370 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:23.166638 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:24.166887 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:25.167131 DEBUG - CUID#6 - socket: read:0, write:0, hup:0, err:0
2010-09-24 20:09:25.167188 DEBUG - ServerStat: set status ERROR for www.google.it (http)
2010-09-24 20:09:25.167328 INFO - CUID#6 - Restarting the download. URI=http://www.google.it
Exception: [AbstractCommand.cc:207] URI=http://www.google.it
-> [AbstractCommand.cc:184] Timeout.
[Same thing some times]
2010-09-24 20:11:25.202852 DEBUG - ServerStat: set status ERROR for www.google.it (http)
2010-09-24 20:11:25.202869 DEBUG - CUID#6 - Aborting download
2010-09-24 20:11:25.202884 INFO - CUID#6 - 5 times attempted, but no success. Download aborted.
2010-09-24 20:11:25.202899 ERROR - CUID#6 - Download aborted. URI=http://www.google.it
Exception: [AbstractCommand.cc:184] Timeout.
2010-09-24 20:11:25.202941 DEBUG - CUID#6 - Not trying next request. No reserved/pooled request is remaining and total length is still unknown.
2010-09-24 20:11:25.202967 DEBUG - Failed to delete socket event:No such file or directory
2010-09-24 20:11:25.203021 DEBUG - 1 RequestGroup(s) deleted.
Any clue?
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
I've also installed version 1.10.3 instead of 1.8 that comes with ubuntu..same thing.
Last edit: Anonymous 2013-11-26
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
netstat says
tcp 0 1 95.169.188.197:57611 178.33.46.251:80 SYN_SENT 21698/aria2c
tcp 0 1 95.169.188.197:48173 94.23.14.102:80 SYN_SENT 21698/aria2c
tcp 0 1 95.169.188.197:48172 94.23.14.102:80 SYN_SENT 21698/aria2c
tcp 0 1 95.169.188.197:48175 94.23.14.102:80 SYN_SENT 21698/aria2c
tcp 0 1 95.169.188.197:48176 94.23.14.102:80 SYN_SENT 21698/aria2c
but why this not works and wget and axel yes?
The log says name resolution failed.
By default aria2 uses c-ares to resolve hostname. Could you try with --async-dns=false option?
Depending on the version of c-ares, it has a bug(or we may use it wrongly).
And also make sure that aria2c 1.10.3 is actually called. Did you installed 1.10.3 using my PPA? https://launchpad.net/~t-tujikawa/+archive/ppa
I fixed c-ares timeout issue in 1.8.2.