Forwarding this because the problem is caused by curl failing.
Let me know if you agree this is the same bug and I will merge it (or
feel free to do so).
--
Eric Cooper e c c @ c m u . e d u
--- Begin Message ---
On Sat, Jul 12, 2008 at 08:33:03PM -0400, Eric Cooper wrote:
> > it's transparently being proxied through squid, and i'm wondering if
> > that's somehow messing with it, although until yesterday (the last time
> > it worked), it was working with the identical squid configuration. the
> > same mirrors are accessible if put in sources.list directly and using
> > the squid proxy.
>
> Please try the same "curl" commands that approx is using and let me
> know if there's any more information about why they are failing.
> They're in the log:
>
> > Jul 12 15:50:47 hobo approx: Command: /usr/bin/curl --fail --silent
> > --include "http://debian.osuosl.org/debian/dists/lenny/Release"
> > Jul 12 15:50:48 hobo approx: Command: /usr/bin/curl --fail --silent
> > --include
> > "http://debian.osuosl.org/debian/dists/lenny/main/binary-i386/Packages.gz"
> > Jul 12 15:50:48 hobo approx: Command: /usr/bin/curl --fail --silent
> > --include
> > "http://debian.osuosl.org/debian/dists/sid/main/binary-i386/Packages.gz"
>
> (Even if they succeed, please send me the output. Approx expects some
> headers as a result of the "--include" option; maybe the squid setup
> is breaking its assumptions.)
all silently fail. dropping the --silent option:
/usr/bin/curl --fail --include
"http://debian.osuosl.org/debian/dists/lenny/Release"
curl: (6) Could not resolve host: debian.osuosl.org (DNS server returned
answer with no data)
which sounds similar to debian bug #478864, possibly.
host debian.osuosl.org
debian.osuosl.org has address 140.211.166.134
debian.osuosl.org is an alias for ftp.osuosl.org.
debian.osuosl.org is an alias for ftp.osuosl.org.
so, i switched to ftp.osuosl.org, and it seems to work fine:
/usr/bin/curl --fail --include
"http://ftp.osuosl.org/debian/dists/lenny/Release"
HTTP/1.0 200 OK
Date: Mon, 14 Jul 2008 00:38:57 GMT
Server: Apache
Last-Modified: Sun, 13 Jul 2008 20:55:59 GMT
ETag: "7d40a7c-122d1-451ee007b75c0"
Accept-Ranges: bytes
Content-Length: 74449
Content-Type: text/plain
X-Cache: MISS from tentacle.fglan
X-Cache-Lookup: MISS from tentacle.fglan:3128
Via: 1.0 tentacle.fglan:3128 (squid/2.6.STABLE5)
Connection: close
Origin: Debian
Label: Debian
Suite: testing
Codename: lenny
Date: Sun, 13 Jul 2008 20:54:51 UTC
Architectures: alpha amd64 arm armel hppa i386 ia64 mips mipsel powerpc
s390 sparc
Components: main contrib non-free
Description: Debian x.y Testing distribution - Not Released
MD5Sum:
79fe3caaa475eace9b3a6a88319531ac 23080247 main/binary-alpha/Packages
d58ce0efbcb976641afbcab306a2bd55 6613328 main/binary-alpha/Packages.gz
....
so maybe there's something wrong with handling of CNAMEs ?
thanks!
live well,
vagrant
--- End Message ---