From Matt_Domsch at Dell.com Tue Nov 17 21:37:42 2015 Content-Type: multipart/mixed; boundary="===============2525730420899130534==" MIME-Version: 1.0 From: Matt Domsch To: mirror-admin at lists.fedoraproject.org Subject: RE: Wrong mirror redirection Date: Wed, 12 Sep 2012 23:17:43 -0500 Message-ID: <1B9798A3396AB0429545ADFEA207931510EF21D17D@AUSX7MCPS302.AMER.DELL.COM> In-Reply-To: CAGvhtCD4DRZpLCA99ot8EeSjL-SdnJfBqceQVrJnU-NpR2O0xw@mail.gmail.com --===============2525730420899130534== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Interesting. This looks like a bug in MM, but only with files in the top-m= ost directory pub/epel/, not in subdirectories thereunder. I see the same = behavior with pub/fedora/linux/ top-level files. No root cause yet (it'll = be inside mirrorlist_server.py). Thanks for the report! -- Matt Domsch Technology Strategist Dell | Office of the CTO -----Original Message----- From: mirror-admin-bounces(a)fedoraproject.org [mailto:mirror-admin-bounces= (a)fedoraproject.org] On Behalf Of Dmitry Zamaruev Sent: Monday, September 10, 2012 5:21 AM To: mirror-admin(a)fedoraproject.org Subject: Wrong mirror redirection Hi, I'm using global download URL http://download.fedoraproject.org/ - it redir= ects me to nearest mirror. But this mirror (URL in Location header) does have an error - it have doub= le slash. While this is not an error for most web-servers (they will just compact it = to one slash) - this is a different Object for Amazon S3 system. So when I try to download anything from http://download.fedoraproject.org/ from inside Amazon EC2 instance - I will= receive 404 error, because Location headers suggest using "s3-mirror-us-ea= st-1.fedoraproject.org" server (Amazon S3) with double slash in URL. This renders URL http://download.fedoraproject.org/ unusable in Amazon EC2 instances. Example of transcript: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D START # curl -v -L http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-6 * About to connect() to download.fedoraproject.org port 80 (#0) * Trying 209.132.181.16... connected * Connected to download.fedoraproject.org (209.132.181.16) port 80 (#0) > GET /pub/epel/RPM-GPG-KEY-EPEL-6 HTTP/1.1 > User-Agent: curl/7.19.7 (i386-redhat-linux-gnu) libcurl/7.19.7 = > NSS/3.13.1.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2 > Host: download.fedoraproject.org > Accept: */* > < HTTP/1.1 302 FOUND < Date: Mon, 10 Sep 2012 10:05:16 GMT < Server: Apache/2.2.15 (Red Hat) < cache-control: no-cache < location: http://s3-mirror-us-east-1.fedoraproject.org/pub/epel//RPM-GPG-= KEY-EPEL-6 < AppTime: D=3D23268 < AppServer: app04.phx2.fedoraproject.org < Content-Length: 0 < Content-Typ= e: text/html; charset=3Dutf-8 < ProxyTime: D=3D27088 < ProxyServer: proxy01= .phx2.fedoraproject.org < * Connection #0 to host download.fedoraproject.org left intact * Issue another request to this URL: 'http://s3-mirror-us-east-1.fedoraproject.org/pub/epel//RPM-GPG-KEY-EPEL-6' * About to connect() to s3-mirror-us-east-1.fedoraproject.org port 80 (#1) * Trying 72.21.211.197... connected * Connected to s3-mirror-us-east-1.fedoraproject.org (72.21.211.197) port 8= 0 (#1) > GET /pub/epel//RPM-GPG-KEY-EPEL-6 HTTP/1.1 > User-Agent: curl/7.19.7 (i386-redhat-linux-gnu) libcurl/7.19.7 = > NSS/3.13.1.0 zlib/1.2.3 libidn/1.18 libssh2/1.2.2 > Host: s3-mirror-us-east-1.fedoraproject.org > Accept: */* > < HTTP/1.1 404 Not Found < x-amz-request-id: 1C6C7CDAFA210776 < x-amz-id-2: zPltQwGXM5IvoFQBBVaVrMOrTVm8BCqIQGtSqOXAz7bWlCYO+mPGywacvu36k= n6i < Content-Type: text/html; charset=3Dutf-8 < Content-Length: 351 < Date: Mo= n, 10 Sep 2012 10:05:16 GMT < Server: AmazonS3 < 404 Not Found

404 Not Found


* Connection #1 to host s3-mirror-us-east-1.fedoraproject.org left intact * Closing connection #0 * Closing connection #1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D END With best regards, Dmitry Zamaruev. _______________________________________________ Mirror-admin mailing list Mirror-admin(a)fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/mirror-admin --===============2525730420899130534==--