http://bugzilla.novell.com/show_bug.cgi?id=577790
http://bugzilla.novell.com/show_bug.cgi?id=577790#c7
Jon Nelson changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jnelson-suse@jamponi.net
--- Comment #7 from Jon Nelson 2010-08-02 21:19:53 UTC ---
I may have found one of the issues.
aria2c *never exits* after successfully downloading a file, under certain
conditions.
I took an strace of a zypper command that was never returning (even after 10's
of minutes) and constructed the following aria2c invocation:
/usr/bin/aria2c --log-level=debug --user-agent="ZYpp 7.7.5 (aria2 version
1.9.1) openSUSE-11.3-x86_64" "--summary-interval=1" "--follow-metalink=mem"
"--check-integrity=true" "--file-allocation=none"
"--server-stat-of=/var/cache/zypp/aria2.stats"
"--server-stat-if=/var/cache/zypp/aria2.stats" "--uri-selector=adaptive"
"--use-head=false" "--max-tries=5" "--max-concurrent-downloads=2"
"--header=X-ZYpp-AnonymousId: 1462ba10-d059-4720-9686-375f085c19c5"
"--header=X-ZYpp-DistributionFlavor: dvd" "--header=Pragma:"
"--connect-timeout=180" "--http-proxy=http://192.168.2.1:3128/"
"--dir=/tmp/AP_0x00000002/repodata"
"http://packman.inode.at/suse/11.3/repodata/repomd.xml"
When *I* invoke that, the download completes almost immediately, and then
aria2c just... sits there.
Like this:
+ /usr/bin/aria2c --log-level=debug '--user-agent=ZYpp 7.7.5 (aria2 version
1.9.1) openSUSE-11.3-x86_64' --summary-interval=1 --follow-metalink=mem
--check-integrity=true --file-allocation=none
--server-stat-of=/var/cache/zypp/aria2.stats
--server-stat-if=/var/cache/zypp/aria2.stats --uri-selector=adaptive
--use-head=false --max-tries=5 --max-concurrent-downloads=2
'--header=X-ZYpp-AnonymousId: 1462ba10-d059-4720-9686-375f085c19c5'
'--header=X-ZYpp-DistributionFlavor: dvd' --header=Pragma:
--connect-timeout=180 --http-proxy=http://192.168.2.1:3128/
--dir=/tmp/AP_0x00000002/repodata
http://packman.inode.at/suse/11.3/repodata/repomd.xml
2010-08-02 16:17:35.911093 WARN - You may encounter the certificate
verification error with HTTPS server. See --ca-certificate and
--check-certificate option.
2010-08-02 16:17:35.911337 NOTICE - ServerStat file /var/cache/zypp/aria2.stats
loaded successfully.
2010-08-02 16:17:36.251824 NOTICE - GID#1 - Download has already completed:
/tmp/AP_0x00000002/repodata/repomd.xml
2010-08-02 16:17:36.251975 NOTICE - Download complete:
/tmp/AP_0x00000002/repodata/repomd.xml
^^^^ Nothing ever again.
Control-c will cancel it.
This seems to happen only on machines which go through squid!
If this is not the ultimate cause of your bad behavior. it's still a major
issue with aria2c.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.