infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dekany (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (INFRA-16596) Random infinite 302 redirection loops involving old incubator domain
Date Tue, 19 Jun 2018 13:20:00 GMT

    [ https://issues.apache.org/jira/browse/INFRA-16596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16517058#comment-16517058
] 

Daniel Dekany edited comment on INFRA-16596 at 6/19/18 1:19 PM:
----------------------------------------------------------------

[~humbedooh] Are you sure this is related? It's the matched URL that contains ".incubator."
there, not the target URL. Further more the redirection in the .htaccess is 301, not 302.


was (Author: ddekany):
[~humbedooh] Are you sure this is related? It's matched URL that contains ".incubator." there,
not the target URL. Further more the redirection in the .htaccess is 301, not 302.

> Random infinite 302 redirection loops involving old incubator domain
> --------------------------------------------------------------------
>
>                 Key: INFRA-16596
>                 URL: https://issues.apache.org/jira/browse/INFRA-16596
>             Project: Infrastructure
>          Issue Type: Project
>          Components: DNS, Website
>            Reporter: Daniel Dekany
>            Assignee: Chris Thistlethwaite
>            Priority: Major
>              Labels: #bugbash-jun2018
>
> Sometimes (apparently randomly) HTTP requests (not HTTPS request) are 302 redirected
to the URL starting with https://freemarker.incubator.apache.org/, which we don't use anymore
(note the "incubator" in the domain). Also, that leads to an infinite redirection loop (the
Google crawler keeps complaining about this as well). Most of the times the exactly same URL
is redirected correctly. While we do redirections in https://github.com/apache/freemarker-site/blob/asf-site/.htaccess,
as that uses 301, not 302, certainly it's not involved in the wrong redirections.
> It's maybe a DNS problem. Note the IP in this wrong redirection:
> $ curl -v http://freemarker.apache.org/docs/ref_directive_switch.html
> *   Trying 40.79.78.1...
> * TCP_NODELAY set
> * Connected to freemarker.apache.org (40.79.78.1) port 80 (#0)
> > GET /docs/ref_directive_switch.html HTTP/1.1
> > Host: freemarker.apache.org
> > User-Agent: curl/7.58.0
> > Accept: */*
> >
> < HTTP/1.1 302 Found
> < Date: Wed, 30 May 2018 07:35:08 GMT
> < Server: Apache/2.4.18 (Ubuntu)
> < Location: https://freemarker.incubator.apache.org/docs/ref_directive_switch.html
> < Content-Length: 254
> < Content-Type: text/html; charset=iso-8859-1
> <
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>302 Found</title>
> </head><body>
> <h1>Found</h1>
> <p>The document has moved <a href="https://freemarker.incubator.apache.org/docs/ref_directive_switch.html">here</a>.</p>
> </body></html>
> * Connection #0 to host freemarker.apache.org left intact
> Seconds later I reissue the same command, this time it works correctly, and is served
from a different IP:
> $ curl -v http://freemarker.apache.org/docs/ref_directive_switch.html
> *   Trying 195.154.151.36...
> * TCP_NODELAY set
> * Connected to freemarker.apache.org (195.154.151.36) port 80 (#0)
> > GET /docs/ref_directive_switch.html HTTP/1.1
> > Host: freemarker.apache.org
> > User-Agent: curl/7.58.0
> > Accept: */*
> >
> < HTTP/1.1 301 Moved Permanently
> < Date: Wed, 30 May 2018 07:35:42 GMT
> < Server: Apache/2.4.18 (Ubuntu)
> < Location: https://freemarker.apache.org/docs/ref_directive_switch.html
> < Content-Length: 268
> < Content-Type: text/html; charset=iso-8859-1
> <
> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
> <html><head>
> <title>301 Moved Permanently</title>
> </head><body>
> <h1>Moved Permanently</h1>
> <p>The document has moved <a href="https://freemarker.apache.org/docs/ref_directive_switch.html">here</a>.</p>
> </body></html>
> * Connection #0 to host freemarker.apache.org left intact



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

Mime
View raw message