Versions:
7.5.04.1.23.4.0Stack:
> node-gyp rebuild
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | linux | x64
gyp http GET https://nodejs.org/download/release/v6.10.1/node-v6.10.1-headers.tar.gz
gyp http 522 https://nodejs.org/download/release/v6.10.1/node-v6.10.1-headers.tar.gz
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: 522 response downloading https://nodejs.org/download/release/v6.10.1/node-v6.10.1-headers.tar.gz

Saved by NODEJS_ORG_MIRROR pointing out to https://cnpmjs.org/mirrors/node
Proposed solutions:
https://nodejs.org isn't available@richardlau Updated issue.
It would be nice to have a fall-back mirror link in case node is down again.
Can you try pointing NODEJS_ORG_MIRROR to https://cnpmjs.org/mirrors/node instead of https://cnpmjs.org/mirrors/node/latest-v6.x/node-v6.10.1-headers.tar.gz?
@thalesfsp change the NODEJS_ORG_MIRROR variable to just https://cnpmjs.org/mirrors/node
@richardlau @dimko Worked! I updated the issue again.
I am trying to deploy my Meteor app and cannot because of this issue. And I really need to deploy an update. I am not sure in Meteor if I can change NODEJS_ORG_MIRROR... any clue how?
Closing, should be working again.
Most helpful comment
It would be nice to have a fall-back mirror link in case node is down again.