[ https://issues.apache.org/jira/browse/INFRA-16596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16516384#comment-16516384 ] Chris Thistlethwaite commented on INFRA-16596: ---------------------------------------------- Updated curl output. christ@spitfire ~ $ 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: Mon, 18 Jun 2018 21:39:32 GMT < Server: Apache/2.4.18 (Ubuntu) < Location: https://freemarker.apache.org/docs/ref_directive_switch.html < Content-Length: 244 < Content-Type: text/html; charset=iso-8859-1 < 302 Found

Found

The document has moved here.

* Connection #0 to host freemarker.apache.org left intact christ@spitfire ~ $ curl -v http://freemarker.apache.org/docs/ref_directive_switch.html * Trying 95.216.24.32... * TCP_NODELAY set * Connected to freemarker.apache.org (95.216.24.32) 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: Mon, 18 Jun 2018 21:40:08 GMT < Server: Apache/2.4.18 (Ubuntu) < Location: https://freemarker.apache.org/docs/ref_directive_switch.html < Content-Length: 244 < Content-Type: text/html; charset=iso-8859-1 < 302 Found

Found

The document has moved here.

* Connection #0 to host freemarker.apache.org left intact christ@spitfire ~ $ curl -v http://freemarker.apache.org/docs/ref_directive_switch.html * Trying 95.216.24.32... * TCP_NODELAY set * Connected to freemarker.apache.org (95.216.24.32) 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: Mon, 18 Jun 2018 21:40:15 GMT < Server: Apache/2.4.18 (Ubuntu) < Location: https://freemarker.apache.org/docs/ref_directive_switch.html < Content-Length: 244 < Content-Type: text/html; charset=iso-8859-1 < 302 Found

Found

The document has moved here.

* Connection #0 to host freemarker.apache.org left intact > 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 > < > > > 302 Found > >

Found

>

The document has moved here.

> > * 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 > < > > > 301 Moved Permanently > >

Moved Permanently

>

The document has moved here.

> > * Connection #0 to host freemarker.apache.org left intact -- This message was sent by Atlassian JIRA (v7.6.3#76005)