OT: erldoc isn't redirecting properly

Raimo Niskanen raimo+erlang-questions@REDACTED
Wed Oct 30 08:42:30 CET 2019


On Wed, Oct 30, 2019 at 08:04:55AM +0100, Marc Worrell wrote:
> It is a configuration error.
> That some browsers still work is only because they cached a previous correct redirect.

Spot on!

When transferring to the new server we forgot the old /erldoc redirect.

The newer http://erlang.org/doc/search works, and the caching in my browser
tricked me into believing that http://erlang.org/erldoc also still worked.

But it is fixed now.

Thank you first poster for pointing this out.
/ Raimo Niskanen


> 
> marc$ curl -i 'http://www.erlang.org/erldoc'
> HTTP/1.1 301 Moved Permanently
> Content-length: 0
> Location: https://www.erlang.org/erldoc
> 
> marc$ curl -i 'https://www.erlang.org/erldoc'
> HTTP/2 301 
> date: Wed, 30 Oct 2019 07:01:34 GMT
> content-type: text/html
> content-length: 162
> location: http://erlang.org/erldoc
> 
> marc$ curl -i http://erlang.org/erldoc
> HTTP/1.1 301 Moved Permanently
> Server: nginx
> Date: Wed, 30 Oct 2019 07:02:56 GMT
> Content-Type: text/html
> Content-Length: 178
> Connection: keep-alive
> Location: http://www.erlang.org/erldoc
> 
> 
> 
> > On 30 Oct 2019, at 07:47, Frans Schneider <fchschneider@REDACTED> wrote:
> > 
> > For me, Chrome Version 78.0.3904.70 does work but wget also fails here with the same error.
> > 
> > Frans
> > 
> > On 10/30/19 7:29 AM, Gleb Vinogradov wrote:
> >> Frans, it doesn't work in Chrome too.
> >> Even wget fails:
> >> wget http://www.erlang.org/erldoc
> >> --2019-10-30 06:28:21-- http://www.erlang.org/erldoc
> >> Resolving www.erlang.org <http://www.erlang.org> (www.erlang.org <http://www.erlang.org>)... 18.184.93.36, 35.157.223.92
> >> Connecting to www.erlang.org <http://www.erlang.org> (www.erlang.org <http://www.erlang.org>)|18.184.93.36|:80... connected.
> >> HTTP request sent, awaiting response... 301 Moved Permanently
> >> Location: https://www.erlang.org/erldoc [following]
> >> --2019-10-30 06:28:21-- https://www.erlang.org/erldoc
> >> Connecting to www.erlang.org <http://www.erlang.org> (www.erlang.org <http://www.erlang.org>)|18.184.93.36|:443... connected.
> >> HTTP request sent, awaiting response... 301 Moved Permanently
> >> Location: http://erlang.org/erldoc [following]
> >> ....
> >> --2019-10-30 06:28:22-- http://erlang.org/erldoc
> >> Connecting to erlang.org <http://erlang.org> (erlang.org <http://erlang.org>)|192.121.151.106|:80... connected.
> >> HTTP request sent, awaiting response... 301 Moved Permanently
> >> Location: http://www.erlang.org/erldoc [following]
> >> 20 redirections exceeded.
> >> ср, 30 окт. 2019 г. в 13:20, Schneider <fchschneider@REDACTED <mailto:fchschneider@REDACTED>>:
> >>    You’re probably using Firefox, which gives this problem after the
> >>    recent update. Chrome works fine.
> >>    Frans
> >>     > Op 30 okt. 2019 om 05:54 heeft rtp <rtp11@REDACTED
> >>    <mailto:rtp11@REDACTED>> het volgende geschreven:
> >>     >
> >>     > Hi,
> >>     >
> >>     > for some days now, I can not call the "Erlang/OTP Documentation"
> >>    online
> >>     > documentation with the URL
> >>     >
> >>     > http://erlang.org/erldoc
> >>     >
> >>     > The request ends with the message:
> >>     >
> >>     >    The page isn’t redirecting properly
> >>     >
> >>     >    An error occurred during a connection to www.erlang.org
> >>    <http://www.erlang.org>.
> >>     >
> >>     > Does anybody know anything about that?
> >>     >
> >>     > Thanks in advance
> >>     >
> >>     > Ralf
> >>     >
> >>     > PS: Clearing cookies does not help.
> 

-- 

/ Raimo Niskanen, Erlang/OTP, Ericsson AB



More information about the erlang-questions mailing list