Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
nscm network debugging

nscm network debugging

HTTP(S)_PROXY env vars

$ set | grep -i HTTP

print nscm config

$ nscm config list
concurrency = 15
clientId = <redacted>
authProxy =
redirectUri =
authDomain =
registry = https://$
token = <redacted>

debug nscm command

$ DEBUG=* nscm whitelist list
nscm:tools { url: 'https://$',
nscm:tools   method: 'GET',

curl registry proxy

also try "http:"

$ curl -v https://$
< HTTP/1.1 401 Unauthorized
< npm-notice: login with your NodeSource Certified Modules email and password
< WWW-Authenticate: Bearer

wget registry proxy

also try "http:"

$ wget --save-headers -v -O - https://$
HTTP/1.1 200 OK
Date: Wed, 28 Mar 2018 12:52:22 GMT
Content-Type: application/json; charset=utf-8    

ping registry proxy

also try "http:"

$ curl -v https://$

This comment has been minimized.

Copy link

@alex-nodesource alex-nodesource commented Apr 12, 2018

Adding - formatted for Windows wget and should give us more info

wget -d --header="Content-Type: application/json" --body-data="{\"email\":\"\",\"password\":\"mypassword\"}" --method POST -q -O - -S

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.