Skip to content

dist-files redirected to blog (was: CDN misconfigured breaking npm < 2.13.2 and < 3.1.3) #124

Description

@garthk

http://nodejs.org/dist is redirecting to the Node blog, breaking native module installation on fresh instances with npm versions prior to 2.13.2 and 3.1.3, both of which bundle node-gyp version 2.0.2 which switches to https://nodejs.org/dist as the base URL.

Note the Location: header below:

$ curl -D - -OL http://nodejs.org/dist/v0.10.32/node-v0.10.32.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0HTTP/1.1 301 Moved Permanently
Date: Thu, 10 Sep 2015 05:47:07 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=df56fbaba4359107e377b536a4d7f50a81441864026; expires=Fri, 09-Sep-16 05:47:06 GMT; path=/; domain=.nodejs.org; HttpOnly
Location: https://nodejs.org/en/blog/
Server: cloudflare-nginx
CF-RAY: 2238d6170bf50b14-SYD
...

More detail in this gist.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions