infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (INFRA-16611) Download cgi not working on 40.79.78.1
Date Fri, 01 Jun 2018 20:39:00 GMT

     [ https://issues.apache.org/jira/browse/INFRA-16611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Seelmann updated INFRA-16611:
------------------------------------
    Description: 
The Directory project uses custom download scripts as described in [1]. We got a bug report
that download pages don't work.

After looking into it I found out that on host 40.79.78.1 the download cgi doesn't seem to
work. Instead the content of https://www.apache.org/dyn/closer.cgi is shown:
$ curl -s -H "Host: directory.apache.org" http://40.79.78.1/download.cgi | less


The other IPv4 host and the IPv6 host work:
$ curl -s -H "Host: directory.apache.org" http://195.154.151.36/download.cgi | grep test.zip
        
<p>http://mirror.netcologne.de/apache.org//test.zip</p>
$curl -s -H "Host: directory.apache.org" http://\[2001:bc8:2142:300::\]/download.cgi | grep
test.zip
<p>http://www-us.apache.org/dist//test.zip</p>


DNS resolution for directory.apache.org is like the following, so uses the problematic server
by default.
$ host directory.apache.org                                                             
directory.apache.org has address 40.79.78.1
directory.apache.org has address 195.154.151.36
directory.apache.org has IPv6 address 2001:bc8:2142:300::


HTTPd has luck as the working server is first:
$ host httpd.apache.org         
httpd.apache.org has address 195.154.151.36
httpd.apache.org has address 40.79.78.1
httpd.apache.org has IPv6 address 2001:bc8:2142:300::


[1] https://apache.org/dev/release-download-pages.html#custom



  was:
The Directory project uses custom download scripts as described in [1]. We got a bug report
that download pages don't work.

After looking into it I found out that on host 40.79.78.1 the download cgi doesn't seem to
work. Instead the content of https://www.apache.org/dyn/closer.cgi is shown:

{code}
curl -s -H "Host: directory.apache.org" http://40.79.78.1/download.cgi | less
{code}

The other IPv4 host and the IPv6 host work:
{code}
$ curl -s -H "Host: directory.apache.org" http://195.154.151.36/download.cgi | grep test.zip
        
<p>http://mirror.netcologne.de/apache.org//test.zip</p>
$curl -s -H "Host: directory.apache.org" http://\[2001:bc8:2142:300::\]/download.cgi | grep
test.zip
<p>http://www-us.apache.org/dist//test.zip</p>
$ curl -s -H "Host: directory.apache.org" http://40.79.78.1/download.cgi | grep test.zip
{code}

DNS resolution for directory.apache.org is like the following, so uses the problematic server
by default.
{code}
$ host directory.apache.org                                                             
directory.apache.org has address 40.79.78.1
directory.apache.org has address 195.154.151.36
directory.apache.org has IPv6 address 2001:bc8:2142:300::
{code}

HTTPd has luck as the working server is first:
{code}
$ host httpd.apache.org         
httpd.apache.org has address 195.154.151.36
httpd.apache.org has address 40.79.78.1
httpd.apache.org has IPv6 address 2001:bc8:2142:300::
{code}

[1] https://apache.org/dev/release-download-pages.html#custom




> Download cgi not working on 40.79.78.1
> --------------------------------------
>
>                 Key: INFRA-16611
>                 URL: https://issues.apache.org/jira/browse/INFRA-16611
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: CMS, Website
>            Reporter: Stefan Seelmann
>            Priority: Major
>
> The Directory project uses custom download scripts as described in [1]. We got a bug
report that download pages don't work.
> After looking into it I found out that on host 40.79.78.1 the download cgi doesn't seem
to work. Instead the content of https://www.apache.org/dyn/closer.cgi is shown:
> $ curl -s -H "Host: directory.apache.org" http://40.79.78.1/download.cgi | less
> The other IPv4 host and the IPv6 host work:
> $ curl -s -H "Host: directory.apache.org" http://195.154.151.36/download.cgi | grep test.zip
        
> <p>http://mirror.netcologne.de/apache.org//test.zip</p>
> $curl -s -H "Host: directory.apache.org" http://\[2001:bc8:2142:300::\]/download.cgi
| grep test.zip
> <p>http://www-us.apache.org/dist//test.zip</p>
> DNS resolution for directory.apache.org is like the following, so uses the problematic
server by default.
> $ host directory.apache.org                                                         
   
> directory.apache.org has address 40.79.78.1
> directory.apache.org has address 195.154.151.36
> directory.apache.org has IPv6 address 2001:bc8:2142:300::
> HTTPd has luck as the working server is first:
> $ host httpd.apache.org         
> httpd.apache.org has address 195.154.151.36
> httpd.apache.org has address 40.79.78.1
> httpd.apache.org has IPv6 address 2001:bc8:2142:300::
> [1] https://apache.org/dev/release-download-pages.html#custom



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message